Merge pull request #187 from brente/master

fixes = vs == in template
This commit is contained in:
Ross Poulton 2013-11-10 14:21:04 -08:00
commit 0c621d1c05

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 %}