Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't include question author in 'solution chosen' message. [bug 663462]

  • Loading branch information...
commit 37b95e4a13bf4473562aaf64aef4ec5e21df6ba7 1 parent 1b88eb4
@rlr rlr authored
View
2  apps/questions/templates/questions/answers.html
@@ -54,7 +54,7 @@
</div>
{% if question.solution %}
<div class="solution">
- <h2>{{ _('Solution Chosen by {user}')|f(user=question.creator) }}</h2>
+ <h2>{{ _('Solution Chosen') }}</h2>
<div class="mini-reply">
<div class="avatar">
<a href="{{ profile_url(question.solution.creator) }}">
View
2  apps/questions/templates/questions/includes/answer.html
@@ -38,7 +38,7 @@
{% endif %}
<div class="meta">
{% if question.solution == answer %}
- <span class="solved">{{ _('Solution chosen by {author}')|f(author=question.creator) }}</span>
+ <span class="solved">{{ _('Solution chosen') }}</span>
{% if user == question.creator or user.has_perm('questions.change_solution') %}
<form class="unsolve" action="{{ url('questions.unsolve', question_id=question.id, answer_id=answer.id) }}" method="post">
{{ csrf() }}
Please sign in to comment.
Something went wrong with that request. Please try again.