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