Added creation date on entries view

This commit is contained in:
Nicolas Lœuillet 2016-11-10 19:24:00 +01:00
parent d3511bbde9
commit 1c282b1da0
8 changed files with 39 additions and 30 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,7 +644,7 @@ a.original {
margin: 0 auto;
}
#article aside .tools li {
.tools li {
display: inline-flex;
vertical-align: middle;
margin: auto 10px;

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

@ -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" title="{{ 'entry.view.created_at'|trans }}">today</i>
&nbsp;{{ entry.createdAt|date('Y-m-d') }}
</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