]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
Assets work
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / baggy / Entry / entries.html.twig
index 9380e67afbf38ba548a6014bb00946be39898107..8d841b4cf477cb02c95c7f01c0b4e5e32471364b 100644 (file)
@@ -1,19 +1,7 @@
 {% extends "WallabagCoreBundle::layout.html.twig" %}
 
 {% block title %}
-    {% set currentRoute = app.request.attributes.get('_route') %}
-
-    {% if currentRoute == 'starred' %}
-        {{ 'entry.page_titles.starred'|trans }}
-    {% elseif currentRoute == 'archive' %}
-        {{ 'entry.page_titles.archived'|trans }}
-    {% elseif currentRoute == 'all' %}
-        {{ 'entry.page_titles.filtered'|trans }}
-    {% elseif currentRoute == 'tag_entries' %}
-        {{ 'entry.page_titles.filtered_tags'|trans }}
-    {% else %}
-        {{ 'entry.page_titles.unread'|trans }}
-    {% endif %}
+    {% include "@WallabagCore/themes/_title.html.twig" %}
 {% endblock %}
 
 {% block content %}
@@ -79,7 +67,7 @@
 
     <!-- Filter -->
     {% if form is not null %}
-    <aside id="filter-form" class="">
+    <div id="filters" class="">
         <form method="get" action="{{ path('all') }}">
             <h2>{{ 'entry.filters.title'|trans }}</h2>
             <a href="javascript: void(null);" id="filter-form-close" class="close-button--popup close-button">&times;</a>
                 <button class="btn waves-effect waves-light" type="submit" id="submit-filter" value="filter">{{ 'entry.filters.action.filter'|trans }}</button>
             </div>
         </form>
-    </aside>
+    </div>
     {% endif %}
 {% endblock %}