Skip to content
Snippets Groups Projects
Commit c1335fdd authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

styling, file urls

parent 264102c8
No related branches found
No related tags found
No related merge requests found
Pipeline #12991 passed
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
{% if material.link %} {% if material.link %}
href="{{ material.link }}" href="{{ material.link }}"
{% elif material.file %} {% elif material.file %}
href="{{ material.file }}" href="{{ material.file.url }}"
{% endif %} {% endif %}
class="text-lg" class="text-lg"
>{{ material.name }}</a> >{{ material.name }}</a>
...@@ -71,7 +71,9 @@ ...@@ -71,7 +71,9 @@
{% endfor %} {% endfor %}
</ul> </ul>
{% else %} {% else %}
<span class="text-gray-200">Žádné materiály.</span> <span
class="text-gray-200 my-3 py-3 border-y border-gray-200"
>Žádné materiály.</span>
{% endif %} {% endif %}
{% endwith %} {% endwith %}
</section> </section>
...@@ -94,7 +96,9 @@ ...@@ -94,7 +96,9 @@
{% endfor %} {% endfor %}
</ul> </ul>
{% else %} {% else %}
<span class="text-gray-200">Žádné nahrávky.</span> <span
class="text-gray-200 my-3 py-3 border-y border-gray-200"
>Žádné nahrávky.</span>
{% endif %} {% endif %}
{% endwith %} {% endwith %}
</section> </section>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment