Add Markdown code to copy/paste for medias

This commit is contained in:
Bat
2018-09-03 11:16:07 +01:00
parent d9e40b29f8
commit a357dae45d
2 changed files with 21 additions and 8 deletions
+7
View File
@@ -16,6 +16,13 @@ Your medias
{{ 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>