|
|
@ -40,149 +40,149 @@ |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{# |
|
|
|
{# |
|
|
|
{% if route == 'page_stars' %} |
|
|
|
{% if route == 'page_stars' %} |
|
|
|
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white"> |
|
|
|
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/> |
|
|
|
<path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/> |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
{{ 'Stars'|trans }} |
|
|
|
{{ 'Stars'|trans }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<span class="float-right"> |
|
|
|
<span class="float-right"> |
|
|
|
{{ stars }} |
|
|
|
{{ stars }} |
|
|
|
|
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
|
|
|
|
{% else %} |
|
|
|
{% else %} |
|
|
|
<a class="padding-x-16-px padding-y-8-px display-block background-color-hover-night-light text-color-default" href="{{ path('page_stars') }}"> |
|
|
|
<a class="padding-x-16-px padding-y-8-px display-block background-color-hover-night-light text-color-default" href="{{ path('page_stars') }}"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/> |
|
|
|
<path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/> |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
{{ 'Stars'|trans }} |
|
|
|
{{ 'Stars'|trans }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<span class="float-right"> |
|
|
|
<span class="float-right"> |
|
|
|
{{ stars }} |
|
|
|
{{ stars }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% if route == 'page_views' %} |
|
|
|
{% if route == 'page_views' %} |
|
|
|
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white"> |
|
|
|
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z"/> |
|
|
|
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z"/> |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
{{ 'Views'|trans }} |
|
|
|
{{ 'Views'|trans }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<span class="float-right"> |
|
|
|
<span class="float-right"> |
|
|
|
{{ views }} |
|
|
|
{{ views }} |
|
|
|
|
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
|
|
|
|
{% else %} |
|
|
|
{% else %} |
|
|
|
<a class="padding-x-16-px padding-y-8-px display-block background-color-hover-night-light text-color-default" href="{{ path('page_views') }}"> |
|
|
|
<a class="padding-x-16-px padding-y-8-px display-block background-color-hover-night-light text-color-default" href="{{ path('page_views') }}"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z"/> |
|
|
|
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z"/> |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
{{ 'Views'|trans }} |
|
|
|
{{ 'Views'|trans }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<span class="float-right"> |
|
|
|
<span class="float-right"> |
|
|
|
{{ views }} |
|
|
|
{{ views }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% if route == 'page_comments' %} |
|
|
|
{% if route == 'page_comments' %} |
|
|
|
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white"> |
|
|
|
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<path d="M8 15c4.418 0 8-3.134 8-7s-3.582-7-8-7-8 3.134-8 7c0 1.76.743 3.37 1.97 4.6-.097 1.016-.417 2.13-.771 2.966-.079.186.074.394.273.362 2.256-.37 3.597-.938 4.18-1.234A9.06 9.06 0 0 0 8 15z"/> |
|
|
|
<path d="M8 15c4.418 0 8-3.134 8-7s-3.582-7-8-7-8 3.134-8 7c0 1.76.743 3.37 1.97 4.6-.097 1.016-.417 2.13-.771 2.966-.079.186.074.394.273.362 2.256-.37 3.597-.938 4.18-1.234A9.06 9.06 0 0 0 8 15z"/> |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
{{ 'Comments'|trans }} |
|
|
|
{{ 'Comments'|trans }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<span class="float-right"> |
|
|
|
<span class="float-right"> |
|
|
|
{{ comments }} |
|
|
|
{{ comments }} |
|
|
|
|
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
|
|
|
|
{% else %} |
|
|
|
{% else %} |
|
|
|
<a class="padding-x-16-px padding-y-8-px display-block background-color-hover-night-light text-color-default" href="{{ path('page_comments') }}"> |
|
|
|
<a class="padding-x-16-px padding-y-8-px display-block background-color-hover-night-light text-color-default" href="{{ path('page_comments') }}"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<path d="M8 15c4.418 0 8-3.134 8-7s-3.582-7-8-7-8 3.134-8 7c0 1.76.743 3.37 1.97 4.6-.097 1.016-.417 2.13-.771 2.966-.079.186.074.394.273.362 2.256-.37 3.597-.938 4.18-1.234A9.06 9.06 0 0 0 8 15z"/> |
|
|
|
<path d="M8 15c4.418 0 8-3.134 8-7s-3.582-7-8-7-8 3.134-8 7c0 1.76.743 3.37 1.97 4.6-.097 1.016-.417 2.13-.771 2.966-.079.186.074.394.273.362 2.256-.37 3.597-.938 4.18-1.234A9.06 9.06 0 0 0 8 15z"/> |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
{{ 'Comments'|trans }} |
|
|
|
{{ 'Comments'|trans }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<span class="float-right"> |
|
|
|
<span class="float-right"> |
|
|
|
{{ comments }} |
|
|
|
{{ comments }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% if route == 'page_downloads' %} |
|
|
|
{% if route == 'page_downloads' %} |
|
|
|
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white"> |
|
|
|
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v5.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V4.5z"/> |
|
|
|
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v5.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V4.5z"/> |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
{{ 'Downloads'|trans }} |
|
|
|
{{ 'Downloads'|trans }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<span class="float-right"> |
|
|
|
<span class="float-right"> |
|
|
|
{{ downloads }} |
|
|
|
{{ downloads }} |
|
|
|
|
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
|
|
|
|
{% else %} |
|
|
|
{% else %} |
|
|
|
<a class="padding-x-16-px padding-y-8-px display-block background-color-hover-night-light text-color-default" href="{{ path('page_downloads') }}"> |
|
|
|
<a class="padding-x-16-px padding-y-8-px display-block background-color-hover-night-light text-color-default" href="{{ path('page_downloads') }}"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v5.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V4.5z"/> |
|
|
|
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v5.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V4.5z"/> |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
{{ 'Downloads'|trans }} |
|
|
|
{{ 'Downloads'|trans }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<span class="float-right"> |
|
|
|
<span class="float-right"> |
|
|
|
{{ downloads }} |
|
|
|
{{ downloads }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% if route == 'page_editions' %} |
|
|
|
{% if route == 'page_editions' %} |
|
|
|
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white"> |
|
|
|
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<path d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM8.5 4.5V6H10a.5.5 0 0 1 0 1H8.5v1.5a.5.5 0 0 1-1 0V7H6a.5.5 0 0 1 0-1h1.5V4.5a.5.5 0 0 1 1 0zM6 10h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1 0-1z"/> |
|
|
|
<path d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM8.5 4.5V6H10a.5.5 0 0 1 0 1H8.5v1.5a.5.5 0 0 1-1 0V7H6a.5.5 0 0 1 0-1h1.5V4.5a.5.5 0 0 1 1 0zM6 10h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1 0-1z"/> |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
{{ 'Editions'|trans }} |
|
|
|
{{ 'Editions'|trans }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<span class="float-right"> |
|
|
|
<span class="float-right"> |
|
|
|
{{ editions }} |
|
|
|
{{ editions }} |
|
|
|
|
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
|
|
|
|
{% else %} |
|
|
|
{% else %} |
|
|
|
<a class="padding-x-16-px padding-y-8-px display-block background-color-hover-night-light text-color-default" href="{{ path('page_editions') }}"> |
|
|
|
<a class="padding-x-16-px padding-y-8-px display-block background-color-hover-night-light text-color-default" href="{{ path('page_editions') }}"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<path d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM8.5 4.5V6H10a.5.5 0 0 1 0 1H8.5v1.5a.5.5 0 0 1-1 0V7H6a.5.5 0 0 1 0-1h1.5V4.5a.5.5 0 0 1 1 0zM6 10h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1 0-1z"/> |
|
|
|
<path d="M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM8.5 4.5V6H10a.5.5 0 0 1 0 1H8.5v1.5a.5.5 0 0 1-1 0V7H6a.5.5 0 0 1 0-1h1.5V4.5a.5.5 0 0 1 1 0zM6 10h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1 0-1z"/> |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
{{ 'Editions'|trans }} |
|
|
|
{{ 'Editions'|trans }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<span class="float-right"> |
|
|
|
<span class="float-right"> |
|
|
|
{{ editions }} |
|
|
|
{{ editions }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
#} |
|
|
|
#} |
|
|
|
{% if route == 'page_submit' %} |
|
|
|
{% if route == 'page_submit' %} |
|
|
|
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white"> |
|
|
|
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3v-3z"/> |
|
|
|
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3v-3z"/> |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
{{ 'Submit'|trans }} |
|
|
|
{{ 'Submit'|trans }} |
|
|
|
|
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
|
|
|
|
{% else %} |
|
|
|
{% else %} |
|
|
|
<a class="padding-x-16-px padding-y-8-px display-block background-color-hover-night-light text-color-default" href="{{ path('page_submit') }}"> |
|
|
|
<a class="padding-x-16-px padding-y-8-px display-block background-color-hover-night-light text-color-default" href="{{ path('page_submit') }}"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16"> |
|
|
|
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3v-3z"/> |
|
|
|
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3v-3z"/> |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
<span class="margin-l-4-px"> |
|
|
|
{{ 'Submit'|trans }} |
|
|
|
{{ 'Submit'|trans }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |