Skip to content

Commit f608f7d

Browse files
author
Datanoise
committed
Fix unterminated quoted string in admin.html template
1 parent 771e04f commit f608f7d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

server/templates/admin.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -623,8 +623,7 @@
623623
</div>
624624
<div style="margin-top: auto; padding-top: 2rem;">
625625
<div style="font-size: 0.8rem; color: var(--text-dim); margin-bottom: 1rem;">User:
626-
<strong>{{.User.Username}}</strong> <span class="role-badge {{if eq .User.Role "
627-
superadmin"}}role-super{{else}}role-admin{{end}}">{{.User.Role}}</span>
626+
<strong>{{.User.Username}}</strong> <span class="role-badge {{if eq .User.Role "superadmin"}}role-super{{else}}role-admin{{end}}">{{.User.Role}}</span>
628627
</div>
629628
<div style="font-size: 0.75rem; color: var(--text-dim);">Powered by <a
630629
href="https://github.com/DatanoiseTV/tinyice/{{if .Commit}}commit/{{.Commit}}{{else}}releases/latest{{end}}"
@@ -1216,8 +1215,7 @@ <h3 style="margin: 0; display: flex; align-items: center; gap: 0.5rem;">
12161215
{{.Name}}
12171216
<span class="status-pill adj-status {{if ne .State 1}}inactive{{end}}"
12181217
style="font-size: 0.6rem; padding: 0.1rem 0.4rem;">
1219-
<div class="dot"></div> <span class="adj-status-text">{{if eq .State
1220-
1}}LIVE{{else}}IDLE{{end}}</span>
1218+
<div class="dot"></div> <span class="adj-status-text">{{if eq .State 1}}LIVE{{else}}IDLE{{end}}</span>
12211219
</span>
12221220
</h3>
12231221
<div style="font-size: 0.8rem; color: var(--text-dim); margin-top: 0.2rem;">

0 commit comments

Comments
 (0)