mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-19 12:43:23 +00:00
61d2765510
Signed-off-by: Skia <skia@libskia.so>
23 lines
639 B
Django/Jinja
23 lines
639 B
Django/Jinja
{% extends "core/base.jinja" %}
|
|
|
|
{% block title %}
|
|
{% trans user_name=profile.get_display_name() %}{{ user_name }}'s pictures{% endtrans %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% for a in albums %}
|
|
<div style="padding: 10px">
|
|
<h4>{{ a.name }}</h4>
|
|
<hr>
|
|
{% for picture in pictures[a.id] %}
|
|
<div class="picture">
|
|
<a href="{{ url("sas:picture", picture_id=picture.id) }}#pict">
|
|
<img src="{{ picture.get_download_thumb_url() }}" alt="{{ picture.get_display_name() }}" style="max-width: 100%"/>
|
|
</a>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endfor %}
|
|
{% endblock %}
|
|
|