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

Unified Diff: macros/pageitem.tmpl

Issue 29611624: Issue 6047 - Updated templates and uninstalled pages (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Addressed comments Created Dec. 8, 2017, 4:48 p.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
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') | pages/uninstalled-submit.html » ('J')

Powered by Google App Engine
This is Rietveld