diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-04-27 16:23:54 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-05-02 15:28:39 +0200 |
commit | 50cfd8108b8e318fd28564d2e9d30943ab12aac0 (patch) | |
tree | e5b5da24c787d2278e8c2771f00686311be11504 /src/Wallabag/UserBundle/Resources | |
parent | c37515f880bd05b86e3e848cc184018295ec1920 (diff) | |
download | wallabag-50cfd8108b8e318fd28564d2e9d30943ab12aac0.tar.gz wallabag-50cfd8108b8e318fd28564d2e9d30943ab12aac0.tar.zst wallabag-50cfd8108b8e318fd28564d2e9d30943ab12aac0.zip |
Add pagination
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'src/Wallabag/UserBundle/Resources')
-rw-r--r-- | src/Wallabag/UserBundle/Resources/views/Manage/index.html.twig | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Wallabag/UserBundle/Resources/views/Manage/index.html.twig b/src/Wallabag/UserBundle/Resources/views/Manage/index.html.twig index abc02852..7a76f157 100644 --- a/src/Wallabag/UserBundle/Resources/views/Manage/index.html.twig +++ b/src/Wallabag/UserBundle/Resources/views/Manage/index.html.twig | |||
@@ -7,6 +7,9 @@ | |||
7 | <div class="row"> | 7 | <div class="row"> |
8 | <div class="col s12"> | 8 | <div class="col s12"> |
9 | <div class="card-panel"> | 9 | <div class="card-panel"> |
10 | {% if users.getNbPages > 1 %} | ||
11 | {{ pagerfanta(users, 'twitter_bootstrap_translated', {'proximity': 1}) }} | ||
12 | {% endif %} | ||
10 | <div class="row"> | 13 | <div class="row"> |
11 | <div class="col s6"> | 14 | <div class="col s6"> |
12 | <p class="help">{{ 'user.description'|trans|raw }}</p> | 15 | <p class="help">{{ 'user.description'|trans|raw }}</p> |
@@ -22,7 +25,7 @@ | |||
22 | <tr> | 25 | <tr> |
23 | <th>{{ 'user.form.username_label'|trans }}</th> | 26 | <th>{{ 'user.form.username_label'|trans }}</th> |
24 | <th>{{ 'user.form.email_label'|trans }}</th> | 27 | <th>{{ 'user.form.email_label'|trans }}</th> |
25 | <th>{{ 'user.form2017-03-10 16:51:07.last_login_label'|trans }}</th> | 28 | <th>{{ 'user.form.last_login_label'|trans }}</th> |
26 | <th>{{ 'user.list.actions'|trans }}</th> | 29 | <th>{{ 'user.list.actions'|trans }}</th> |
27 | </tr> | 30 | </tr> |
28 | </thead> | 31 | </thead> |
@@ -43,6 +46,9 @@ | |||
43 | <p> | 46 | <p> |
44 | <a href="{{ path('user_new') }}" class="waves-effect waves-light btn">{{ 'user.list.create_new_one'|trans }}</a> | 47 | <a href="{{ path('user_new') }}" class="waves-effect waves-light btn">{{ 'user.list.create_new_one'|trans }}</a> |
45 | </p> | 48 | </p> |
49 | {% if users.getNbPages > 1 %} | ||
50 | {{ pagerfanta(users, 'twitter_bootstrap_translated', {'proximity': 1}) }} | ||
51 | {% endif %} | ||
46 | </div> | 52 | </div> |
47 | </div> | 53 | </div> |
48 | </div> | 54 | </div> |