mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-06 23:05:10 +01:00
Simplified card (no action), fix for no-title
This commit is contained in:
@@ -16,24 +16,24 @@
|
||||
#}
|
||||
<div class="card green darken-3">
|
||||
<div class="card-content white-text">
|
||||
<span class="card-title activator">
|
||||
<span class="card-title">
|
||||
<a href="{{ bookmark.url }}" title="{{ bookmark.url }}">
|
||||
{{ bookmark.title }}
|
||||
{% if bookmark.title %}
|
||||
{{ bookmark.title }}
|
||||
{% else %}
|
||||
[ no title ]
|
||||
{% endif %}
|
||||
</a>
|
||||
<i class="material-icons right">more_vert</i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="card-reveal green darken-3">
|
||||
<span class="card-title white-text">{{ bookmark.title }}<i class="material-icons right">close</i></span>
|
||||
<div class="card-action">
|
||||
<a href="{{ url_for('editbookmark', userkey=userkey, urlhash=bookmark.url_hash) }}">edit</a>
|
||||
</div>
|
||||
<span class="card-title white-text">{{ bookmark.title }}</span>
|
||||
</div>
|
||||
<div class="card-action">
|
||||
{% if bookmark.favicon %}
|
||||
<img src="{{ url_for('static', filename='favicons/' + bookmark.favicon) }}" />
|
||||
<img src="{{ url_for('static', filename='favicons/' + bookmark.favicon) }}" />
|
||||
{% endif %}
|
||||
<a href="{{ url_for('editbookmark', userkey=userkey, urlhash=bookmark.url_hash) }}">edit</a>
|
||||
<a href="{{ url_for('editbookmark', userkey=userkey, urlhash=bookmark.url_hash) }}">edit</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user