From 495aecfe7417918c45d8ea32b1ee8903018449cd Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sun, 1 Mar 2015 08:22:29 +0100 Subject: Cleanup & simplify theme --- app/Resources/views/default/home.twig | 82 ----------------------------------- 1 file changed, 82 deletions(-) delete mode 100755 app/Resources/views/default/home.twig (limited to 'app/Resources/views/default/home.twig') diff --git a/app/Resources/views/default/home.twig b/app/Resources/views/default/home.twig deleted file mode 100755 index b9000559..00000000 --- a/app/Resources/views/default/home.twig +++ /dev/null @@ -1,82 +0,0 @@ -{% extends "layout.twig" %} -{% block title %} -{% if view == 'fav' %} -{% trans "favoris" %} -{% elseif view == 'archive' %} -{% trans "archive" %} -{% else %} -{% trans "unread" %} -{% endif %} -{% endblock %} -{% block menu %} -{% include '_menu.twig' %} -{% endblock %} -{% block precontent %} - -{% include '_sorting.twig' %} -{% endblock %} -{% block content %} - - {% if includeImport %} - {% include '_import.twig' %} - {% endif %} - - {% if tag %} -

{% trans "Tag" %}: {{ tag.value }}

- {% endif %} - - {% if entries is empty %} -

{% trans "No articles found." %}

- {% else %} - {% block pager %} - {% if nb_results > 1 %} -
-
{{ nb_results }} {% trans "results" %}{% if searchterm is defined %}{% trans " found for « " %} {{ searchterm }} »{% endif %}
- {{ page_links | raw }} -
- {% elseif nb_results == 1 %} - {% if searchterm is defined %} -
-
{% trans "Only one result found for " %} « {{ searchterm }} »
-
- {% endif %} - {% endif %} - {% endblock %} - {% for entry in entries %} -
-

{{ entry.title|raw }}

- -

{{ entry.content|striptags|slice(0, 300) }}...

-
- {% endfor %} - - {{ block('pager') }} - {% if view == 'home' %}{% if nb_results > 1 %}

{% trans "Mark all the entries as read" %}

{% endif %}{% endif %} - {% if searchterm is defined %}{% trans "Tag these results as" %} {{ searchterm }}{% endif %}
- - {% if searchterm is defined %}{% trans "Delete results matching" %} {{ searchterm }}{% endif %}
- - {% if tag %}{% trans "Mark all articles from this tag as read" %}
{% endif %} - - {% if tag %} - {% if constant('EPUB') == 1 %}{% trans "Download as ePub3" %}{% endif %} - {% if constant('MOBI') == 1 %}{% trans "Download as Mobi" %}{% endif %} - {% if constant('PDF') == 1 %}{% trans "Download as PDF" %}{% endif %} - {% elseif searchterm is defined %} - {% if constant('EPUB') == 1 %}{% trans "Download as ePub3" %}{% endif %} - {% if constant('MOBI') == 1 %}{% trans "Download as Mobi" %}{% endif %} - {% if constant('PDF') == 1 %}{% trans "Download as PDF" %}{% endif %} - {% else %} - {% if constant('EPUB') == 1 %}{% trans "Download as ePub3" %}{% endif %} - {% if constant('MOBI') == 1 %}{% trans "Download as Mobi" %}{% endif %} - {% if constant('PDF') == 1 %}{% trans "Download as PDF" %}{% endif %} - {% endif %} - - {% endif %} -{% endblock %} -- cgit v1.2.3