merge.js.haml 426 Bytes
Newer Older
1
- case @status
2
- when :success
3
  :plain
4
    merge_request_widget.mergeInProgress(#{params[:should_remove_source_branch] == '1'});
5 6 7
- when :merge_when_build_succeeds
  :plain
    $('.mr-widget-body').html("#{escape_javascript(render('projects/merge_requests/widget/open/merge_when_build_succeeds'))}");
8
- else
9
  :plain
10
    $('.mr-widget-body').html("#{escape_javascript(render('projects/merge_requests/widget/open/reload'))}");