From c8a2c9de516bfd03ac977bdcda74c4107df60128 Mon Sep 17 00:00:00 2001 From: Arnaud Roy Date: Thu, 20 Jan 2022 09:25:58 -0500 Subject: [PATCH] fixes to teamdashboard --- .../Views/Widget-TeamDashboardWidget.liquid | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Apps/StatCan.OrchardCore.Candev/Views/Widget-TeamDashboardWidget.liquid b/src/Apps/StatCan.OrchardCore.Candev/Views/Widget-TeamDashboardWidget.liquid index 28200f10..586b2c57 100644 --- a/src/Apps/StatCan.OrchardCore.Candev/Views/Widget-TeamDashboardWidget.liquid +++ b/src/Apps/StatCan.OrchardCore.Candev/Views/Widget-TeamDashboardWidget.liquid @@ -18,7 +18,7 @@ - {{team.ContentItem.Content.Team.Name.Text}} + {{team.DisplayText}} {{team.ContentItem.Content.Team.Description.Text}} @@ -95,7 +95,7 @@ @@ -133,14 +133,15 @@ {% if isTeamCaptain %} {% assign teamEditForm = Content.ContentItemId["4466xex4gkry42s4n9x4ksyywd"] %} {{ teamEditForm | shape_build_display | shape_render }} - {% else %} + {% elsif challengeSelected == null %} {{ "Topics in your order of interest (only the team captain can reorder)" | t }} {% if team.Content.Team.Topics.ContentItemIds != null %} - {% for topic in team.Content.Team.Topics.ContentItemIds %} + {% for topicId in team.Content.Team.Topics.ContentItemIds %} + {% assign topic = topicId | content_item_id %} {% if Culture.Name == "en" %} {{topic.Content.Topic.NameEn.Text}}
{% else %}