From 1c282b1da0491cda620e03ab92c00341aa80e18b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 10 Nov 2016 19:24:00 +0100 Subject: [PATCH] Added creation date on entries view --- .../static/themes/baggy/css/main.css | 3 +- .../static/themes/material/css/main.css | 2 +- .../themes/baggy/Entry/entries.html.twig | 5 ++++ .../material/Entry/_card_actions.html.twig | 5 +++- .../themes/baggy/css/style.min.css | 2 +- .../wallabagcore/themes/baggy/js/baggy.min.js | 28 +++++++++---------- .../themes/material/css/style.min.css | 2 +- .../themes/material/js/material.min.js | 22 +++++++-------- 8 files changed, 39 insertions(+), 30 deletions(-) diff --git a/app/Resources/static/themes/baggy/css/main.css b/app/Resources/static/themes/baggy/css/main.css index 4c3e4ce3c..4dfa8790c 100755 --- a/app/Resources/static/themes/baggy/css/main.css +++ b/app/Resources/static/themes/baggy/css/main.css @@ -413,7 +413,8 @@ footer a { margin-bottom: 2em; } -.estimatedTime .reading-time { +.reading-time, +.created-at { color: #999; font-style: italic; font-weight: normal; diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index 48a7420ac..86a39348d 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -644,7 +644,7 @@ a.original { margin: 0 auto; } -#article aside .tools li { +.tools li { display: inline-flex; vertical-align: middle; margin: auto 10px; 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 0f1c010f5..56a0faacf 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 @@ {{ 'entry.list.reading_time_less_one_minute'|trans|raw }} {% endif %} + + + {{ entry.createdAt|date('Y-m-d') }} + +