Add label descriptions (#3662)
* Add label descriptions * Add default descriptions to label template
This commit is contained in:
parent
ad33730dca
commit
c0d41b1b77
14 changed files with 109 additions and 34 deletions
File diff suppressed because one or more lines are too long
|
@ -491,6 +491,7 @@ function initRepository() {
|
|||
$('.edit-label-button').click(function () {
|
||||
$('#label-modal-id').val($(this).data('id'));
|
||||
$('.edit-label .new-label-input').val($(this).data('title'));
|
||||
$('.edit-label .new-label-desc-input').val($(this).data('description'));
|
||||
$('.edit-label .color-picker').val($(this).data('color'));
|
||||
$('.minicolors-swatch-color').css("background-color", $(this).data('color'));
|
||||
$('.edit-label.modal').modal({
|
||||
|
|
|
@ -134,6 +134,17 @@
|
|||
}
|
||||
}
|
||||
|
||||
.select-label {
|
||||
.item {
|
||||
max-width: 250px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.desc {
|
||||
padding-left: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.ui.tabs {
|
||||
&.container {
|
||||
margin-top: 14px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue