diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-08-18 15:36:28 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-08-18 15:37:44 +0200 |
commit | e7732deb1f7614523905634e23a8717f9ca526bf (patch) | |
tree | d7cfaf64be13187c85c2febf930a99fb7aa79236 /src/Wallabag/CoreBundle/Resources/views/themes/baggy | |
parent | 4e1be104ab59201e3d482e4fd31b69b76697fb9e (diff) | |
download | wallabag-e7732deb1f7614523905634e23a8717f9ca526bf.tar.gz wallabag-e7732deb1f7614523905634e23a8717f9ca526bf.tar.zst wallabag-e7732deb1f7614523905634e23a8717f9ca526bf.zip |
Changed code indentation
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/baggy')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig index 12b0bc53..87b4424c 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig | |||
@@ -31,9 +31,13 @@ | |||
31 | </div> | 31 | </div> |
32 | <div class="link mdi-action-today"> {{ entry.createdAt|date('Y-m-d') }}</div> | 32 | <div class="link mdi-action-today"> {{ entry.createdAt|date('Y-m-d') }}</div> |
33 | {% set readingTime = entry.readingTime / app.user.config.readingSpeed %} | 33 | {% set readingTime = entry.readingTime / app.user.config.readingSpeed %} |
34 | <div class="link mdi-action-query-builder"> {% if readingTime > 0 %}{{ 'entry.list.reading_time_minutes_short'|trans({'%readingTime%': readingTime|round}) }} | 34 | <div class="link mdi-action-query-builder"> |
35 | {% else %}{{ 'entry.list.reading_time_less_one_minute_short'|trans|raw }} | 35 | {% if readingTime > 0 %} |
36 | {% endif %}</div> | 36 | {{ 'entry.list.reading_time_minutes_short'|trans({'%readingTime%': readingTime|round}) }} |
37 | {% else %} | ||
38 | {{ 'entry.list.reading_time_less_one_minute_short'|trans|raw }} | ||
39 | {% endif %} | ||
40 | </div> | ||
37 | {% set nbAnnotations = entry.annotations | length %} | 41 | {% set nbAnnotations = entry.annotations | length %} |
38 | <span class="tool link mdi-communication-comment"> {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}</span> | 42 | <span class="tool link mdi-communication-comment"> {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}</span> |
39 | <aside class="tags"> | 43 | <aside class="tags"> |