Text message for mergeing MR
This commit is contained in:
parent
7530fa9dec
commit
8eaead6a01
4 changed files with 11 additions and 1 deletions
|
@ -112,6 +112,7 @@ var MergeRequest = {
|
|||
already_cannot_be_merged:
|
||||
function(){
|
||||
$(".automerge_widget").hide();
|
||||
$(".merge_in_progress").hide();
|
||||
$(".automerge_widget.already_cannot_be_merged").show();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -94,3 +94,8 @@ li.merge_request {
|
|||
padding-bottom: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.merge_in_progress {
|
||||
@extend .padded;
|
||||
@extend .append-bottom-10;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,8 @@
|
|||
});
|
||||
|
||||
$(".edit_merge_request").live("ajax:beforeSend", function() {
|
||||
$(this).replaceWith('#{image_tag "ajax_loader.gif"}');
|
||||
$('.can_be_merged').hide();
|
||||
$('.merge_in_progress').show();
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
@ -40,3 +40,6 @@
|
|||
.alert.alert-info
|
||||
%strong This merge request already can not be merged. Try to reload page.
|
||||
|
||||
.merge_in_progress.hide
|
||||
%span.cgray Merge is in progress. Please wait. Page will be automatically reloaded.
|
||||
= image_tag "ajax_loader.gif"
|
||||
|
|
Loading…
Reference in a new issue