Plume/templates/medias/details.html.tera

32 lines
937 B
Plaintext
Raw Normal View History

2018-09-02 22:55:42 +02:00
{% extends "base" %}
{% import "macros" as macros %}
{% block title %}
2018-09-03 14:28:20 +02:00
{{ "Media details" | _ }}
2018-09-02 22:55:42 +02:00
{% endblock title %}
{% block content %}
<h1>{{ "Media details" }}</h1>
<section>
2018-09-03 14:28:20 +02:00
<a href="/medias">{{ "Go back to the gallery" | _ }}</a>
2018-09-02 22:55:42 +02:00
</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>
2018-09-02 22:55:42 +02:00
<div>
2018-09-03 14:28:20 +02:00
<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>
2018-09-02 22:55:42 +02:00
</div>
</section>
{% endblock content %}