Move album dl link to bottom. Just feels better.

This commit is contained in:
voussoir 2017-05-13 15:25:31 -07:00
parent d18b34f2d9
commit 95f4d79805

View file

@ -86,19 +86,6 @@ p
{% set photos = album.photos() %} {% set photos = album.photos() %}
{% if photos or sub_albums %} {% if photos or sub_albums %}
<span>
Download:
{% if photos %}
<a href="/album/{{album.id}}.zip?recursive=no">
These files ({{album.sum_bytes(recurse=False, string=True)}})
</a>
{% endif %}
{% if sub_albums %}
<a href="/album/{{album.id}}.zip?recursive=yes">
Include children ({{album.sum_bytes(recurse=True, string=True)}})
</a>
{% endif %}
</span>
{% endif %} {% endif %}
{% if photos %} {% if photos %}
@ -114,6 +101,22 @@ p
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
<p>
{% if photos or sub_albums %}
Download:
{% if photos %}
<a href="/album/{{album.id}}.zip?recursive=no">
These files ({{album.sum_bytes(recurse=False, string=True)}})
</a>
{% endif %}
{% if photos and sub_albums %}&mdash;{% endif %}
{% if sub_albums %}
<a href="/album/{{album.id}}.zip?recursive=yes">
Include children ({{album.sum_bytes(recurse=True, string=True)}})
</a>
{% endif %}
{% endif %}
</p>
</div> </div>
</body> </body>