kopia lustrzana https://github.com/wagtail/wagtail
Fix '=='
rodzic
e12d301331
commit
b9c3bc8382
|
@ -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 %}
|
||||
|
|
Ładowanie…
Reference in New Issue