]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Update tag list template to allow renaming.
authorStéphane HULARD <s.hulard@chstudio.fr>
Wed, 24 Jan 2018 16:29:26 +0000 (17:29 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 25 Sep 2018 08:18:08 +0000 (10:18 +0200)
commit9b0aef9171389aa9cdc39e8434df0f912ee5bdae
treec05579d2af4f4120831691032e10005888bc8cd5
parentb846c1e4d03ec51ae6b740040d79d47d9bdec12c
Update tag list template to allow renaming.

* Add a form on each tag to handle rename action.
* Add JavaScript to handle action on the corresponding page inside the global index.js file.
* Add support for the 2 active themes : material / baggy

The form solution is cleaner than an Ajax one because it let the browser validate input data and make the POST easier without the need to handle JSON response.
app/Resources/static/themes/_global/index.js
src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/tags.html.twig
src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig