Projects: Only display category for public projects

This commit is contained in:
2018-09-16 05:02:52 +02:00
parent 6648f8d074
commit 85e5cb4f71

View File

@@ -14,11 +14,13 @@ include ../mixins/components
+nav-secondary() +nav-secondary()
| {% if project.url != 'blender-cloud' %} | {% if project.url != 'blender-cloud' %}
| {% if not project.is_private %}
li.text-capitalize li.text-capitalize
a.nav-link.text-muted.px-0(href="{{ category_url }}") a.nav-link.text-muted.px-0(href="{{ category_url }}")
span {{ project.category }} span {{ project.category }}
li.px-1 li.px-1
i.pi-angle-right i.pi-angle-right
| {% endif %}
+nav-secondary-link( +nav-secondary-link(
class="px-1 font-weight-bold", class="px-1 font-weight-bold",