Projects: Only display category for public projects
This commit is contained in:
@@ -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",
|
||||||
|
Reference in New Issue
Block a user