Tiny markup cleanup for album card.
This commit is contained in:
parent
3d81b5508c
commit
be976d584c
1 changed files with 7 additions and 8 deletions
|
@ -8,8 +8,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="album_card album_card_grid">
|
<div class="album_card album_card_grid">
|
||||||
<a class="album_card_thumbnail" href="/albums">
|
<a class="album_card_thumbnail" href="/albums"></a>
|
||||||
</a>
|
|
||||||
|
|
||||||
<div class="album_card_title">
|
<div class="album_card_title">
|
||||||
<a href="/albums">Albums</a>
|
<a href="/albums">Albums</a>
|
||||||
|
@ -26,11 +25,11 @@
|
||||||
<a href="/album/{{album.id}}{{viewparam}}">{{album.display_name}}</a>
|
<a href="/album/{{album.id}}{{viewparam}}">{{album.display_name}}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span class="album_card_metadata">
|
<div class="album_card_metadata">
|
||||||
<span class="album_card_child_count">{{album.get_children()|length}}</span> children
|
<span class="album_card_child_count">{{album.get_children()|length}}</span> children
|
||||||
{{-' '-}}|{{-' '-}}
|
{{-' | '-}}
|
||||||
<span class="album_card_photo_count">{{album.sum_photos(recurse=False)}}</span> photos
|
<span class="album_card_photo_count">{{album.sum_photos(recurse=False)}}</span> photos
|
||||||
</span>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="album_card album_card_grid" data-id="{{album.id}}">
|
<div class="album_card album_card_grid" data-id="{{album.id}}">
|
||||||
|
@ -40,11 +39,11 @@
|
||||||
<a href="/album/{{album.id}}{{viewparam}}">{{album.display_name}}</a>
|
<a href="/album/{{album.id}}{{viewparam}}">{{album.display_name}}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span class="album_card_metadata">
|
<div class="album_card_metadata">
|
||||||
<span class="album_card_child_count">{{album.get_children()|length}}</span> children
|
<span class="album_card_child_count">{{album.get_children()|length}}</span> children
|
||||||
{{-' '-}}|{{-' '-}}
|
{{-' | '-}}
|
||||||
<span class="album_card_photo_count">{{album.sum_photos(recurse=False)}}</span> photos
|
<span class="album_card_photo_count">{{album.sum_photos(recurse=False)}}</span> photos
|
||||||
</span>
|
</div>
|
||||||
|
|
||||||
<div class="album_card_tools">
|
<div class="album_card_tools">
|
||||||
{% if unlink_parent is not none %}
|
{% if unlink_parent is not none %}
|
||||||
|
|
Loading…
Reference in a new issue