2021-04-30 04:51:13 +09:00
|
|
|
{% extends 'stdgrid.html.twig' %}
|
2020-03-13 02:59:13 +09:00
|
|
|
|
2020-07-27 00:05:07 +09:00
|
|
|
{% block meta %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block title %}Welcome!{% endblock %}
|
|
|
|
|
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
2021-07-20 21:18:57 +09:00
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/network/public.css') }}">
|
2020-07-27 00:05:07 +09:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block header %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block left %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
2020-08-20 12:26:12 +09:00
|
|
|
<div class="content">
|
2021-07-20 03:19:02 +09:00
|
|
|
|
2021-07-20 21:18:57 +09:00
|
|
|
<div class="navigation">
|
2021-07-20 03:19:02 +09:00
|
|
|
<nav class='main-nav'>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('main_public') }}"
|
2021-07-22 03:21:48 +09:00
|
|
|
class='{{ active('main_public', 'main_all', "home_all") }}'>Timeline</a>
|
2021-07-20 03:19:02 +09:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2021-07-20 21:18:57 +09:00
|
|
|
|
2021-07-20 03:19:02 +09:00
|
|
|
<nav class='sec-nav'>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('main_public') }}"
|
2021-07-22 03:21:48 +09:00
|
|
|
class='{{ active('main_public') }}'>Public</a>
|
2021-07-20 03:19:02 +09:00
|
|
|
</li>
|
|
|
|
{% if user_nickname is defined %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ path("home_all", {'nickname' : user_nickname}) }}"
|
2021-07-22 03:21:48 +09:00
|
|
|
class='{{ active("home_all") }}'>Home</a>
|
2021-07-20 03:19:02 +09:00
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('main_all') }}" class='hover-effect {{ active('main_all') }}'>Network</a>
|
|
|
|
</li>
|
|
|
|
{% if main_nav_tabs is defined %}
|
|
|
|
{% for tab in main_nav_tabs %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ path(tab['route']) }}"
|
2021-07-22 03:21:48 +09:00
|
|
|
class='{{ active(tab['route']) }}'>{{ tab['title'] }}</a>
|
2021-07-20 03:19:02 +09:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2021-07-20 21:18:57 +09:00
|
|
|
</div>
|
2021-07-20 03:19:02 +09:00
|
|
|
|
2021-07-20 21:18:57 +09:00
|
|
|
<div class="timeline">
|
|
|
|
<div class="notes">
|
|
|
|
{% if notes is defined and notes is not empty %}
|
|
|
|
{% for conversation in notes %}
|
|
|
|
{% include '/note/view.html.twig' with {'note': conversation['note'], 'have_user': have_user, 'replies': conversation['replies']} only %}
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
<div id="empty-notes"><h1>{% trans %}No notes here.{% endtrans %}</h1></div>
|
|
|
|
{% endif %}
|
2021-07-20 03:19:02 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-07-20 21:18:57 +09:00
|
|
|
|
2020-08-20 12:26:12 +09:00
|
|
|
</div>
|
2020-07-29 01:08:08 +09:00
|
|
|
{% endblock body %}
|
2020-07-27 00:05:07 +09:00
|
|
|
|
|
|
|
{% block javascripts %}{% endblock %}
|