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

Unified Diff: templates/default.tmpl

Issue 29690912: Fixes #9 - Update cross-promotional section (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Change background image to solid colour Created Feb. 28, 2018, 8:40 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
« locales/en/abb-notification.json ('K') | « static/img/google-play-badge.svg ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/default.tmpl
===================================================================
--- a/templates/default.tmpl
+++ b/templates/default.tmpl
@@ -28,19 +28,16 @@
{{head|safe}}
{% endblock %}
</head>
<body>
<? include navbar ?>
<div id="content" class="container content {{ localefile == "index" and page }}">
- {% if abbnotification %}
- <? include abb-notification ?>
- {% endif %}
{% if not noheading %}
<h1>{{title|translate("title")}}</h1>
{% endif %}
{% if not notoc %}
{% macro toc(toclist) %}
<ul>
{% for item in toclist %}
@@ -60,12 +57,16 @@
{% endif %}
{% endif %}
{% block body %}
{{body|safe}}
{% endblock %}
</div>
+ {% if localefile == "index" %}
+ <? include abb-notification ?>
+ {% endif %}
+
<? include footer ?>
<? include scripts ?>
</body>
</html>
« locales/en/abb-notification.json ('K') | « static/img/google-play-badge.svg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld