2021-11-26 13:05:23 +00:00
|
|
|
{% block feeds %}
|
2021-11-26 20:37:17 +00:00
|
|
|
<section class="section-widget section-widget-padded">
|
|
|
|
<h2 class="section-title">{{ icon('logo', 'icon icon-logo') | raw }} {{ 'Feeds' | trans }}</h2>
|
2021-11-26 13:05:23 +00:00
|
|
|
<nav class='sec-nav' tabindex="0" title="{{ 'Navigate through each feed.' | trans }}">
|
2021-11-26 20:37:17 +00:00
|
|
|
{% if not app.user %} {# Default feeds #}
|
2021-09-23 14:46:04 +01:00
|
|
|
<ul>
|
2021-11-26 20:37:17 +00:00
|
|
|
<li>
|
|
|
|
<a href="{{ path('main_public') }}" class='{{ active('main_public') }}'>
|
|
|
|
Public
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>
|
|
|
|
Network
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
{% else %} {# User custom feeds #}
|
2021-11-26 23:31:53 +00:00
|
|
|
<a href="{{ path('edit_feeds') }}">{{ icon('edit', 'icon') | raw }}</a>
|
2021-11-26 20:37:17 +00:00
|
|
|
<ul>
|
2021-11-26 23:31:53 +00:00
|
|
|
{% for link in get_feeds(current_actor) %}
|
2021-09-23 14:46:04 +01:00
|
|
|
<li>
|
2021-11-26 23:31:53 +00:00
|
|
|
<a href="{{ link.getUrl() }}" class='{{ active(link.getRoute()) }}'>{{ link.getTitle() }}</a>
|
2021-09-23 14:46:04 +01:00
|
|
|
</li>
|
2021-11-26 20:37:17 +00:00
|
|
|
{% endfor %}
|
2021-09-23 14:46:04 +01:00
|
|
|
</ul>
|
2021-11-26 20:37:17 +00:00
|
|
|
{% endif %}
|
2021-09-23 14:46:04 +01:00
|
|
|
</nav>
|
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='{{ 'Replies to your notes.' | trans }}' href="{{ path('replies', {'nickname' : current_actor.getNickname()}) }}" class='{{ active("replies") }}'>
|
|
|
|
Replies
|
|
|
|
</a>
|
|
|
|
|
|
|
|
{% for tab in handle_event('AddProfileNavigationItem', {'nickname': current_actor.getNickname()}) %}
|
|
|
|
<a href="{{ tab['path'] }}" class='{{ active(tab['path_id']) }}'>
|
|
|
|
{{ tab['title'] }}
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
<a title='{{ 'Access your account settings.' | trans }}' href="{{ path('settings') }}" class='{{ active('settings') }}'>
|
|
|
|
Settings
|
|
|
|
</a>
|
|
|
|
|
2021-10-10 17:41:30 +01:00
|
|
|
<a title='{{ 'Logout from your account.' | trans }}' href='{{ path('security_logout') }}'>
|
2021-09-23 14:46:04 +01:00
|
|
|
Logout
|
|
|
|
</a>
|
|
|
|
</nav>
|
|
|
|
{% endblock profile_current_actor %}
|
|
|
|
|
|
|
|
{% block profile_security %}
|
|
|
|
<section class='section-widget section-widget-padded' title="{{ 'Your profile information.' | trans }}">
|
|
|
|
<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-09-23 14:46:04 +01:00
|
|
|
Login
|
|
|
|
</a>
|
|
|
|
|
2021-10-10 17:41:30 +01:00
|
|
|
<a title='{{ 'Register a new account!' | trans }}' href="{{ path('security_register') }}">
|
2021-09-23 14:46:04 +01:00
|
|
|
Register
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</nav>
|
|
|
|
</section>
|
|
|
|
{% endblock profile_security %}
|
|
|
|
|
|
|
|
{% block footer %}
|
|
|
|
<footer class="footer">
|
|
|
|
<nav>
|
|
|
|
<a href="{{ path('doc_faq') }}" class='hover-effect {{ active('doc_faq') }}'>
|
|
|
|
FAQ
|
|
|
|
</a>
|
|
|
|
<a href="{{ path('doc_tos') }}" class='hover-effect {{ active('doc_tos') }}'>
|
|
|
|
TOS
|
|
|
|
</a>
|
|
|
|
<a href="{{ path('doc_privacy') }}" class='hover-effect {{ active('doc_privacy') }}'>
|
|
|
|
Privacy
|
|
|
|
</a>
|
|
|
|
<a href="{{ path('doc_source') }}" class='hover-effect {{ active('doc_source') }}'>
|
|
|
|
Source
|
|
|
|
</a>
|
|
|
|
<a href="{{ path('doc_version') }}" class='hover-effect {{ active('doc_version') }}'>
|
|
|
|
Version
|
|
|
|
</a>
|
|
|
|
</nav>
|
|
|
|
</footer>
|
|
|
|
{% endblock footer %}
|