Do not override "content" block in content.html template

This commit is contained in:
Yohan Boniface 2016-06-29 17:20:47 +02:00
parent a1676d56ca
commit a34d163449
5 changed files with 10 additions and 8 deletions

View file

@ -2,7 +2,7 @@
{% load i18n %}
{% block content %}
{% block maincontent %}
<div class="col wide">
<h2 class="section">{% blocktrans %}Browse {{ current_user }}'s maps{% endblocktrans %}</h2>
</div>
@ -17,4 +17,4 @@
{% endif %}
</div>
</div>
{% endblock content %}
{% endblock maincontent %}

View file

@ -1,5 +1,5 @@
{% extends "umap/content.html" %}
{% block content %}
{% block maincontent %}
{% include "umap/about_summary.html" %}
{% endblock content %}
{% endblock maincontent %}

View file

@ -18,6 +18,8 @@
{% endblock %}
{% block content %}
{% block maincontent %}
{% endblock maincontent %}
{% endblock content %}
{% block bottom_js %}

View file

@ -2,7 +2,7 @@
{% load leaflet_storage_tags i18n %}
{% block content %}
{% block maincontent %}
{% include "umap/search_bar.html" %}
{% if DEMO_SITE %}
<div class="wrapper demo-instance-warning">
@ -27,4 +27,4 @@
</div>
</div>
{% endblock content %}
{% endblock maincontent %}

View file

@ -2,7 +2,7 @@
{% load i18n %}
{% block content %}
{% block maincontent %}
{% include "umap/search_bar.html" %}
{% if q %}
<div class="wrapper">
@ -15,4 +15,4 @@
</div>
</div>
{% endif %}
{% endblock content %}
{% endblock maincontent %}