diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-03-10 13:02:36 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-03-14 13:01:31 +0100 |
commit | db1d4b1e19f58d332bb7d984344cd249eea767b0 (patch) | |
tree | db827fa71eb25923195deb1b8df43ffa7e053bd9 /src | |
parent | 889c1cf328d50c032797a007ede313b1ab1b026b (diff) | |
download | wallabag-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.php | 2 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig | 9 |
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) }} |