aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-10 19:24:00 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-14 13:57:31 +0100
commit1c282b1da0491cda620e03ab92c00341aa80e18b (patch)
tree67dda4c186ce2b714df7c8f3f5244ac084ebe0f7 /src
parentd3511bbde9743995e7ee7eec74b20b9b7b1b56ca (diff)
downloadwallabag-1c282b1da0491cda620e03ab92c00341aa80e18b.tar.gz
wallabag-1c282b1da0491cda620e03ab92c00341aa80e18b.tar.zst
wallabag-1c282b1da0491cda620e03ab92c00341aa80e18b.zip
Added creation date on entries view
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig5
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_actions.html.twig5
2 files changed, 9 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
index 0f1c010f..56a0faac 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
@@ -34,6 +34,11 @@
34 {{ 'entry.list.reading_time_less_one_minute'|trans|raw }} 34 {{ 'entry.list.reading_time_less_one_minute'|trans|raw }}
35 {% endif %} 35 {% endif %}
36 </span> 36 </span>
37 <span class="tool created-at">
38 <i class="tool icon icon-calendar" title="{{ 'entry.view.created_at'|trans }}">
39 {{ entry.createdAt|date('Y-m-d') }}
40 </i>
41 </span>
37 </div> 42 </div>
38 43
39 <ul class="tools links"> 44 <ul class="tools links">
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_actions.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_actions.html.twig
index 9f696d06..4a93fd8e 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_actions.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_actions.html.twig
@@ -1,7 +1,10 @@
1<div class="card-action"> 1<div class="card-action">
2 <span class="reading-time grey-text"> 2 <span class="reading-time grey-text">
3 <i class="material-icons" title="{{ 'entry.list.reading_time'|trans }}">timer</i> 3 <i class="material-icons" title="{{ 'entry.list.reading_time'|trans }}">timer</i>
4 {{ entry.readingTime / app.user.config.readingSpeed|round }} min 4 {{ entry.readingTime / app.user.config.readingSpeed|round }} min&nbsp;
5
6 <i class="material-icons" title="{{ 'entry.view.created_at'|trans }}">today</i>
7 &nbsp;{{ entry.createdAt|date('Y-m-d') }}
5 </span> 8 </span>
6 9
7 <ul class="tools right"> 10 <ul class="tools right">