feat(webui): open a currated version of the user accounts section to non admin users
All checks were successful
main / publish (push) Has been skipped
main / main (push) Successful in 4m36s
main / deploy (push) Has been skipped

This commit is contained in:
Julien Dessaux 2025-04-15 00:02:48 +02:00
parent 2bf1731343
commit d40595cacb
Signed by: adyxax
GPG key ID: F92E51B86E07177E
8 changed files with 49 additions and 24 deletions

View file

@ -2,23 +2,22 @@
<h1>State</h1>
<p>
The state at path
<span class="button">{{ .State.Path }}</span>
<strong>{{ .State.Path }}</strong>
has
<span class="button">{{ len .Versions }}</span>
<strong>{{ len .Versions }}</strong>
versions and is currently
<span class="button">
<strong>
{{ if eq .State.Lock nil }}
unlocked
unlocked.
{{ else }}
<span class="tooltip">
locked
locked.
<span class="tooltip-text">
{{ .State.Lock }}
</span>
</span>
{{ end }}
</span>
.
</strong>
</p>
<p>Use this page to inspect the existing versions.</p>
<article>