From 1fba6d51cb3ceeb3ebe665c06765b9b666e71d31 Mon Sep 17 00:00:00 2001 From: ko Date: Fri, 26 Jan 2024 05:59:34 +0900 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E7=BF=92=E3=81=97=E3=81=A6=E3=81=84?= =?UTF-8?q?=E3=82=8B=E3=83=9E=E3=82=B7=E3=83=B3/OS=E3=82=92=E9=9D=9E?= =?UTF-8?q?=E5=85=AC=E9=96=8B=E3=81=8B=E3=82=89=E5=85=AC=E9=96=8B=E6=83=85?= =?UTF-8?q?=E5=A0=B1=E3=81=AB=E5=A4=89=E6=9B=B4=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_metas.html.slim | 8 ++++++++ app/views/users/_user_secret_attributes.html.slim | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) 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 | 経験