From 577b06a5e0700c5c3626f70637e440b9b28e489c Mon Sep 17 00:00:00 2001 From: Luke <16389426+LukeSeers@users.noreply.github.com> Date: Thu, 3 Feb 2022 11:43:40 +0100 Subject: [PATCH] Update project_tablecard --- _includes/project_tablecard.html | 190 ++++++++++++------------------- 1 file changed, 74 insertions(+), 116 deletions(-) diff --git a/_includes/project_tablecard.html b/_includes/project_tablecard.html index 96e037b..929869d 100644 --- a/_includes/project_tablecard.html +++ b/_includes/project_tablecard.html @@ -1,125 +1,83 @@ -
-
-
-
-
- {% for member in card.team %} - - {{ member }} - + + +
+
-
-
- - -
-
-
- {% for tag in card.projects %} - {% assign tag_bg_strength = 100 %} - - {% if tag == 'Portmaster' %} - {% assign tag_color = 'blue' %} - {% elsif tag == 'SPN' %} - {% assign tag_color = 'green' %} - {% elsif tag == 'Website' %} - {% assign tag_color = 'pink' %} - {% elsif tag == 'Back Office' %} - {% assign tag_color = 'gray' %} - {% assign tag_bg_strength = 200 %} - {% elsif tag == 'Community' %} - {% assign tag_color = 'purple' %} - {% elsif tag == 'Marketing' %} - {% assign tag_color = 'orange' %} - {% endif %} - - {{ tag }} - - {% endfor %} -
-
-
- {% if include.state == 'done' %} - - {% elsif include.state == 'in_progress' %} - - {% elsif include.state == 'discarded' %} - - {% elsif include.state == 'postponed' %} - - {% elsif include.state == 'backlog' %} - - {% endif %} -
-

{{ card.title }}

-
-
+
+ {% if include.state == 'done' %} + + {% elsif include.state == 'in_progress' %} + + {% elsif include.state == 'discarded' %} + + {% elsif include.state == 'postponed' %} + + {% elsif include.state == 'backlog' %} + + {% endif %} +

{{ card.title }}

-
-
-
-
- -
+
+
+ {% for member in card.team %} +
+ {{ member | capitalize }} +
+ {% endfor %} +
+ +
+ + +
+
+
+ -
-
-
+ +
+
+ {% for paragraph in card.description %} +

{{ paragraph }}

+ {% endfor %}
-
-
-
-
- -
- Assignment -
-
-
-

- {% for paragraph in card.description %} - {{ paragraph }} - {% endfor %} -

-
-
-
-
- {% for tag in card.progress %} - {% if tag.type == 'a' %} - <{{ tag.type }} href='{{ tag.href }}'>{{ tag.text }} - {% elsif tag.type == 'br' %} -
- {% elsif tag.type == 'ol' %} -
    - {% for li in tag.lis %} -
  1. {{ li }}
  2. - {% endfor %} -
- {% elsif tag.type == 'ul' %} -
    - {% for li in tag.lis %} -
  • {{ li }}
  • - {% endfor %} -
- {% else %} - <{{ tag.type }}>{{ tag.text }} - {% endif %} - {% endfor %} -
- -
+ {% for tag in card.progress %} + {% if tag.type == 'a' %} + <{{ tag.type }} href='{{ tag.href }}'>{{ tag.text }} + {% elsif tag.type == 'br' %} +
+ {% elsif tag.type == 'ol' %} +
    + {% for li in tag.lis %} +
  1. {{ li }}
  2. + {% endfor %} +
+ {% elsif tag.type == 'ul' %} +
    + {% for li in tag.lis %} +
  • {{ li }}
  • + {% endfor %} +
+ {% else %} + <{{ tag.type }}>{{ tag.text }} + {% endif %} + {% endfor %}
-
-
+
\ No newline at end of file