From 801cda88bfced25fb8a6078c8b3b4b2093b55215 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 21 Nov 2018 20:23:07 +0100 Subject: [PATCH] Project View: Labels for sections --- src/templates/projects/view_embed.pug | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/templates/projects/view_embed.pug b/src/templates/projects/view_embed.pug index d9384780..9eedf9cf 100644 --- a/src/templates/projects/view_embed.pug +++ b/src/templates/projects/view_embed.pug @@ -23,9 +23,7 @@ section.node-preview | {% endif %} section.px-4 - h4.pt-4 - a.text-muted(href="{{ url_for( 'projects.view', project_url=project.url) }}") - | {{ project.name }} + h4.pt-4.pb-2 {{ project.name }} | {% if project.description %} .node-details-description @@ -33,14 +31,20 @@ section.px-4 | {% endif %} | {% 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 %} | {% if n.node_type not in ['comment'] %} | {{ asset_list_item(n, current_user) }} | {% endif %} | {% endfor %} | {% endif %} + | {% if project.category in ['film', 'assets'] %} + h5.py-4.border-top + .text-secondary Latest Updates +timeline("{{ project._id }}") | {% endif %}