Better repeater org actions

This commit is contained in:
Jonathon Leight
2026-06-22 14:20:04 -04:00
parent f765e41735
commit 076fff27f4
+6 -3
View File
@@ -92,10 +92,13 @@
<div class="list-group-item d-flex align-items-center gap-2">
<span class="text-secondary">{{template "icon-world" ""}}</span>
<div class="flex-fill text-truncate">
<span class="fw-bold">{{.OrgName}}</span>
<div class="text-secondary small">consented to v{{.ConsentedVersion}}</div>
<a class="fw-bold text-reset" href="/orgs/{{.OrgSlug}}">{{.OrgName}}</a>
<div class="text-secondary small">consented to v{{.ConsentedVersion}}{{if gt .CurrentVersion .ConsentedVersion}} <span class="badge bg-warning-lt">re-consent</span>{{end}}</div>
</div>
<div class="btn-list flex-nowrap">
<a class="btn btn-sm" href="/repeaters/{{$.Repeater.PublicID}}/orgs/{{.OrgSlug}}/consented" title="What v{{.ConsentedVersion}} permits org members to run on this repeater">{{template "icon-list" "me-1"}}Permissions</a>
<a class="btn btn-sm" href="/orgs/{{.OrgSlug}}/config{{if $.Repeater.Latitude}}?lat={{$.Repeater.Latitude}}&lon={{$.Repeater.Longitude}}{{end}}" title="This org's recommended config for this repeater">{{template "icon-settings" "me-1"}}Config</a>
</div>
{{if gt .CurrentVersion .ConsentedVersion}}<span class="badge bg-warning-lt">re-consent</span>{{end}}
</div>
{{end}}
</div>