color feedback in mod dashboard
This commit is contained in:
@@ -22,6 +22,14 @@ div#c-moderator-dashboards {
|
|||||||
div#activity-search {
|
div#activity-search {
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tr.feedback-category-positive {
|
||||||
|
background: #DDFFDD !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr.feedback-category-negative {
|
||||||
|
background: #FFDDDD !important;
|
||||||
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
width: 26em;
|
width: 26em;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<% @dashboard.user_feedbacks.each do |record| %>
|
<% @dashboard.user_feedbacks.each do |record| %>
|
||||||
<tr class="user-record-score-<%= record.category %>">
|
<tr class="feedback-category-<%= record.category %>">
|
||||||
<td><%= link_to(record.user.name, user_path(record.user)) %></td>
|
<td><%= link_to(record.user.name, user_path(record.user)) %></td>
|
||||||
<td><%= format_text(record.body) %></td>
|
<td><%= format_text(record.body) %></td>
|
||||||
<td><%= time_ago_in_words_tagged(record.created_at) %></td>
|
<td><%= time_ago_in_words_tagged(record.created_at) %></td>
|
||||||
|
|||||||
Reference in New Issue
Block a user