From 6405fbe9f27e75014b94e9acae4f15ff38c47d36 Mon Sep 17 00:00:00 2001 From: rr- Date: Mon, 9 May 2016 20:07:54 +0200 Subject: [PATCH] client/general: replace handlebars with underscore --- client/html/endless_pager_page.hbs | 2 +- client/html/file-dropper.hbs | 10 +- client/html/help-tos.hbs | 2 +- client/html/home.hbs | 4 +- client/html/login.hbs | 10 +- client/html/manual_pager_nav.hbs | 38 +++---- client/html/password_reset.hbs | 2 +- client/html/settings.hbs | 4 +- client/html/tag_list_header.hbs | 2 +- client/html/tag_list_page.hbs | 40 ++++---- client/html/top_nav.hbs | 16 +-- client/html/user.hbs | 16 +-- client/html/user_deletion.hbs | 2 +- client/html/user_edit.hbs | 32 +++--- client/html/user_list_header.hbs | 2 +- client/html/user_list_page.hbs | 14 +-- client/html/user_registration.hbs | 6 +- client/html/user_summary.hbs | 18 ++-- client/js/util/handlebars-helpers.js | 113 --------------------- client/js/util/views.js | 128 +++++++++++++++++++++++- client/js/views/file_dropper_control.js | 1 + client/js/views/login_view.js | 6 +- client/js/views/top_nav_view.js | 1 - client/package.json | 4 +- 24 files changed, 242 insertions(+), 231 deletions(-) delete mode 100644 client/js/util/handlebars-helpers.js diff --git a/client/html/endless_pager_page.hbs b/client/html/endless_pager_page.hbs index 713bc6d..91ba137 100644 --- a/client/html/endless_pager_page.hbs +++ b/client/html/endless_pager_page.hbs @@ -1,4 +1,4 @@
-

Page {{this.page}} of {{this.totalPages}}

+

Page <%= page %> of <%= totalPages %>

diff --git a/client/html/file-dropper.hbs b/client/html/file-dropper.hbs index 0c83ab8..bd0c977 100644 --- a/client/html/file-dropper.hbs +++ b/client/html/file-dropper.hbs @@ -1,11 +1,11 @@
- -
diff --git a/client/html/manual_pager_nav.hbs b/client/html/manual_pager_nav.hbs index 7586526..6090bed 100644 --- a/client/html/manual_pager_nav.hbs +++ b/client/html/manual_pager_nav.hbs @@ -1,36 +1,36 @@