diff options
author | Paulino Michelazzo <paulino@michelazzo.com.br> | 2016-10-18 22:48:23 +0200 |
---|---|---|
committer | Paulino Michelazzo <paulino@michelazzo.com.br> | 2016-10-18 22:48:23 +0200 |
commit | 99731f0bb1f6fd2815eeb9af504ce86df927657b (patch) | |
tree | b080efc608d2bbd52b77a4a0067402007f50c5a8 /src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig | |
parent | 3a3c6b866b52721431bed22426d9abfcd0d2dfe0 (diff) | |
parent | 7180aaed45dce62e40620a9e4b202526ebd6a3bb (diff) | |
download | wallabag-99731f0bb1f6fd2815eeb9af504ce86df927657b.tar.gz wallabag-99731f0bb1f6fd2815eeb9af504ce86df927657b.tar.zst wallabag-99731f0bb1f6fd2815eeb9af504ce86df927657b.zip |
Merge remote-tracking branch 'wallabag/master'
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig | 56 |
1 files changed, 13 insertions, 43 deletions
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 a8abe8d3..ff7ef73a 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 | |||
@@ -44,6 +44,18 @@ | |||
44 | </div> | 44 | </div> |
45 | </fieldset> | 45 | </fieldset> |
46 | 46 | ||
47 | <fieldset class="w500p inline"> | ||
48 | <div class="row"> | ||
49 | {{ form_label(form.config.pocket_consumer_key) }} | ||
50 | {{ form_errors(form.config.pocket_consumer_key) }} | ||
51 | {{ form_widget(form.config.pocket_consumer_key) }} | ||
52 | <p> | ||
53 | » | ||
54 | <a href="https://getpocket.com/developer/docs/authentication">https://getpocket.com/developer/docs/authentication</a> | ||
55 | </p> | ||
56 | </div> | ||
57 | </fieldset> | ||
58 | |||
47 | {{ form_rest(form.config) }} | 59 | {{ form_rest(form.config) }} |
48 | </form> | 60 | </form> |
49 | 61 | ||
@@ -179,6 +191,7 @@ | |||
179 | « {{ tagging_rule.rule }} » | 191 | « {{ tagging_rule.rule }} » |
180 | {{ 'config.form_rules.then_tag_as_label'|trans }} | 192 | {{ 'config.form_rules.then_tag_as_label'|trans }} |
181 | « {{ tagging_rule.tags|join(', ') }} » | 193 | « {{ tagging_rule.tags|join(', ') }} » |
194 | <a href="{{ path('edit_tagging_rule', {id: tagging_rule.id}) }}" title="{{ 'config.form_rules.edit_rule_label'|trans }}" class="tool mode_edit">✎</a> | ||
182 | <a href="{{ path('delete_tagging_rule', {id: tagging_rule.id}) }}" title="{{ 'config.form_rules.delete_rule_label'|trans }}" class="tool delete icon-trash icon"></a> | 195 | <a href="{{ path('delete_tagging_rule', {id: tagging_rule.id}) }}" title="{{ 'config.form_rules.delete_rule_label'|trans }}" class="tool delete icon-trash icon"></a> |
183 | </li> | 196 | </li> |
184 | {% endfor %} | 197 | {% endfor %} |
@@ -205,7 +218,6 @@ | |||
205 | 218 | ||
206 | {{ form_rest(form.new_tagging_rule) }} | 219 | {{ form_rest(form.new_tagging_rule) }} |
207 | </form> | 220 | </form> |
208 | |||
209 | <div class="row"> | 221 | <div class="row"> |
210 | <div class="input-field col s12"> | 222 | <div class="input-field col s12"> |
211 | <h3>{{ 'config.form_rules.faq.title'|trans }}</h3> | 223 | <h3>{{ 'config.form_rules.faq.title'|trans }}</h3> |
@@ -290,46 +302,4 @@ | |||
290 | </table> | 302 | </table> |
291 | </div> | 303 | </div> |
292 | </div> | 304 | </div> |
293 | |||
294 | {% if is_granted('ROLE_SUPER_ADMIN') %} | ||
295 | <h2>{{ 'config.tab_menu.new_user'|trans }}</h2> | ||
296 | |||
297 | {{ form_start(form.new_user) }} | ||
298 | {{ form_errors(form.new_user) }} | ||
299 | |||
300 | <fieldset class="w500p inline"> | ||
301 | <div class="row"> | ||
302 | {{ form_label(form.new_user.username) }} | ||
303 | {{ form_errors(form.new_user.username) }} | ||
304 | {{ form_widget(form.new_user.username) }} | ||
305 | </div> | ||
306 | </fieldset> | ||
307 | |||
308 | <fieldset class="w500p inline"> | ||
309 | <div class="row"> | ||
310 | {{ form_label(form.new_user.plainPassword.first) }} | ||
311 | {{ form_errors(form.new_user.plainPassword.first) }} | ||
312 | {{ form_widget(form.new_user.plainPassword.first) }} | ||
313 | </div> | ||
314 | </fieldset> | ||
315 | |||
316 | <fieldset class="w500p inline"> | ||
317 | <div class="row"> | ||
318 | {{ form_label(form.new_user.plainPassword.second) }} | ||
319 | {{ form_errors(form.new_user.plainPassword.second) }} | ||
320 | {{ form_widget(form.new_user.plainPassword.second) }} | ||
321 | </div> | ||
322 | </fieldset> | ||
323 | |||
324 | <fieldset class="w500p inline"> | ||
325 | <div class="row"> | ||
326 | {{ form_label(form.new_user.email) }} | ||
327 | {{ form_errors(form.new_user.email) }} | ||
328 | {{ form_widget(form.new_user.email) }} | ||
329 | </div> | ||
330 | </fieldset> | ||
331 | |||
332 | {{ form_rest(form.new_user) }} | ||
333 | {% endif %} | ||
334 | </form> | ||
335 | {% endblock %} | 305 | {% endblock %} |