mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-07 01:25:11 +01:00
Show error icon when a bookmark's http status is not 200 OK
This commit is contained in:
@@ -18,6 +18,9 @@
|
|||||||
<div class="card-content white-text">
|
<div class="card-content white-text">
|
||||||
<span class="card-title activator"><i class="material-icons right">more_vert</i></span>
|
<span class="card-title activator"><i class="material-icons right">more_vert</i></span>
|
||||||
<a href="{{ bookmark.url }}" title="{{ bookmark.url }}" rel="noreferrer">
|
<a href="{{ bookmark.url }}" title="{{ bookmark.url }}" rel="noreferrer">
|
||||||
|
{% if bookmark.http_status != 200 %}
|
||||||
|
<i class="material-icons">report_problem</i>
|
||||||
|
{% endif %}
|
||||||
{% if bookmark.favicon %}
|
{% if bookmark.favicon %}
|
||||||
<img src="{{ url_for('static', filename='favicons/' + bookmark.favicon) }}" />
|
<img src="{{ url_for('static', filename='favicons/' + bookmark.favicon) }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user