fixes = vs == in template

This commit is contained in:
Stefano Brentegani 2013-11-07 13:22:04 +01:00
parent aea6461df2
commit eb3becb9a9

View File

@ -140,7 +140,7 @@ $(document).ready(function() {
</div>
<hr style='clear: both;' />
<input type='submit' value='{% trans "Apply Filter" %}' />
{% if from_saved_query and saved_query.user = user %}
{% if from_saved_query and saved_query.user == user %}
<p>{% blocktrans with saved_query.title as query_name %}You are currently viewing saved query <em>{{ query_name }}</em>.{% endblocktrans %} <a href='{% url 'helpdesk_delete_query' saved_query.id %}'>{% trans "Delete Saved Query" %}</a></p>
{% endif %}
{% if from_saved_query %}