1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-06 22:05:09 +01:00

Show error icon when a bookmark's http status is not 200 OK

This commit is contained in:
2016-07-19 21:15:37 +02:00
parent e10af67f79
commit ebc1e93f21

View File

@@ -18,6 +18,9 @@
<div class="card-content white-text">
<span class="card-title activator"><i class="material-icons right">more_vert</i></span>
<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 %}
<img src="{{ url_for('static', filename='favicons/' + bookmark.favicon) }}" />&nbsp;&nbsp;&nbsp;
{% endif %}