oficina / equipo Public

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

Plain git — no account needed to clone.

Download

Download this file

1{{define "placement-chip"}}<details equipo-placement equipo-roster-project data-placement-task="{{.ID}}"><summary aria-label="{{.Project}}: {{copy "placement.wrong"}}">{{if not .Mono.InTitle}}{{template "mono-s" .Mono}}{{end}}<span equipo-project-name>{{.Project}}</span>{{icon "chevron-down"}}</summary><div><strong>{{copy "placement.wrong"}}</strong>{{if .Stopping}}<p role="status">{{copy "roster.stopping"}}</p>{{else if .Moving}}{{template "placement-abandon" .}}{{else}}<a href="/tasks/{{.ID}}/move">{{copy "placement.move"}}</a><a href="/tasks/{{.ID}}/move?new=1">{{copy "placement.make_new"}}</a>{{end}}</div></details>{{end}}
2
3{{define "placement-abandon"}}<p equipo-placement-reason>{{if .MoveHoldReason}}{{copy (printf "placement.held_%s" .MoveHoldReason)}}{{else}}{{copy "placement.pending"}}{{end}}</p><p equipo-placement-help>{{copy "placement.abandon_help"}}</p><form method="post" action="/tasks/{{.ID}}/move"><input type="hidden" name="revision" value="{{.Revision}}"><button rst-btn name="abandon" value="1" type="submit">{{copy "placement.abandon"}}</button></form>{{end}}
4