From 6bfafa9a3b7a74edc1d464d0fd079d497ea3c696 Mon Sep 17 00:00:00 2001 From: Rajit Sarkar Date: Mon, 18 Nov 2024 09:46:56 -0500 Subject: [PATCH] CONCD-998 Add start dates to Completed Campaigns page --- .../transcriptions/campaign_list_small_blocks.html | 2 +- .../transcriptions/campaign_small_block.html | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/concordia/templates/transcriptions/campaign_list_small_blocks.html b/concordia/templates/transcriptions/campaign_list_small_blocks.html index 0f2f6a6c1..12ae88d8e 100644 --- a/concordia/templates/transcriptions/campaign_list_small_blocks.html +++ b/concordia/templates/transcriptions/campaign_list_small_blocks.html @@ -16,7 +16,7 @@

Completed Campaigns

{{ campaign.title }} - {% if campaign.completed_date %} -

Completed: {{ campaign.completed_date|date:"Y-m-d" }}

+ {% if campaign.completed_date or show_start and campaign.launch_date %} +

+ {% if show_start and campaign.launch_date %} + Started: {{ campaign.launch_date|date:"Y-m-d" }} + {% if campaign.completed_date %}
{% endif %} + {% endif %} + {% if campaign.completed_date %} + Completed: {{ campaign.completed_date|date:"Y-m-d" }} + {% endif %} +

{% endif %} {% if show_description %}

{{ campaign.short_description|striptags|truncatechars_on_word_break:160 }}