aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-03-10 13:02:36 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-03-14 13:01:31 +0100
commitdb1d4b1e19f58d332bb7d984344cd249eea767b0 (patch)
treedb827fa71eb25923195deb1b8df43ffa7e053bd9 /src
parent889c1cf328d50c032797a007ede313b1ab1b026b (diff)
downloadwallabag-db1d4b1e19f58d332bb7d984344cd249eea767b0.tar.gz
wallabag-db1d4b1e19f58d332bb7d984344cd249eea767b0.tar.zst
wallabag-db1d4b1e19f58d332bb7d984344cd249eea767b0.zip
Fix default value and add baggy implementation
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/DependencyInjection/Configuration.php2
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig9
2 files changed, 10 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/DependencyInjection/Configuration.php b/src/Wallabag/CoreBundle/DependencyInjection/Configuration.php
index 5f3c889b..d1bb9820 100644
--- a/src/Wallabag/CoreBundle/DependencyInjection/Configuration.php
+++ b/src/Wallabag/CoreBundle/DependencyInjection/Configuration.php
@@ -30,7 +30,7 @@ class Configuration implements ConfigurationInterface
30 ->defaultValue(50) 30 ->defaultValue(50)
31 ->end() 31 ->end()
32 ->integerNode('reading_speed') 32 ->integerNode('reading_speed')
33 ->defaultValue(200) 33 ->defaultValue(1)
34 ->end() 34 ->end()
35 ->scalarNode('version') 35 ->scalarNode('version')
36 ->end() 36 ->end()
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig
index 6ac6decb..3ed96ab1 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig
@@ -26,6 +26,15 @@
26 26
27 <fieldset class="w500p inline"> 27 <fieldset class="w500p inline">
28 <div class="row"> 28 <div class="row">
29 {{ form_label(form.config.reading_speed) }}
30 {{ form_errors(form.config.reading_speed) }}
31 {{ form_widget(form.config.reading_speed) }}
32 </div>
33 </fieldset>
34
35
36 <fieldset class="w500p inline">
37 <div class="row">
29 {{ form_label(form.config.language) }} 38 {{ form_label(form.config.language) }}
30 {{ form_errors(form.config.language) }} 39 {{ form_errors(form.config.language) }}
31 {{ form_widget(form.config.language) }} 40 {{ form_widget(form.config.language) }}