From 5a899fe74f1358dd22ea48a83b6370bf461651d1 Mon Sep 17 00:00:00 2001 From: Ralf Teusner Date: Fri, 15 Jun 2018 14:47:03 +0200 Subject: [PATCH] highlight rfcs-not-to-answer --- app/assets/stylesheets/request-for-comments.css.scss | 4 ++++ app/views/request_for_comments/index.html.slim | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/request-for-comments.css.scss b/app/assets/stylesheets/request-for-comments.css.scss index bf7f0cb4..c08b92a9 100644 --- a/app/assets/stylesheets/request-for-comments.css.scss +++ b/app/assets/stylesheets/request-for-comments.css.scss @@ -260,3 +260,7 @@ input#subscribe { color: #008cba; margin-top: 10px; } + +.do-not-answer { + background-color: #990000; +} diff --git a/app/views/request_for_comments/index.html.slim b/app/views/request_for_comments/index.html.slim index 585d518c..be04110d 100644 --- a/app/views/request_for_comments/index.html.slim +++ b/app/views/request_for_comments/index.html.slim @@ -23,7 +23,7 @@ h1 = RequestForComment.model_name.human(count: 2) th = t('activerecord.attributes.request_for_comments.last_update') tbody - @request_for_comments.each do |request_for_comment| - tr data-id=request_for_comment.id + tr data-id=request_for_comment.id class=('do-not-answer' if ([:rfc_intervention_stale_rfc, :break_intervention_stale_rfc, :no_intervention_stale_rfc].include?(UserGroupSeparator.getInterventionGroup(current_user)) and current_user.internal_user?)) - if request_for_comment.solved? td span class="fa fa-check" aria-hidden="true"