- {{ flashMessage|trans }}
+ {{ flash_message|trans }}
{% endfor %}
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
index 8dc6fd507..256021b74 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig
@@ -19,20 +19,20 @@
{% endblock %}
{% block content %}
- {% set currentRoute = app.request.attributes.get('_route') %}
- {% if currentRoute == 'homepage' %}
- {% set currentRoute = 'unread' %}
+ {% set current_route = app.request.attributes.get('_route') %}
+ {% if current_route == 'homepage' %}
+ {% set current_route = 'unread' %}
{% endif %}
- {% set listMode = app.user.config.listMode %}
+ {% set list_mode = app.user.config.listMode %}
{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}
{% for entry in entries %}
-
-
+
+
- {% set readingTime = entry.readingTime / app.user.config.readingSpeed * 200 %}
+ {% set reading_time = entry.readingTime / app.user.config.readingSpeed * 200 %}
- {% if readingTime > 0 %}
- {{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': readingTime|round}) }}
+ {% if reading_time > 0 %}
+ {{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': reading_time|round}) }}
{% else %}
{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}
{% endif %}
@@ -64,20 +64,20 @@
- {% if (entry.previewPicture is null or listMode == 1) %}
+ {% if (entry.previewPicture is null or list_mode == 1) %}
- {{ entry.content|striptags|slice(0, 300) }}…
+ {{ entry.content|striptags|slice(0, 300) }}…
{% else %}
- {% for tag in entry.tags | slice(0, 3) %}
+ {% for tag in entry.tags|slice(0, 3) %}
- {{ tag.label }}
{% endfor %}
@@ -92,25 +92,25 @@
@@ -122,9 +122,9 @@
- {% if currentRoute != 'untagged' and nbEntriesUntagged != 0 %}
+ {% if current_route != 'untagged' and nbEntriesUntagged != 0 %}
{% endif %}
@@ -188,7 +188,7 @@
{{ form_label(form.domainName) }}
- {{ form_widget(form.domainName, {'type': 'text', 'attr' : {'placeholder': 'website.com'} }) }}
+ {{ form_widget(form.domainName, {'type': 'text', 'attr': {'placeholder': 'website.com'}}) }}
@@ -198,11 +198,11 @@
- {{ form_widget(form.createdAt.left_date, {'type': 'date', 'attr': {'class': 'datepicker', 'data-value': form.createdAt.left_date.vars.value} }) }}
+ {{ form_widget(form.createdAt.left_date, {'type': 'date', 'attr': {'class': 'datepicker', 'data-value': form.createdAt.left_date.vars.value}}) }}
- {{ form_widget(form.createdAt.right_date, {'type': 'date', 'attr': {'class': 'datepicker', 'data-value': form.createdAt.right_date.vars.value} }) }}
+ {{ form_widget(form.createdAt.right_date, {'type': 'date', 'attr': {'class': 'datepicker', 'data-value': form.createdAt.right_date.vars.value}}) }}
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 42f33f54e..182588b8c 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
@@ -5,39 +5,39 @@
{% block content %}
- {{ entry.title|e|default('entry.default_title'|trans)|raw }} ✎
+ {{ entry.title|e|default('entry.default_title'|trans)|raw }} ✎
@@ -62,15 +62,15 @@
{% endif %}
- {% set readingTime = entry.readingTime / app.user.config.readingSpeed * 200 %}
- {% if readingTime > 0 %}
- {{ 'entry.list.reading_time_minutes_short'|trans({'%readingTime%': readingTime|round}) }}
+ {% set reading_time = entry.readingTime / app.user.config.readingSpeed * 200 %}
+ {% if reading_time > 0 %}
+ {{ 'entry.list.reading_time_minutes_short'|trans({'%readingTime%': reading_time|round}) }}
{% else %}
{{ 'entry.list.reading_time_less_one_minute_short'|trans|raw }}
{% endif %}
-
comment {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}
+
comment {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations|length) }}
{% if entry.originUrl is not empty %}
launch
@@ -85,19 +85,19 @@
label_outline
{{ tag.label }}
-
+
✘
{% endfor %}
- {{ render(controller( "WallabagCoreBundle:Tag:addTagForm", { 'id': entry.id } )) }}
+ {{ render(controller("WallabagCoreBundle:Tag:addTagForm", {'id': entry.id})) }}
- {{ entry.content | raw }}
+ {{ entry.content|raw }}
@@ -105,10 +105,10 @@
{
"prefix": "",
"urls": {
- "create": "{{ path('annotations_post_annotation', { 'entry': entry.id }) }}",
- "update": "{{ path('annotations_put_annotation', { 'annotation': 'idAnnotation' }) }}",
- "destroy": "{{ path('annotations_delete_annotation', { 'annotation': 'idAnnotation' }) }}",
- "search": "{{ path('annotations_get_annotations', { 'entry': entry.id }) }}"
+ "create": "{{ path('annotations_post_annotation', {'entry': entry.id}) }}",
+ "update": "{{ path('annotations_put_annotation', {'annotation': 'idAnnotation'}) }}",
+ "destroy": "{{ path('annotations_delete_annotation', {'annotation': 'idAnnotation'}) }}",
+ "search": "{{ path('annotations_get_annotations', {'entry': entry.id}) }}"
},
"entryId": "{{ entry.id }}"
}
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/new.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/new.html.twig
index 03768a3d8..df397e4d3 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/new.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/new.html.twig
@@ -3,5 +3,5 @@
{% block title %}{{ 'entry.new.page_title'|trans }}{% endblock %}
{% block content %}
- {{ render(controller( "WallabagCoreBundle:Entry:addEntryForm" )) }}
+ {{ render(controller("WallabagCoreBundle:Entry:addEntryForm")) }}
{% endblock %}
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/new_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/new_form.html.twig
index 8c1290681..cea7c43f9 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/new_form.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/new_form.html.twig
@@ -1,4 +1,4 @@
-
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/search_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/search_form.html.twig
index 20821b6d3..a276de019 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/search_form.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/search_form.html.twig
@@ -1,4 +1,4 @@
-
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/IgnoreOriginInstanceRule/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/IgnoreOriginInstanceRule/index.html.twig
index 2de7cf0a4..bf1293c76 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/IgnoreOriginInstanceRule/index.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/IgnoreOriginInstanceRule/index.html.twig
@@ -23,7 +23,7 @@
{{ rule.rule }} |
- {{ 'ignore_origin_instance_rule.list.edit_action'|trans }}
+ {{ 'ignore_origin_instance_rule.list.edit_action'|trans }}
|
{% endfor %}
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Mail/forgotPassword.txt.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Mail/forgotPassword.txt.twig
index 631bcb887..00fd292d8 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Mail/forgotPassword.txt.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Mail/forgotPassword.txt.twig
@@ -1,6 +1,6 @@
-Hello {{username}}!
+Hello {{ username }}!
-To reset your password - please visit {{confirmationUrl}}
+To reset your password - please visit {{ confirmationUrl }}
Regards,
Wallabag bot
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/SiteCredential/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/SiteCredential/index.html.twig
index 324854add..15f215fc2 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/SiteCredential/index.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/SiteCredential/index.html.twig
@@ -23,7 +23,7 @@
{{ credential.host }} |
- {{ 'site_credential.list.edit_action'|trans }}
+ {{ 'site_credential.list.edit_action'|trans }}
|
{% endfor %}
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/new_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/new_form.html.twig
index 6e552560e..b8c1b4015 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/new_form.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/new_form.html.twig
@@ -1,4 +1,4 @@
-
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/tags.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/tags.html.twig
index aa17b8428..93598115e 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/tags.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/tags.html.twig
@@ -13,7 +13,7 @@
{{ tag.label }} ({{ tag.nbEntries }})
{% if renameForms is defined and renameForms[tag.id] is defined %}
-
@@ -34,7 +34,7 @@
{% if nbEntriesUntagged == 0 %}
{{ 'tag.list.no_untagged_entries'|trans }}
{% else %}
-
{{ 'tag.list.see_untagged_entries'|trans }} ({{nbEntriesUntagged}})
+
{{ 'tag.list.see_untagged_entries'|trans }} ({{ nbEntriesUntagged }})
{% endif %}
{% endblock %}
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig
index d0be1e5cc..8c2d8d1a8 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig
@@ -62,10 +62,10 @@