Project View: Labels for sections

This commit is contained in:
Pablo Vazquez 2018-11-21 20:23:07 +01:00
parent fc99713732
commit 801cda88bf

View File

@ -23,9 +23,7 @@ section.node-preview
| {% endif %} | {% endif %}
section.px-4 section.px-4
h4.pt-4 h4.pt-4.pb-2 {{ project.name }}
a.text-muted(href="{{ url_for( 'projects.view', project_url=project.url) }}")
| {{ project.name }}
| {% if project.description %} | {% if project.description %}
.node-details-description .node-details-description
@ -33,14 +31,20 @@ section.px-4
| {% endif %} | {% endif %}
| {% if activity_stream %} | {% if activity_stream %}
+card-deck(class="pt-4 border-top") h5.py-4.border-top
.text-secondary Featured Content
+card-deck(class="pl-3 pb-3")
| {% for n in activity_stream %} | {% for n in activity_stream %}
| {% if n.node_type not in ['comment'] %} | {% if n.node_type not in ['comment'] %}
| {{ asset_list_item(n, current_user) }} | {{ asset_list_item(n, current_user) }}
| {% endif %} | {% endif %}
| {% endfor %} | {% endfor %}
| {% endif %} | {% endif %}
| {% if project.category in ['film', 'assets'] %} | {% if project.category in ['film', 'assets'] %}
h5.py-4.border-top
.text-secondary Latest Updates
+timeline("{{ project._id }}") +timeline("{{ project._id }}")
| {% endif %} | {% endif %}