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> </div>
<hr style='clear: both;' /> <hr style='clear: both;' />
<input type='submit' value='{% trans "Apply Filter" %}' /> <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> <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 %} {% endif %}
{% if from_saved_query %} {% if from_saved_query %}