Skip to content

Commit

Permalink
Merge pull request #7263 from fjordllc/feature/change-os-information-…
Browse files Browse the repository at this point in the history
…from-private-to-public

学習しているマシン/OSを非公開から公開情報に変更した
  • Loading branch information
komagata authored Jan 29, 2024
2 parents dd48cb0 + 1fba6d5 commit 203906d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions app/views/users/_metas.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@
| コース
.user-metas__item-value
= link_to user.course.title, course_practices_path(user.course), target: '_blank', rel: 'noopener'
.user-metas__item
.user-metas__item-label
| マシンのOS
.user-metas__item-value
- if user.os
= t("activerecord.enums.user.os.#{user.os}")
- else
| 回答なし
.user-metas__item
.user-metas__item-label
| 日報
Expand Down
8 changes: 0 additions & 8 deletions app/views/users/_user_secret_attributes.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@
= t("activerecord.enums.user.job.#{user.job}")
- else
| 回答なし
.user-metas__item
.user-metas__item-label
| マシンのOS
.user-metas__item-value
- if user.os
= t("activerecord.enums.user.os.#{user.os}")
- else
| 回答なし
.user-metas__item
.user-metas__item-label
| 経験
Expand Down

0 comments on commit 203906d

Please sign in to comment.