# HG changeset patch # User Marcin Kuzminski # Date 2017-07-13 17:50:28 # Node ID 4edc1a1e0d223f4066c86582fd762ba10f86f2fd # Parent 12a61bbb6ae8bf944a3e94243d228ef46e05df11 pyramid: use explicit c var for globals passed in templates instead of the global 'request' diff --git a/rhodecode/templates/admin/admin_audit_logs.mako b/rhodecode/templates/admin/admin_audit_logs.mako --- a/rhodecode/templates/admin/admin_audit_logs.mako +++ b/rhodecode/templates/admin/admin_audit_logs.mako @@ -14,7 +14,7 @@ ${_('Audit logs')} - ${_ungettext('%s entry', '%s entries', c.audit_logs.item_count) % (c.audit_logs.item_count)} ${h.end_form()} -

${_('Example Queries')}

+

${_('Example Queries')}

<%def name="menu_bar_nav()"> diff --git a/rhodecode/templates/admin/users/user_edit_audit.mako b/rhodecode/templates/admin/users/user_edit_audit.mako --- a/rhodecode/templates/admin/users/user_edit_audit.mako +++ b/rhodecode/templates/admin/users/user_edit_audit.mako @@ -14,7 +14,7 @@ ${h.end_form()} -

${_('Example Queries')}

+

${_('Example Queries')}

<%include file="/admin/admin_log_base.mako" /> diff --git a/rhodecode/templates/journal/journal.mako b/rhodecode/templates/journal/journal.mako --- a/rhodecode/templates/journal/journal.mako +++ b/rhodecode/templates/journal/journal.mako @@ -14,7 +14,7 @@ ${_('Journal')} - ${ungettext('%s entry', '%s entries', c.journal_pager.item_count) % (c.journal_pager.item_count)} ${h.end_form()} -

${_('Example Queries')}

+

${_('Example Queries')}

<%def name="menu_bar_nav()"> ${self.menu_items(active='journal')} diff --git a/rhodecode/templates/search/search.mako b/rhodecode/templates/search/search.mako --- a/rhodecode/templates/search/search.mako +++ b/rhodecode/templates/search/search.mako @@ -74,7 +74,7 @@ % endfor

${_('Example Queries')}

- +
${c.runtime}