{{define "board.html"}} {{template "shell-start" .}} {{$filter := .BoardFilter}}

SHARED WORKSPACE

Team board

Plan, assign, and move work forward together.

⌕ Filters{{if $filter.Active}} {{$filter.Count}}{{end}}

BOARD VIEW

Filters{{if $filter.Active}} ({{$filter.Count}}){{end}}

{{if $filter.Active}}Clear all{{end}}
◉ Manage tags

BOARD LABELS

Tag manager

Create reusable labels for every card.

{{range .BoardTags}}
{{.Name}}
Delete
{{else}}

No tags yet. Create the first one above.

{{end}}
+ Add task

NEW CARD

Add work to the board

Tags Optional · select multiple
{{range .BoardTags}} {{else}}

No tags yet. Create the first one below.

{{end}}
+ Create a new tag
The new tag will be created and added to this card.
Assignees Optional · select multiple
{{range .Users}}{{end}}
{{template "notice" .}}
{{range .Board}}
{{.Title}}{{.Hint}}
{{len .Tasks}}
{{range .Tasks}} {{$task := .}}
{{if .Tags}}
{{range .Tags}}{{.Name}}{{end}}
{{else}}{{end}} {{if .Todos}}☑ {{.TodoDone}}/{{len .Todos}}{{end}}{{if eq .Importance "urgent"}}🚨{{else if eq .Importance "high"}}🔶{{else if eq .Importance "low"}}🟢{{else}}⚪{{end}}{{if .DueDate}}{{dateFA .DueDate}}{{end}}

{{.Title}}

{{if .Description}}

{{.Description}}

{{end}}
{{if .Assignees}}{{range .Assignees}}{{initial .DisplayName}}{{.DisplayName}}{{end}}{{else}}?Unassigned{{end}} by {{.CreatorName}}
To-do list {{.TodoDone}}/{{len .Todos}}
{{range .Todos}}
{{else}}

No to-do items yet.

{{end}}
People & importance
Assignees
{{range $.Users}}{{end}}
{{if $.BoardTags}}
Labels
{{range $.BoardTags}}{{end}}
{{end}}
{{if or (eq .CreatorID $.User.ID) (eq $.User.Role "admin")}}
Delete
{{end}}
{{end}} {{if not .Tasks}}
{{if $filter.Active}}No matching cards{{else}}Drop tasks here{{end}}
{{end}}
{{end}}
{{if .ArchivedTasks}}
Archived cards {{len .ArchivedTasks}}
{{range .ArchivedTasks}}
{{if .Tags}}
{{range .Tags}}{{.Name}}{{end}}
{{end}} {{.Status}}

{{.Title}}

Originally created by {{.CreatorName}}
{{if or (eq .CreatorID $.User.ID) (eq $.User.Role "admin")}}
Delete
{{end}}
{{end}}
{{end}} {{template "shell-end" .}} {{end}}