mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-06 23:05:10 +01:00
Clear error message on connection error
This commit is contained in:
@@ -12,6 +12,8 @@
|
|||||||
<i class="material-icons">report_problem</i> URL not found (404), broken/outdated link?
|
<i class="material-icons">report_problem</i> URL not found (404), broken/outdated link?
|
||||||
{% elif bookmark.http_status == 302 %}
|
{% elif bookmark.http_status == 302 %}
|
||||||
<i class="material-icons">report_problem</i> HTTP status (302), moved temporarily. Use button for new target
|
<i class="material-icons">report_problem</i> HTTP status (302), moved temporarily. Use button for new target
|
||||||
|
{% elif bookmark.http_status == bookmark.HTTP_CONNECTIONERROR %}
|
||||||
|
<i class="material-icons">report_problem</i> Connection error, server might have been offline at the time of last edit
|
||||||
{% else %}
|
{% else %}
|
||||||
<i class="material-icons">report_problem</i> HTTP status {{ bookmark.http_status }}
|
<i class="material-icons">report_problem</i> HTTP status {{ bookmark.http_status }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user