Bläddra i källkod

corrention bug 446

Mr Duhaz 10 månader sedan
förälder
incheckning
3db66c2183
2 ändrade filer med 6 tillägg och 2 borttagningar
  1. 3 1
      templates/base.html
  2. 3 1
      templates/base_no_card.html

+ 3 - 1
templates/base.html

@@ -127,13 +127,15 @@
 						<h2>{% block title %}{% if page.p_icone != "" %}<i class="{{page.p_icone}}"></i> {% endif %}{{page.p_titre|safe}}{% endblock %}</h2>
 				</div>
 				{% endif %}
+			{% else %}
+				<div>	
 			{% endif %}
 			{% if page.p_include %}
 				{% include page.p_include %}
 			{% else %}
 				{% block main %}{% endblock %}
 			{% endif %}
-			{% if page.c_card_mp != 'None'%}</div>{% endif %}
+			</div>
 		</div>
 		<div class="col-lg-3 p-lg-1 p-md-0 mb-sm-1">
 			{% if page.c_card_rp == 'True'%}<div class="card" style="background-color: rgba(250,250,250,0.88);" >{% endif %}

+ 3 - 1
templates/base_no_card.html

@@ -129,13 +129,15 @@
 						<h2>{% block title %}{% if page.p_icone != "" %}<i class="{{page.p_icone}}"></i> {% endif %}{{page.p_titre|safe}}{% endblock %}</h2>
 				</div>
 				{% endif %}
+			{% else %}
+				<div>	
 			{% endif %}
 			{% if page.p_include %}
 				{% include page.p_include %}
 			{% else %}
 				{% block main %}{% endblock %}
 			{% endif %}
-			{% if page.c_card_mp != 'None'%}</div>{% endif %}
+			</div>
 		</div>
 		
 		<div class="col-lg-3 p-lg-1 p-md-0 mb-sm-1">