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 in #15 Created Dec. 18, 2017, 12:55 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
« 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