mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-14 04:00:57 +03:00
Replaced exclusive ifs by if-else
This commit is contained in:
parent
af9193f721
commit
f4532c3015
1 changed files with 1 additions and 2 deletions
|
@ -14,8 +14,7 @@
|
|||
<hr>
|
||||
{% if status != 404 %}
|
||||
<p>{{ translate('We encountered a %s %s error.') | format(status, reason) }}</p>
|
||||
{% endif %}
|
||||
{% if status == 404 %}
|
||||
{% else %}
|
||||
<p>{{ translate('This short URL doesn\'t seem to be valid.') }}</p>
|
||||
<p>{{ translate('Make sure you included all the characters, with no extra punctuation.') }}</p>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Reference in a new issue