{{ define "title" -}} {{( pgettext "Company Switch" "title" )}} {{- end }} {{ define "breadcrumbs" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.CompanySwitchPage*/ -}} <nav> <p> <a href="{{ companyURI "/" }}">{{( pgettext "Home" "title" )}}</a> / <a>{{ template "title" . }}</a> </p> </nav> {{- end }} {{ define "content" }} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.CompanySwitchPage*/ -}} <section class="dialog-content"> <h2>{{ template "title" . }}</h2> <table> <thead> <tr> <th>{{( pgettext "Name" "title" )}}</th> <th>{{( pgettext "Actions" "title" )}}</th> </tr> </thead> <tbody> {{ range .Companies -}} <tr> <td>{{ .Name }}</td> <td><a href="/company/{{ .Slug }}/">{{( pgettext "Switch" "action" )}}</a></td> </tr> {{- end}} </tbody> </table> </section> {{- end }}