highlight rfcs-not-to-answer

This commit is contained in:
Ralf Teusner
2018-06-15 14:47:03 +02:00
parent b92bbec280
commit 5a899fe74f
2 changed files with 5 additions and 1 deletions

View File

@@ -260,3 +260,7 @@ input#subscribe {
color: #008cba; color: #008cba;
margin-top: 10px; margin-top: 10px;
} }
.do-not-answer {
background-color: #990000;
}

View File

@@ -23,7 +23,7 @@ h1 = RequestForComment.model_name.human(count: 2)
th = t('activerecord.attributes.request_for_comments.last_update') th = t('activerecord.attributes.request_for_comments.last_update')
tbody tbody
- @request_for_comments.each do |request_for_comment| - @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? - if request_for_comment.solved?
td td
span class="fa fa-check" aria-hidden="true" span class="fa fa-check" aria-hidden="true"