fix: style

This commit is contained in:
pateljannat
2021-04-14 11:29:32 +05:30
parent e8ff9a5a32
commit dfe8b3d4a2
2 changed files with 6 additions and 5 deletions

View File

@@ -168,10 +168,11 @@
</div>
</div>
{% endfor %}
{% else %}
<p class="text-center">You have not created any sketches.</p>
{% endif %}
</div>
{% if not sketches %}
<p class="text-center">You have not created any sketches.</p>
{% endif %}
</div>
</div>
<div class="tab-pane fade py-4" role="tabpanel" id="courses">

View File

@@ -107,7 +107,6 @@
<div class="tab-content">
<div class="tab-pane fade py-4 show active" role="tabpanel" id="home">
<div class='container'>
<a href="/sketches/new">Create a New Sketch</a>
<div class="row row-cols-1 row-cols-xl-5 row-cols-lg-4 row-cols-md-3 row-cols-sm-2">
{% if sketches %}
{% for sketch in sketches %}
@@ -129,10 +128,11 @@
</div>
</div>
{% endfor %}
{% else %}
<p class="text-center">You have not created any sketches.</p>
{% endif %}
</div>
{% if not sketches %}
<p class="text-center">{{member.full_name}} has not created any skecth yet.</p>
{% endif %}
</div>
</div>
</div>