From: Jeremy Benoist Date: Tue, 25 Aug 2015 21:24:24 +0000 (+0200) Subject: Fix tests X-Git-Tag: 2.0.0-alpha.0~1^2~4 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=71e51207ce7a33fc773e8b95a21f11679b9a9f3a;p=github%2Fwallabag%2Fwallabag.git Fix tests --- diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.xml.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.xml.twig new file mode 100644 index 00000000..a39a8dc3 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.xml.twig @@ -0,0 +1,34 @@ + + + + wallabag — {{type}} feed + {{ url('unread') }} + {{ "now"|date('D, d M Y H:i:s') }} + wallabag + wallabag {{type}} elements + + {% for entry in entries %} + + + <![CDATA[{{ entry.title }}]]> + wallabag + {{ url('view', { 'id': entry.id }) }} + {{ url('view', { 'id': entry.id }) }} + {{ entry.createdAt|date('D, d M Y H:i:s') }} + + 0 -%} + {% trans %}estimated reading time :{% endtrans %} {{ entry.readingTime }} min + {%- else -%} + {% trans %}estimated reading time :{% endtrans %} < 1 min + {%- endif %} + + {{ entry.content|raw -}} + ]]> + + + + {% endfor %} + + + diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Mail/forgotPassword.txt.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Mail/forgotPassword.txt.twig new file mode 100644 index 00000000..631bcb88 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Mail/forgotPassword.txt.twig @@ -0,0 +1,6 @@ +Hello {{username}}! + +To reset your password - please visit {{confirmationUrl}} + +Regards, +Wallabag bot