mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-30 03:24:55 +00:00
Fix '=='
This commit is contained in:
parent
e12d301331
commit
b9c3bc8382
2 changed files with 3 additions and 3 deletions
|
|
@ -31,8 +31,8 @@
|
|||
{{ redirect.link }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="type"><div class="status-tag {% if redirect.get_is_permanent_display = "permanent" %}{% trans "primary" %}{% endif %}">{{ redirect.get_is_permanent_display }}</div></td>
|
||||
<td class="type"><div class="status-tag {% if redirect.get_is_permanent_display == "permanent" %}{% trans "primary" %}{% endif %}">{{ redirect.get_is_permanent_display }}</div></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
{% else %}
|
||||
{% if query_string %}
|
||||
<p>{% blocktrans %}Sorry, no redirects match "<em>{{ query_string }}</em>"{% endblocktrans %}
|
||||
{% else %}
|
||||
{% else %}
|
||||
{% url 'wagtailredirects_add_redirect' as wagtailredirects_add_redirect_url %}
|
||||
<p>{% blocktrans %}No redirects have been created. Why not <a href="{{ wagtailredirects_add_redirect_url }}">add one</a>?{% endblocktrans %}</p>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue