Kaynağa Gözat

correct bug

Mr Duhaz 3 ay önce
ebeveyn
işleme
7a4852352f
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      templates/base.html
  2. 1 1
      templates/base_no_card.html

+ 1 - 1
templates/base.html

@@ -139,7 +139,7 @@
 		</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 %}
-			{% if page.c_includ_rp != 'None'%}{% include page.c_includ_rp %}{% endif %}
+			{% if page.c_includ_rp != None %}{% include page.c_includ_rp %}{% endif %}
 			{% block right_panel %}
 			{% endblock %}
 			{% if not request.user.is_authenticated and page.p_right and not "account/" in request.path %}

+ 1 - 1
templates/base_no_card.html

@@ -142,7 +142,7 @@
 		
 		<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 %}
-			{% if page.c_includ_rp != 'None'%}{% include page.c_includ_rp %}{% endif %}
+			{% if page.c_includ_rp != None %}{% include page.c_includ_rp %}{% endif %}
 			{% block right_panel %}
 			{% endblock %}
 			{% if not request.user.is_authenticated and page.p_right and not "account/" in request.path %}