Add media_titleinfo template hook
This patch is based on work by cmichi to add a template hook near the media title section of the page. I rearranged the code in the original patch to match the current media.html page.
This commit is contained in:
parent
9924900d70
commit
2baad0435e
@ -75,6 +75,7 @@
|
|||||||
<h2 class="media_title">
|
<h2 class="media_title">
|
||||||
{{ media.title }}
|
{{ media.title }}
|
||||||
</h2>
|
</h2>
|
||||||
|
{% template_hook("media_titleinfo") %}
|
||||||
{% if request.user and
|
{% if request.user and
|
||||||
(media.actor == request.user.id or
|
(media.actor == request.user.id or
|
||||||
request.user.has_privilege('admin')) %}
|
request.user.has_privilege('admin')) %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user