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

{{if .Workspace.Name}}{{.Workspace.Name}}{{else}}SHARED WORKSPACE{{end}}

Team board

Plan, assign, and move work forward together.

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

BOARD VIEW

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

{{if $filter.Active}}Clear all{{end}}
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 .Assignees}}{{range .Assignees}}{{if .AvatarURL}}{{.DisplayName}}{{else}}{{initial .DisplayName}}{{end}}{{end}}{{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}}
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")}}
{{end}}
{{end}} {{if not .Tasks}}
{{if $filter.Active}}No matching cards{{else}}Drop tasks here{{end}}
{{end}}
{{end}}
{{template "shell-end" .}} {{end}}