diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-08 21:57:53 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-07-08 21:57:53 +0200 |
commit | c710f977b2659e866aba0e6a436485649834f2c4 (patch) | |
tree | 37551e28f23ea03306527e604a5f605082f3da43 | |
parent | 5425b0dd82863d548f49dcbd81636ed8dabd7866 (diff) | |
download | wallabag-c710f977b2659e866aba0e6a436485649834f2c4.tar.gz wallabag-c710f977b2659e866aba0e6a436485649834f2c4.tar.zst wallabag-c710f977b2659e866aba0e6a436485649834f2c4.zip |
new call for having domain name in entry view
-rwxr-xr-x | themes/baggy/view.twig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/baggy/view.twig b/themes/baggy/view.twig index af97407d..1244b742 100755 --- a/themes/baggy/view.twig +++ b/themes/baggy/view.twig | |||
@@ -2,12 +2,12 @@ | |||
2 | {% block menu %} | 2 | {% block menu %} |
3 | {% include '_menu.twig' %} | 3 | {% include '_menu.twig' %} |
4 | {% endblock %} | 4 | {% endblock %} |
5 | {% block title %}{{ entry.title|raw }} ({{ entry.url | e | getDomain }}){% endblock %} | 5 | {% block title %}{{ entry.title|raw }} ({{ entry.domain_name }}){% endblock %} |
6 | {% block content %} | 6 | {% block content %} |
7 | <div id="article_toolbar"> | 7 | <div id="article_toolbar"> |
8 | <ul class="links"> | 8 | <ul class="links"> |
9 | <li class="topPosF"><a href="#top" title="{% trans "Back to top" %}" class="tool top icon icon-arrow-up-thick"><span>{% trans "Back to top" %}</span></a></li> | 9 | <li class="topPosF"><a href="#top" title="{% trans "Back to top" %}" class="tool top icon icon-arrow-up-thick"><span>{% trans "Back to top" %}</span></a></li> |
10 | <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link icon icon-link"><span>{{ entry.url | e | getDomain }}</span></a></li> | 10 | <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link icon icon-link"><span>{{ entry.url }}</span></a></li> |
11 | <li><a title="{% trans "Mark as read" %}" class="tool icon icon-check {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="javascript: void(null);" id="markAsRead"><span>{% trans "Toggle mark as read" %}</span></a></li> | 11 | <li><a title="{% trans "Mark as read" %}" class="tool icon icon-check {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="javascript: void(null);" id="markAsRead"><span>{% trans "Toggle mark as read" %}</span></a></li> |
12 | <li><a title="{% trans "Favorite" %}" class="tool icon icon-star {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="javascript: void(null);" id="setFav"><span>{% trans "Toggle favorite" %}</span></a></li> | 12 | <li><a title="{% trans "Favorite" %}" class="tool icon icon-star {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="javascript: void(null);" id="setFav"><span>{% trans "Toggle favorite" %}</span></a></li> |
13 | <li><a title="{% trans "Delete" %}" class="tool delete icon icon-trash" href="./?action=delete&id={{ entry.id|e }}"><span>{% trans "Delete" %}</span></a></li> | 13 | <li><a title="{% trans "Delete" %}" class="tool delete icon icon-trash" href="./?action=delete&id={{ entry.id|e }}"><span>{% trans "Delete" %}</span></a></li> |