Merge pull request #2570 from wallabag/add-creation-date

Added creation date on entries view
This commit is contained in:
Jeremy Benoist 2016-11-15 09:23:44 +01:00 committed by GitHub
commit d213219ec7
10 changed files with 43 additions and 33 deletions

View File

@ -413,7 +413,8 @@ footer a {
margin-bottom: 2em;
}
.estimatedTime .reading-time {
.reading-time,
.created-at {
color: #999;
font-style: italic;
font-weight: normal;

View File

@ -644,10 +644,9 @@ a.original {
margin: 0 auto;
}
#article aside .tools li {
article aside .tools li {
display: inline-flex;
vertical-align: middle;
margin: auto 10px;
}
#article aside .tools a {

View File

@ -462,7 +462,7 @@ flashes:
rss_token_updated: "Jeton RSS mis à jour"
entry:
notice:
entry_already_saved: "Article déjà sauvergardé le %date%"
entry_already_saved: "Article déjà sauvegardé le %date%"
entry_saved: "Article enregistré"
entry_saved_failed: "Article enregistré mais impossible de récupérer le contenu"
entry_updated: "Article mis à jour"

View File

@ -34,6 +34,11 @@
{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}
{% endif %}
</span>
<span class="tool created-at">
<i class="tool icon icon-calendar" title="{{ 'entry.view.created_at'|trans }}">
{{ entry.createdAt|date('Y-m-d') }}
</i>
</span>
</div>
<ul class="tools links">

View File

@ -14,7 +14,9 @@
<header class="w600p center mbm">
<h1 class="logo">
{% block logo %}
<a title="{{ 'menu.left.back_to_unread'|trans }}" href="{{ path('unread') }}">
<img width="100" height="100" src="{{ asset('bundles/wallabagcore/themes/_global/img/logo-w.png') }}" alt="wallabag logo" />
</a>
{% endblock %}
</h1>
</header>

View File

@ -1,7 +1,10 @@
<div class="card-action">
<span class="reading-time grey-text">
<i class="material-icons" title="{{ 'entry.list.reading_time'|trans }}">timer</i>
{{ entry.readingTime / app.user.config.readingSpeed|round }} min
{{ entry.readingTime / app.user.config.readingSpeed|round }} min&nbsp;
<i class="material-icons hide-on-med-and-down" title="{{ 'entry.view.created_at'|trans }}">today</i>
<span class="hide-on-med-and-down">&nbsp;{{ entry.createdAt|date('Y-m-d') }}</span>
</span>
<ul class="tools right">

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long