Skip to content

Commit 6c9bc2d

Browse files
committed
add premium color to guild in server selector
1 parent 7d99fd2 commit 6c9bc2d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/templates/cp_nav.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
{{end}}
7070
</figure>
7171
<div class="profile-info" data-lock-name="Server Name">
72-
<span class="name">{{if .ActiveGuild}}{{.ActiveGuild.Name}}{{if .IsGuildPremium}}<i
72+
<span class="name{{if .IsGuildPremium}} premium-color{{end}}">{{if .ActiveGuild}}{{.ActiveGuild.Name}}{{if .IsGuildPremium}}<i
7373
class="fas fa-crown premium-color ml-1"></i>{{end}}{{else}}Loading...{{end}}</span>
7474
<span class="role">loading....</span>
7575
</div>
@@ -317,7 +317,7 @@
317317
{{end}}
318318
</figure>
319319
<div class="profile-info" data-lock-name="Server Name">
320-
<span class="name">{{if .ActiveGuild}}{{.ActiveGuild.Name}}{{if .IsGuildPremium}}<i
320+
<span class="name{{if .IsGuildPremium}} premium-color{{end}}">{{if .ActiveGuild}}{{.ActiveGuild.Name}}{{if .IsGuildPremium}}<i
321321
class="fas fa-crown premium-color ml-1"></i>{{end}}{{else}}Select Server{{end}}</span>
322322
<span class="role">Change server</span>
323323
</div>

0 commit comments

Comments
 (0)