Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: macros/pageitem.tmpl

Issue 29630614: [Demo] Issue 6047 - Missing background on uninstallation page (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Created Dec. 5, 2017, 10:25 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « includes/styles.tmpl ('k') | pages/index.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: macros/pageitem.tmpl
===================================================================
new file mode 100644
--- /dev/null
+++ b/macros/pageitem.tmpl
@@ -0,0 +1,7 @@
+{% macro pageitem(name) %}
+ {% if name == page %}
+ <li class="selected">{{get_string(name, "menu")}}</li>
+ {% else %}
+ <li>{{name|linkify}}{{get_string(name, "menu")}}</a></li>
+ {% endif %}
+{% endmacro %}
« no previous file with comments | « includes/styles.tmpl ('k') | pages/index.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld