mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Add label descriptions (#3662)
* Add label descriptions * Add default descriptions to label template
This commit is contained in:
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;
|
||||
|
Reference in New Issue
Block a user