Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions less/groups.less
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@
}
}
}

.user-title-option {
.badge-color-label {
margin: 10px 0;
}
}
}

.groups.list {
Expand Down
6 changes: 3 additions & 3 deletions templates/groups/details.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@
<div class="form-group user-title-option">
<label>[[groups:details.badge_preview]]</label><br />
<span class="label<!-- IF !group.userTitleEnabled --> hide<!-- ENDIF !group.userTitleEnabled -->" style="background-color: {group.labelColor}"><i class="fa<!-- IF group.icon -->{group.icon}<!-- ENDIF group.icon -->"></i> <!-- IF group.userTitle -->{group.userTitle}<!-- ELSE -->{group.displayName}<!-- ENDIF group.userTitle --></span>

<button component="groups/userTitleOption" type="button" class="btn btn-default btn-sm" data-action="icon-select"<!-- IF !group.userTitleEnabled --> disabled<!-- ENDIF !group.userTitleEnabled -->>[[groups:details.change_icon]]</button>
<button component="groups/userTitleOption" type="button" class="btn btn-default btn-sm" data-action="color-select"<!-- IF !group.userTitleEnabled --> disabled<!-- ENDIF !group.userTitleEnabled -->>[[groups:details.change_colour]]</button>
<input type="hidden" name="labelColor" value="<!-- IF group.labelColor -->{group.labelColor}<!-- ENDIF group.labelColor -->" />
</br>
<label class="badge-color-label">[[groups:details.label_colour]]</label>
<input component="groups/userTitleOption" type="color" name="labelColor" size="7" value="<!-- IF group.labelColor -->{group.labelColor}<!-- ENDIF group.labelColor -->" />
<input type="hidden" name="icon" value="<!-- IF group.icon -->{group.icon}<!-- ENDIF group.icon -->" />
<div id="icons" class="hidden">
<div class="icon-container">
Expand Down