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.
 
 
 

51 lines
2.0 KiB

{% extends 'components/sidebar_origin.html.twig' %}
{% block intro %}
{% if project.settings.custom['package.slogan'] %}
<p class='phpdocumentor-sidebar__slogan'>
{{- project.settings.custom['package.slogan'] -}}
</p>
{% endif %}
{#
{% 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']
%}
<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 %}