2021-04-29 20:51:13 +01:00
|
|
|
{% extends 'stdgrid.html.twig' %}
|
2020-12-07 16:23:56 +00:00
|
|
|
|
|
|
|
{% block meta %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block title %}Welcome!{% endblock %}
|
|
|
|
|
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/network/public.css') }}"
|
|
|
|
media="screen and (min-width: 1300px)">
|
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/network/public_mid.css') }}"
|
|
|
|
media="screen and (max-width: 1300px)">
|
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/network/public_small.css') }}"
|
|
|
|
media="screen and (max-width: 750px)">
|
|
|
|
<link rel='stylesheet' type='text/css' href="{{ asset('assets/css/network/simple_stream.css') }}">
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block header %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block left %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<div class="content">
|
|
|
|
<div class="main">
|
|
|
|
<div class="simple-stream">
|
2020-12-07 16:56:08 +00:00
|
|
|
<nav class='main-nav'>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2021-04-30 02:51:03 +01:00
|
|
|
<a href="{{ path('main_public') }}"
|
|
|
|
class='hover-effect {{ active('main_public', 'main_all', "home_all") }}'><p>Reverse
|
|
|
|
Favourites</p></a>
|
2020-12-07 16:56:08 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2020-12-07 16:23:56 +00:00
|
|
|
<div class="notes-wrap">
|
|
|
|
<div class="timeline">
|
|
|
|
{% if notes is defined and notes is not empty %}
|
|
|
|
{% for note in notes %}
|
2021-04-30 02:51:03 +01:00
|
|
|
{% set id = note.getId() - 1 %}
|
|
|
|
{% include '/note/view.html.twig' with {'note': note, 'have_user': have_user} only %}
|
2020-12-07 16:23:56 +00:00
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
2021-04-30 02:51:03 +01:00
|
|
|
<h1>This is {{ user_nickname }}'s reverse favorites stream, but nobody
|
|
|
|
favored {{ user_nickname }}'s notes yet.</h1>
|
2020-12-07 16:23:56 +00:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock body %}
|
|
|
|
|
|
|
|
{% block javascripts %}{% endblock %}
|