2018-09-02 22:55:42 +02:00
|
|
|
{% extends "base" %}
|
|
|
|
{% import "macros" as macros %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
Your medias
|
|
|
|
{% endblock title %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h1>{{ "Media details" }}</h1>
|
|
|
|
<section>
|
|
|
|
<a href="/medias">Go back to the gallery</a>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<figure class="media">
|
|
|
|
{{ media.html | safe }}
|
|
|
|
<figcaption>{{ media.alt_text }}</figcaption>
|
|
|
|
</figure>
|
2018-09-03 12:16:07 +02:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
{{ "Markdown code" | _ }}
|
|
|
|
<small>{{ "Copy it in your articles to insert this media." }}</small>
|
|
|
|
</p>
|
|
|
|
<code>{{ media.md }}</code>
|
|
|
|
</div>
|
2018-09-02 22:55:42 +02:00
|
|
|
<div>
|
|
|
|
<a href="/medias/{{ media.id }}/avatar" class="button inline-block">Use as avatar</a>
|
|
|
|
<a href="/medias/{{ media.id }}/delete" class="button inline-block">Delete</a>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
{% endblock content %}
|