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: Changed document macro in html-attribute include, removed simple template, and removed temporary/unused resources include Created Nov. 25, 2017, 1:35 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.tmpl » ('J')

Powered by Google App Engine
This is Rietveld