]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig
Added setting to have a personal reading time
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / material / Config / index.html.twig
index 1cae90a41d2c94f56a0f2e6270ea13c7177e8b75..31931ca2e728efc7cd1413f6b7cdf7a8f97fca52 100644 (file)
                                 </div>
                             </div>
 
+                            <div class="row">
+                                <div class="input-field col s12">
+                                    {{ form_label(form.config.reading_speed) }}
+                                    {{ form_errors(form.config.reading_speed) }}
+                                    {{ form_widget(form.config.reading_speed) }}
+                                </div>
+                            </div>
+
                             <div class="row">
                                 <div class="input-field col s12">
                                     {{ form_label(form.config.language) }}
                                 <h5>{% trans %}What does « tagging rules » mean?{% endtrans %}</h5>
                                 <p class="help">
                                     {% trans %}
-                                    They are rules used by Wallabag to automatically tag new entries.<br />
-                                    Each time a new entry is added, all the tagging rules will be used to add
-                                    the tags you configured, thus saving you the trouble to manually classify
-                                    your entries.
+                                    They are rules used by Wallabag to automatically tag new entries.<br />Each time a new entry is added, all the tagging rules will be used to add the tags you configured, thus saving you the trouble to manually classify your entries.
                                     {% endtrans %}
                                 </p>
 
                                 <h5>{% trans %}How do I use them?{% endtrans %}</h5>
                                 <p class="help">
                                     {% trans %}
-                                    Let assume you want to tag new entries as « <i>short reading</i> » when the reading time is inferior to 3 minutes.<br />
-                                    In that case, you should put « readingTime &lt;= 3 » in the <i>Rule</i> field and « <i>short reading</i> » in the <i>Tags</i>
-                                    field.<br />
-                                    Several tags can added simultaneously by separating them by a comma: « <i>short reading, must read</i> »<br />
-                                    Complex rules can be written by using predefined operators: if « <i>readingTime &gt;= 5 AND domainName = "github.com"</i> » then tag as « <i>long reading, github </i> »
+                                    Let assume you want to tag new entries as « <i>short reading</i> » when the reading time is inferior to 3 minutes.<br />In that case, you should put « readingTime &lt;= 3 » in the <i>Rule</i> field and « <i>short reading</i> » in the <i>Tags</i> field.<br />Several tags can added simultaneously by separating them by a comma: « <i>short reading, must read</i> »<br />Complex rules can be written by using predefined operators: if « <i>readingTime &gt;= 5 AND domainName = "github.com"</i> » then tag as « <i>long reading, github </i> »
                                     {% endtrans %}
                                 </p>
 
                                                 <td>{% trans %}Greater than…{% endtrans %}</td>
                                             </tr>
                                             <tr>
-                                                <td>isStared</td>
+                                                <td>isStarred</td>
                                                 <td>{% trans %}Whether the entry is starred or not{% endtrans %}</td>
                                                 <td>&gt;</td>
                                                 <td>{% trans %}Strictly greater than…{% endtrans %}</td>
                                                 <td>matches</td>
                                                 <td>
                                                     {% trans %}
-                                                    Tests that a <i>subject</i> is matches a <i>search</i> (case-insensitive).<br />
-                                                    Example: <code>title matches "football"</code>
+                                                    Tests that a <i>subject</i> is matches a <i>search</i> (case-insensitive).<br />Example: <code>title matches "football"</code>
                                                     {% endtrans %}
                                                 </td>
                                             </tr>