diff --git a/common-theme/layouts/_default/backlog.html b/common-theme/layouts/_default/backlog.html index 6d6d5b24f..3cca49fd7 100644 --- a/common-theme/layouts/_default/backlog.html +++ b/common-theme/layouts/_default/backlog.html @@ -14,32 +14,81 @@ for each repo, grab the issues that match the filter */}} {{ range $repos }} + {{ $setupTasks := slice }} + {{ $recurringTasks := slice }} + {{ $mandatoryTasks := slice }} + {{ $optionalTasks := slice }} {{ $issueBlocks := partial "block/issues-list-as-blocks.html" (dict "backlog" . "backlog_filter" $backlog_filter "path" $currentPath) }} {{ $repo := . }} {{ range $issueBlocks }} -
These tasks should be completed before attempting anything else.
+ {{range $setupTasks}} + {{ partial "block/backlog-issue.html" (dict + "block" . + "Page" $.Page + "Site" site + "repo" $repo + "sprint" $backlog_filter + "path" $currentPath + ) }} + {{ end }} + {{ end }} + {{ if lt 0 ($recurringTasks | len) }} +These tasks need to be completed in every sprint.
+ {{range $recurringTasks}} + {{ partial "block/backlog-issue.html" (dict + "block" . + "Page" $.Page + "Site" site + "repo" $repo + "sprint" $backlog_filter + "path" $currentPath + ) }} + {{ end }} + {{ end }} + {{ if lt 0 ($mandatoryTasks | len) }} +These tasks will help consolidate your learning for this sprint. You should complete as many of these as possible before class on Saturday.
+ {{range $mandatoryTasks}} + {{ partial "block/backlog-issue.html" (dict + "block" . + "Page" $.Page + "Site" site + "repo" $repo + "sprint" $backlog_filter + "path" $currentPath + ) }} + {{ end }} + {{ end }} + {{ if lt 0 ($optionalTasks | len) }} +These are optional "stretch goals" to attempt when you have finished the mandatory tasks. They may be more challenging or require some additional research.
+ {{range $optionalTasks}} + {{ partial "block/backlog-issue.html" (dict + "block" . + "Page" $.Page + "Site" site + "repo" $repo + "sprint" $backlog_filter + "path" $currentPath + ) }} + {{ end }} {{ end }} {{ end }} diff --git a/common-theme/layouts/partials/block/backlog-issue.html b/common-theme/layouts/partials/block/backlog-issue.html new file mode 100644 index 000000000..b18c9a3f4 --- /dev/null +++ b/common-theme/layouts/partials/block/backlog-issue.html @@ -0,0 +1,18 @@ +