From 052a7ca684a99845f91312d06e3768e0369832f6 Mon Sep 17 00:00:00 2001 From: rr- Date: Sat, 21 May 2016 09:45:43 +0200 Subject: [PATCH] client/general: use 'ctx' variable for templates --- client/html/endless_pager_page.tpl | 2 +- client/html/file_dropper.tpl | 6 +++--- client/html/help_tos.tpl | 2 +- client/html/home.tpl | 4 ++-- client/html/index.htm | 2 +- client/html/login.tpl | 8 ++++---- client/html/manual_pager_nav.tpl | 10 +++++----- client/html/password_reset.tpl | 2 +- client/html/settings.tpl | 4 ++-- client/html/tag.tpl | 12 ++++++------ client/html/tag_categories.tpl | 20 ++++++++++---------- client/html/tag_delete.tpl | 6 +++--- client/html/tag_merge.tpl | 8 ++++---- client/html/tag_summary.tpl | 10 +++++----- client/html/tags_header.tpl | 4 ++-- client/html/tags_page.tpl | 18 +++++++++--------- client/html/top_nav.tpl | 4 ++-- client/html/user.tpl | 12 ++++++------ client/html/user_delete.tpl | 2 +- client/html/user_edit.tpl | 22 +++++++++++----------- client/html/user_registration.tpl | 6 +++--- client/html/user_summary.tpl | 16 ++++++++-------- client/html/users_header.tpl | 2 +- client/html/users_page.tpl | 10 +++++----- client/js/util/views.js | 2 +- 25 files changed, 97 insertions(+), 97 deletions(-) diff --git a/client/html/endless_pager_page.tpl b/client/html/endless_pager_page.tpl index 91ba1377..37c98d37 100644 --- a/client/html/endless_pager_page.tpl +++ b/client/html/endless_pager_page.tpl @@ -1,4 +1,4 @@
-

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

+

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

diff --git a/client/html/file_dropper.tpl b/client/html/file_dropper.tpl index bd0c977f..2543402e 100644 --- a/client/html/file_dropper.tpl +++ b/client/html/file_dropper.tpl @@ -1,7 +1,7 @@
- -