2021-04-29 20:51:13 +01:00
|
|
|
{% extends 'stdgrid.html.twig' %}
|
2021-04-28 21:16:59 +01:00
|
|
|
|
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/network/public.css') }}"
|
|
|
|
media="screen and (min-width: 1300px)">
|
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/network/public_mid.css') }}"
|
|
|
|
media="screen and (max-width: 1300px)">
|
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/network/public_small.css') }}"
|
|
|
|
media="screen and (max-width: 750px)">
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<div class="content">
|
2021-04-28 22:25:35 +01:00
|
|
|
<div style="display: block">
|
|
|
|
<p> {{ title | escape }} </p>
|
|
|
|
<a href="{{download}}"> {{ 'Download link' | trans }}</a>
|
|
|
|
{% include '/attachments/view.html.twig' with {'attachment': attachment} only %}
|
|
|
|
</div>
|
2021-04-28 21:16:59 +01:00
|
|
|
</div>
|
|
|
|
{% endblock body %}
|
2021-04-28 22:25:35 +01:00
|
|
|
|
|
|
|
{% block right %}
|
|
|
|
<div id="related-notes">
|
|
|
|
{{ 'Notes where this attachment appears' | trans }}
|
|
|
|
{% for note in related_notes %}
|
|
|
|
{% include '/note/view.html.twig' with {'note' : note, 'hide_attachments': true} only %}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
<div id="related-tags">
|
|
|
|
{{ 'Tags for this attachment' | trans }}
|
|
|
|
<br/>
|
|
|
|
{% for tag in related_tags %}
|
|
|
|
<i>#{{tag['tag']}}</i>
|
|
|
|
{% else %}
|
|
|
|
{{ 'No tags' | trans }}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endblock right %}
|