Skip to content

Commit

Permalink
Merge pull request #2459 from rehandalal/spam-questions
Browse files Browse the repository at this point in the history
[bug 1148823] Add header on replies marked as spam
  • Loading branch information
rlr committed Apr 7, 2015
2 parents e4282ec + 74922b6 commit 4f3e86b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions kitsune/questions/templates/questions/includes/answer.html
Expand Up @@ -31,6 +31,8 @@
<h3 class="is-solution"{% if solver %} title="{{ _('Solution chosen by {user}')|f(user=solver.username) }}"{% endif %}>{{_('Chosen Solution')}}</h3>
{% elif answer.id and answer in helpful_replies %}
<h3 class="is-helpful">{{_('Helpful Reply')}}</h3>
{% elif answer.is_spam %}
<h3 class="is-spam">{{ _('Marked as spam') }}</h3>
{% elif answer.id and answer.creator == question.creator %}
<h3 class="is-owner">{{_('Question owner')}}</h3>
{% endif %}
Expand Down
3 changes: 2 additions & 1 deletion kitsune/sumo/static/less/questions.less
Expand Up @@ -159,7 +159,8 @@ h2 {
}
}

.is-helpful {
.is-helpful,
.is-spam {
color: @textOrange;
}

Expand Down

0 comments on commit 4f3e86b

Please sign in to comment.