Commit ca24eba3 authored by berumuron's avatar berumuron
Browse files

fix: Fix folding events if project has description

parent 7e09ab3a
......@@ -21,8 +21,9 @@
{% for project in projects|sort(attribute="name") %}
<section
id="{{ project.name|slugify }}"
class="project {{ 'project-private' if project.is_private }} {{ 'folder folder-folded' if project.description }}"
class="project {{ 'project-private' if project.is_private }}"
>
<div class="{{ 'folder folder-folded' if project.description }}">
<header class="project-header">
<h2 class="project-name">
{% if project.description %}
......@@ -46,6 +47,7 @@
{{ project.description|markdown }}
</div>
{% endif %}
</div>
<ul class="events">
{% for event in project.events() if g.current_user or not event.is_private %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment