mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-26 21:41:04 +00:00
31 lines
937 B
Text
31 lines
937 B
Text
{% extends "base" %}
|
|
{% import "macros" as macros %}
|
|
|
|
{% block title %}
|
|
{{ "Media details" | _ }}
|
|
{% 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>
|
|
<div>
|
|
<p>
|
|
{{ "Markdown code" | _ }}
|
|
<small>{{ "Copy it in your articles to insert this media." }}</small>
|
|
</p>
|
|
<code>{{ media.md }}</code>
|
|
</div>
|
|
<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 %}
|