diff --git a/app/views/users/_metas.html.slim b/app/views/users/_metas.html.slim index 6e7d6597c0c..86be86806ec 100644 --- a/app/views/users/_metas.html.slim +++ b/app/views/users/_metas.html.slim @@ -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 | 日報 diff --git a/app/views/users/_user_secret_attributes.html.slim b/app/views/users/_user_secret_attributes.html.slim index d35917a9f7e..0a85a06e172 100644 --- a/app/views/users/_user_secret_attributes.html.slim +++ b/app/views/users/_user_secret_attributes.html.slim @@ -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 | 経験