oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1{{define "title"}}{{copy "nav.tasks"}}{{end}}
2{{define "content"}}
3<section equipo-work equipo-inner data-work-live data-work-region id="work-tasks">
4{{with .Thin}}<div equipo-page-head><h1>{{if .Project}}{{.Project.Title}}{{else}}{{copy "nav.tasks"}}{{end}}</h1><p>{{printf (copy "work.tasks_count") (len .Tasks) .ProjectCount}}</p></div>
5<div equipo-filters>
6<details equipo-filter{{if .Filter.Project}} data-active{{end}}><summary>{{if .Filter.Project}}{{.Filter.ProjectTitle}}{{else}}{{copy "work.filter.all_projects"}}{{end}} {{icon "chevron-down"}}</summary><div><a href="/tasks{{with .Filter.Person}}?person={{.}}{{end}}"{{if not .Filter.Project}} aria-current="true"{{end}}>{{copy "work.filter.all_projects"}}</a>{{$f := .Filter}}{{range .Filter.Projects}}<a href="/tasks?project={{.ID}}{{with $f.Person}}&amp;person={{.}}{{end}}"{{if eq .ID $f.Project}} aria-current="true"{{end}}>{{template "mono-s" .Mono}}{{.Title}}</a>{{end}}</div></details>
7<details equipo-filter{{if .Filter.Person}} data-active{{end}}><summary>{{if .Filter.Person}}{{if eq .Filter.Person $.Address}}{{copy "work.filter.by_you"}}{{else}}{{printf (copy "work.filter.by") .Filter.Person1}}{{end}}{{else}}{{copy "work.filter.anyone"}}{{end}} {{icon "chevron-down"}}</summary><div><a href="/tasks{{with .Filter.Project}}?project={{.}}{{end}}"{{if not .Filter.Person}} aria-current="true"{{end}}>{{copy "work.filter.anyone"}}</a>{{range .Filter.People}}<a href="/tasks?person={{.Address}}{{with $f.Project}}&amp;project={{.}}{{end}}"{{if eq .Address $f.Person}} aria-current="true"{{end}}>{{template "av" .}}{{if .You}}{{copy "work.you"}}{{else}}{{.Name}}{{end}}</a>{{end}}</div></details>
8</div>
9{{if .Groups}}{{template "work-groups" (dict "Groups" .Groups "From" "tasks")}}{{else}}<p equipo-empty data-empty-state="work.tasks_empty">{{copy "work.tasks_empty"}}</p>{{end}}{{end}}
10</section>
11{{end}}
12