2021-11-26 13:05:23 +00:00
|
|
|
{% block feeds %}
|
2021-12-08 15:16:30 +00:00
|
|
|
<section class="section-widget" title="{{ 'Feed navigation.' | trans }}">
|
|
|
|
<details class="section-widget-title-details" open="open"
|
|
|
|
title="{{ 'Expand if you want to access more options.' | trans }}">
|
|
|
|
<summary class="section-title-summary">
|
|
|
|
<h2>{{ 'Feeds' | trans }}</h2>
|
|
|
|
{% if app.user %}
|
|
|
|
{# User custom feeds #}
|
|
|
|
<a class="edit-feed-link" href="{{ path('edit_feeds') }}">{{ icon('edit', 'icon icon-edit-feed') | raw }}</a>
|
|
|
|
{% endif %}
|
|
|
|
</summary>
|
|
|
|
|
2021-12-23 21:29:46 +00:00
|
|
|
<nav class='section-padding' tabindex="0" title="{{ 'Navigate through each feed.' | trans }}">
|
2021-12-08 15:16:30 +00:00
|
|
|
{% if not app.user %} {# Default feeds #}
|
|
|
|
<ul>
|
2021-09-23 14:46:04 +01:00
|
|
|
<li>
|
2021-12-23 17:12:26 +00:00
|
|
|
<a href="{{ path('feed_public') }}" class='hover-effect {{ active('feed_public') }}'>
|
2021-12-23 13:27:31 +00:00
|
|
|
{{ 'Feed' | trans }}
|
2021-12-07 15:33:02 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
2021-12-08 15:16:30 +00:00
|
|
|
</ul>
|
|
|
|
{% else %}
|
|
|
|
<ul>
|
|
|
|
{% for link in get_feeds(current_actor) %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ link.getUrl() }}" class='{{ active(link.getRoute()) }}'>{{ link.getTitle() }}</a>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
{% for link in handle_event('AddMainNavigationItem', {'nickname': current_actor.getNickname()}) %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ link['path'] }}" class='{{ active(link['path_id']) }}'>
|
|
|
|
{{ link['title'] }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
</nav>
|
|
|
|
</details>
|
2021-11-26 20:37:17 +00:00
|
|
|
</section>
|
2021-11-26 13:05:23 +00:00
|
|
|
{% endblock feeds %}
|
2021-09-23 14:46:04 +01:00
|
|
|
|
|
|
|
{% block profile_current_actor %}
|
|
|
|
<nav tabindex="0" class="profile-navigation" title="{{ 'Navigate through account related pages.' | trans }}">
|
|
|
|
|
|
|
|
<a title='{{ 'Access your account settings.' | trans }}' href="{{ path('settings') }}" class='{{ active('settings') }}'>
|
2021-12-23 17:12:26 +00:00
|
|
|
{% trans %}Settings{% endtrans %}
|
2021-09-23 14:46:04 +01:00
|
|
|
</a>
|
|
|
|
|
2021-10-10 17:41:30 +01:00
|
|
|
<a title='{{ 'Logout from your account.' | trans }}' href='{{ path('security_logout') }}'>
|
2021-12-23 17:12:26 +00:00
|
|
|
{% trans %}Logout{% endtrans %}
|
2021-09-23 14:46:04 +01:00
|
|
|
</a>
|
|
|
|
</nav>
|
|
|
|
{% endblock profile_current_actor %}
|
|
|
|
|
|
|
|
{% block profile_security %}
|
2021-12-23 21:29:46 +00:00
|
|
|
<section class='section-widget section-padding' title="{{ 'Your profile information.' | trans }}">
|
2021-09-23 14:46:04 +01:00
|
|
|
<h2 class="section-title">Account</h2>
|
|
|
|
<nav tabindex="0" class="profile-navigation" title="{{ 'Navigate through account related pages.' | trans }}">
|
|
|
|
|
2021-10-10 17:41:30 +01:00
|
|
|
<a title='{{ 'Login with your existing account.' | trans }}' href="{{ path('security_login') }}" class='hover-effect {{ active('login') }}'>
|
2021-12-23 17:12:26 +00:00
|
|
|
{% trans %}Login{% endtrans %}
|
2021-09-23 14:46:04 +01:00
|
|
|
</a>
|
|
|
|
|
2021-10-10 17:41:30 +01:00
|
|
|
<a title='{{ 'Register a new account!' | trans }}' href="{{ path('security_register') }}">
|
2021-12-23 17:12:26 +00:00
|
|
|
{% trans %}Register{% endtrans %}
|
2021-09-23 14:46:04 +01:00
|
|
|
</a>
|
|
|
|
|
|
|
|
</nav>
|
|
|
|
</section>
|
|
|
|
{% endblock profile_security %}
|
|
|
|
|
|
|
|
{% block footer %}
|
2021-12-26 21:46:54 +00:00
|
|
|
<nav class="footer">
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('doc_faq') }}" class='hover-effect {{ active('doc_faq') }}'>FAQ</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('doc_tos') }}" class='hover-effect {{ active('doc_tos') }}'>TOS</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('doc_privacy') }}" class='hover-effect {{ active('doc_privacy') }}'>Privacy</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('doc_source') }}" class='hover-effect {{ active('doc_source') }}'>Source</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('doc_version') }}" class='hover-effect {{ active('doc_version') }}'>Version</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2021-09-23 14:46:04 +01:00
|
|
|
{% endblock footer %}
|