You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

71 lines
2.7 KiB

{% extends 'components/sidebar_origin.html.twig' %}
{% block intro %}
<div class='phpdocumentor-sidebar__intro'>
{% if project.settings.custom['package.slogan'] %}
<p class='phpdocumentor-sidebar__slogan'>
{{- project.settings.custom['package.slogan'] -}}
</p>
{% endif %}
{% if project.settings.custom['package.version'] %}
<p class='phpdocumentor-sidebar__version'>
Version <strong>{{ project.settings.custom['package.version'] }}</strong>
{% if project.settings.custom['package.revision'] %}
({{ project.settings.custom['package.revision'] }})
{% endif %}
</p>
{% endif %}
</div>
{#
{% if project.settings.custom['package.description'] %}
<div class='phpdocumentor-sidebar__description'>
{{- project.settings.custom['package.description'] -}}
</div>
{% endif %}
#}
{% if
project.settings.custom['package.url_package']
or project.settings.custom['package.url_documentation']
or project.settings.custom['package.url_development']
or project.settings.custom['package.url_repository']
%}
<section class="phpdocumentor-sidebar__category">
<h2 class="phpdocumentor-sidebar__category-header">Links</h2>
{% if project.settings.custom['package.url_package'] %}
<h3 class="phpdocumentor-sidebar__root-package">
<a class="link-out" href="{{ project.settings.custom['package.url_package'] }}">Plugins.spip.net</a>
</h3>
{% endif %}
{% if project.settings.custom['package.url_documentation'] %}
<h3 class="phpdocumentor-sidebar__root-package">
<a class="link-out" href="{{ project.settings.custom['package.url_documentation'] }}">Documentation</a>
</h3>
{% endif %}
{% if project.settings.custom['package.url_repository'] %}
<h3 class="phpdocumentor-sidebar__root-package">
<a class="link-out" href="{{ project.settings.custom['package.url_repository'] }}">Forge</a>
</h3>
{% endif %}
{% if
project.settings.custom['package.url_development']
and (project.settings.custom['package.url_repository'] != project.settings.custom['package.url_development'])
%}
<h3 class="phpdocumentor-sidebar__root-package">
<a class="link-out" href="{{ project.settings.custom['package.url_development'] }}">Développement</a>
</h3>
{% endif %}
</section>
{% endif %}
{% endblock %}
{% block outro %}
<div class='phpdocumentor-sidebar__outro'>
<p class='phpdocumentor-sidebar__date'>Documentation générée le {{ 'now'|date('d m Y', "Europe/Paris") }} à {{ 'now'|date('H\\hi', "Europe/Paris") }}</p>
</div>
{% endblock %}