diff options
author | Jay Sitter <jsitter@gmail.com> | 2014-11-02 13:37:44 -0500 |
---|---|---|
committer | Jay Sitter <jsitter@gmail.com> | 2014-11-02 13:37:44 -0500 |
commit | cc1f78a83d731fe0e325fbe4079aebec64f5f043 (patch) | |
tree | d61a26d04a61ec07a24f8737bd69d156c02c342f /themes/baggy/home.twig | |
parent | 063a2fadaa6bb797673a882b5ca5697edec0a3aa (diff) | |
download | wallabag-cc1f78a83d731fe0e325fbe4079aebec64f5f043.tar.gz wallabag-cc1f78a83d731fe0e325fbe4079aebec64f5f043.tar.zst wallabag-cc1f78a83d731fe0e325fbe4079aebec64f5f043.zip |
Many small UI changes/fixes to Baggy theme and English translation files. May need review.
Diffstat (limited to 'themes/baggy/home.twig')
-rwxr-xr-x | themes/baggy/home.twig | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig index 03de6b9b..dec848f2 100755 --- a/themes/baggy/home.twig +++ b/themes/baggy/home.twig | |||
@@ -41,9 +41,9 @@ | |||
41 | <div id="entry-{{ entry.id|e }}" class="entrie"> | 41 | <div id="entry-{{ entry.id|e }}" class="entrie"> |
42 | <h2><a href="index.php?view=view&id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2> | 42 | <h2><a href="index.php?view=view&id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2> |
43 | {% if entry.content| getReadingTime > 0 %} | 43 | {% if entry.content| getReadingTime > 0 %} |
44 | <div class="estimatedTime"><a target="_blank" title="{% trans "estimated reading time:" %} {{ entry.content| getReadingTime }} min" class="tool reading-time"><span>{% trans "estimated reading time :" %} {{ entry.content| getReadingTime }} min</span></div> | 44 | <div class="estimatedTime"><span class="tool reading-time">{% trans "estimated reading time :" %} {{ entry.content| getReadingTime }} min</span></div> |
45 | {% else %} | 45 | {% else %} |
46 | <div class="estimatedTime"><a target="_blank" title="{% trans "estimated reading time:" %} {{ entry.content| getReadingTime }} min" class="tool reading-time"><span>{% trans "estimated reading time :" %} <small class="inferieur"><</small> 1 min</span></div> | 46 | <div class="estimatedTime"><span class="tool reading-time">{% trans "estimated reading time :" %} <small class="inferieur"><</small> 1 min</span></div> |
47 | {% endif %} | 47 | {% endif %} |
48 | <ul class="tools links"> | 48 | <ul class="tools links"> |
49 | <li><a title="{% trans "Toggle mark as read" %}" class="tool icon-check icon {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="./?action=toggle_archive&id={{ entry.id|e }}"><span>{% trans "Toggle mark as read" %}</span></a></li> | 49 | <li><a title="{% trans "Toggle mark as read" %}" class="tool icon-check icon {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="./?action=toggle_archive&id={{ entry.id|e }}"><span>{% trans "Toggle mark as read" %}</span></a></li> |
@@ -57,14 +57,14 @@ | |||
57 | {% endfor %} | 57 | {% endfor %} |
58 | </div> | 58 | </div> |
59 | {{ block('pager') }} | 59 | {{ block('pager') }} |
60 | {% if view == 'home' %}{% if nb_results > 1 %}<a title="{% trans "Mark all the entries as read" %}" href="./?action=archive_all">{% trans "Mark all the entries as read" %}</a>{% endif %}{% endif %} | 60 | {% if view == 'home' %}{% if nb_results > 1 %}<p><a title="{% trans "Mark all the entries as read" %}" href="./?action=archive_all">{% trans "Mark all the entries as read" %}</a></p>{% endif %}{% endif %} |
61 | 61 | ||
62 | {% if searchterm is defined %}<a title="{% trans "Tag these results as" %} {{ searchterm }}" href="./?action=add_tag&search={{ searchterm }}"> | 62 | {% if searchterm is defined %}<p><a title="{% trans "Tag these results as" %} {{ searchterm }}" href="./?action=add_tag&search={{ searchterm }}"> |
63 | {% trans "Tag these results as" %} {{ searchterm }}</a>{% endif %} | 63 | {% trans "Tag these results as" %} {{ searchterm }}</p></a>{% endif %} |
64 | 64 | ||
65 | {% if tag %}<a title="{% trans "Download the articles from this tag in an epub" %}" href="./?epub&method=tag&value={{ tag.value }}">{% trans "Download the articles from this tag in an epub" %}</a> | 65 | {% if tag %}<p><a title="{% trans "Download the articles from this tag in an epub" %}" href="./?epub&method=tag&value={{ tag.value }}">{% trans "Download the articles from this tag in an epub" %}</p></a> |
66 | {% elseif search_term is defined %}<a title="{% trans "Download the articles from this search in an epub" %}" href="./?epub&method=search&value={{ search_term }}">{% trans "Download the articles from this search in an epub" %}</a> | 66 | {% elseif search_term is defined %}<p><a title="{% trans "Download the articles from this search in an epub" %}" href="./?epub&method=search&value={{ search_term }}">{% trans "Download the articles from this search in an epub" %}</p></a> |
67 | {% else %}<a title="{% trans "Download the articles from this category in an epub" %}" href="./?epub&method=category&value={{ view }}">{% trans "Download the articles from this category in an epub" %}</a>{% endif %} | 67 | {% else %}<p><a title="{% trans "Download the articles from this category in an epub" %}" href="./?epub&method=category&value={{ view }}">{% trans "Download the articles from this category in an epub" %}</a></p>{% endif %} |
68 | 68 | ||
69 | {% endif %} | 69 | {% endif %} |
70 | {% endblock %} | 70 | {% endblock %} |