2021-08-29 05:23:25 +09:00
|
|
|
<div class="panel panel-left">
|
2021-09-07 23:59:19 +09:00
|
|
|
<input type="checkbox" id="panel-left-toggle" aria-hidden="true" tabindex="-1">
|
|
|
|
<label id="panel-left-icon" for="panel-left-toggle" aria-hidden="true" tabindex="-1">{{ icon('menu', 'icon icon-left') | raw }}</label>
|
2021-07-24 03:28:11 +09:00
|
|
|
|
2021-09-07 23:59:19 +09:00
|
|
|
<a id="anchor-left-panel" class="anchor-hidden" title="{{ 'Press tab to access selected region!' | trans }}"></a>
|
2021-09-09 01:27:28 +09:00
|
|
|
<aside class="panel-content accessibility-target">
|
2021-08-31 05:01:32 +09:00
|
|
|
{% if app.user %}
|
2021-09-17 00:27:28 +09:00
|
|
|
<section class='section-widget section-widget-padded' title="{{ 'Your profile information.' | trans }}">
|
2021-09-09 04:09:38 +09:00
|
|
|
<a id="user" href="{{ path('settings') }}">
|
|
|
|
<img src='{{ user_avatar }}' class="icon icon-avatar" alt="{{ 'Your account\'s avatar.' | trans }}">
|
2021-09-17 00:27:28 +09:00
|
|
|
<div class="user-info">
|
2021-09-08 04:07:46 +09:00
|
|
|
<strong id="user-nickname" title="{{ 'Your account\' nickname.' | trans }}">{{ user_nickname }}</strong>
|
2021-07-27 01:14:24 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
<nav class="user-tags">
|
2021-07-24 03:28:11 +09:00
|
|
|
{% if user_tags %}
|
|
|
|
{% for tag in user_tags %}
|
2021-07-27 01:14:24 +09:00
|
|
|
<a href='#'> #{{ tag }}</a>
|
2021-07-24 03:28:11 +09:00
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
2021-07-27 01:14:24 +09:00
|
|
|
{{ '(No tags)' | trans }}
|
2021-07-24 03:28:11 +09:00
|
|
|
{% endif %}
|
2021-08-31 05:01:32 +09:00
|
|
|
</nav>
|
2021-07-27 01:14:24 +09:00
|
|
|
|
2021-09-09 04:09:38 +09:00
|
|
|
<section id="user-stats">
|
2021-08-31 05:01:32 +09:00
|
|
|
{% if user_followers %}<h2>{{ 'Followers' | trans }} {{ user_followers }}</h2> {% endif %}
|
|
|
|
{% if user_followed %}<h2>{{ 'Followed' | trans }} {{ user_followed }}</h2> {% endif %}
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</a>
|
2021-07-27 01:14:24 +09:00
|
|
|
|
2021-07-24 03:28:11 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
{# {% for extra in profile_extras %}
|
|
|
|
{% include '/'~ extra.name ~ '/view.html.twig' with {'vars': extra.vars} only %}
|
|
|
|
{% endfor %} #}
|
2021-09-09 05:33:35 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
<nav tabindex="0" class="profile-navigation" title="{{ 'Navigate through account related pages.' | trans }}">
|
|
|
|
<a title='{{ 'Your messages.' | trans }}' href='{{ path('settings') }}' class='{{ active("replies") }}'>
|
|
|
|
Messages
|
|
|
|
</a>
|
2021-09-09 04:09:38 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
<a title='{{ 'Replies to your notes.' | trans }}' href="{{ path('replies', {'nickname' : user_nickname}) }}" class='{{ active("replies") }}'>
|
|
|
|
Replies
|
|
|
|
</a>
|
2021-09-09 04:09:38 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
{% for link in handle_event('InsertLeftPanelLink', user_nickname) %}
|
|
|
|
{{ link | raw }}
|
|
|
|
{% endfor %}
|
2021-09-09 04:09:38 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
<a title='{{ 'Access your account settings.' | trans }}' href="{{ path('settings') }}" class='{{ active('settings') }}'>
|
|
|
|
Settings
|
|
|
|
</a>
|
2021-09-09 04:09:38 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
<a title='{{ 'Logout from your account.' | trans }}' href='{{ path('logout') }}'>
|
|
|
|
Logout
|
|
|
|
</a>
|
|
|
|
</nav>
|
2021-07-24 03:28:11 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
{% else %}
|
2021-09-09 04:09:38 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
<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-09-09 04:09:38 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
<a title='{{ 'Login with your existing account.' | trans }}' href="{{ path('login') }}" class='hover-effect {{ active('login') }}'>
|
|
|
|
Login
|
|
|
|
</a>
|
2021-09-09 04:09:38 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
<a title='{{ 'Register a new account!' | trans }}' href="{{ path('register') }}">
|
|
|
|
Register
|
|
|
|
</a>
|
2021-07-25 02:16:27 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
</nav>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
</section>
|
2021-07-25 02:16:27 +09:00
|
|
|
|
2021-09-17 00:27:28 +09:00
|
|
|
<section class="section-widget section-widget-padded">
|
|
|
|
<h2 class="section-title">Timeline</h2>
|
|
|
|
<nav class='sec-nav' tabindex="0" title="{{ 'Navigate through each timeline.' | trans }}">
|
2021-09-07 23:59:19 +09:00
|
|
|
<ul>
|
|
|
|
<li>
|
2021-09-09 04:09:38 +09:00
|
|
|
<a href="{{ path('main_public') }}" class='{{ active('main_public') }}'>
|
|
|
|
Public
|
|
|
|
</a>
|
2021-09-07 23:59:19 +09:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
{% if user_nickname is defined %}
|
2021-09-09 04:09:38 +09:00
|
|
|
<a href="{{ path("home_all", {'nickname' : user_nickname}) }}" class='{{ active("home_all") }}'>
|
|
|
|
Home
|
|
|
|
</a>
|
2021-09-07 23:59:19 +09:00
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
<li>
|
2021-09-09 04:09:38 +09:00
|
|
|
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>
|
|
|
|
Network
|
|
|
|
</a>
|
2021-09-07 23:59:19 +09:00
|
|
|
</li>
|
2021-07-25 02:16:27 +09:00
|
|
|
|
2021-09-07 23:59:19 +09:00
|
|
|
{% if main_nav_tabs is defined %}
|
|
|
|
{% for tab in main_nav_tabs %}
|
|
|
|
<li>
|
2021-09-09 04:09:38 +09:00
|
|
|
<a href="{{ path(tab['route']) }}" class='{{ active(tab['route']) }}'>
|
|
|
|
{{ tab['title'] }}
|
|
|
|
</a>
|
2021-09-07 23:59:19 +09:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
2021-08-31 05:01:32 +09:00
|
|
|
</nav>
|
2021-09-17 00:27:28 +09:00
|
|
|
</section>
|
2021-09-07 23:59:19 +09:00
|
|
|
|
|
|
|
<footer class="footer">
|
|
|
|
<nav>
|
2021-09-09 04:09:38 +09:00
|
|
|
<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>
|
2021-09-07 23:59:19 +09:00
|
|
|
</nav>
|
|
|
|
</footer>
|
2021-08-29 05:23:25 +09:00
|
|
|
</aside>
|
|
|
|
</div>
|