]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Changed code indentation
authorNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 18 Aug 2016 13:36:28 +0000 (15:36 +0200)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 18 Aug 2016 13:37:44 +0000 (15:37 +0200)
src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig
src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig

index 12b0bc535e2112e2ef1f19a176053781f02d2ff4..87b4424c239856f1170c57183a8c50e739b10a88 100644 (file)
     </div>
         <div class="link mdi-action-today"> {{ entry.createdAt|date('Y-m-d') }}</div>
         {% set readingTime = entry.readingTime / app.user.config.readingSpeed %}
-        <div class="link mdi-action-query-builder"> {% if readingTime > 0 %}{{ 'entry.list.reading_time_minutes_short'|trans({'%readingTime%': readingTime|round}) }}
-            {% else %}{{ 'entry.list.reading_time_less_one_minute_short'|trans|raw }}
-            {% endif %}</div>
+        <div class="link mdi-action-query-builder">
+            {% if readingTime > 0 %}
+                {{ 'entry.list.reading_time_minutes_short'|trans({'%readingTime%': readingTime|round}) }}
+            {% else %}
+                {{ 'entry.list.reading_time_less_one_minute_short'|trans|raw }}
+            {% endif %}
+        </div>
         {% set nbAnnotations = entry.annotations | length %}
         <span class="tool link mdi-communication-comment"> {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}</span>
         <aside class="tags">
index e76407b075974dcaf415f061d8bb6b49f5f56fe5..94a5dc3152310441ec369eed91026f3f8f92dc9b 100644 (file)
         <aside>
             <span class="link mdi-action-today"> {{ entry.createdAt|date('Y-m-d') }}</span>
             {% set readingTime = entry.readingTime / app.user.config.readingSpeed %}
-            <span class="link mdi-action-query-builder"> {% if readingTime > 0 %}{{ 'entry.list.reading_time_minutes_short'|trans({'%readingTime%': readingTime|round}) }}
-            {% else %}{{ 'entry.list.reading_time_less_one_minute_short'|trans|raw }}
-            {% endif %}</span>
+            <span class="link mdi-action-query-builder">
+                {% if readingTime > 0 %}
+                    {{ 'entry.list.reading_time_minutes_short'|trans({'%readingTime%': readingTime|round}) }}
+                {% else %}
+                    {{ 'entry.list.reading_time_less_one_minute_short'|trans|raw }}
+                {% endif %}
+            </span>
             <a href="{{ entry.url|e }}" target="_blank" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|e }}" class="tool link mdi-content-link"> <span>{{ entry.domainName|removeWww }}</span></a>
             <span class="tool link mdi-communication-comment"> {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}</span>
             <div id="list">