Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ユーザー > 質問一覧 に質問がない場合の表示を変更 #3004

Merged
merged 3 commits into from
Jul 21, 2021
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions app/views/users/questions/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,12 @@ header.page-header

.page-body
.container
.thread-list.a-card
= render partial: 'questions/question', collection: @questions, as: :question
- if @questions.present?
.thread-list.a-card
= render partial: 'questions/question', collection: @questions, as: :question
- else
.o-empty-message
.o-empty-message__icon
i.far.fa-sad-tear
p.o-empty-message__text
| 質問はまだありません。
Copy link
Contributor

@fugakkbn fugakkbn Jul 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

細かいですが、|の前にインデント入れた方が良いと思いました!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

細かいところまで、チェック頂きとても助かります🙇‍♂️
|の前にインデント入れました~