09d24a1f67
Ex. if branch named "refactor-models" then title will be "Refactor models" Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
7 lines
228 B
Text
7 lines
228 B
Text
:plain
|
|
$(".mr_source_commit").html("#{commit_to_html(@commit, @source_project, false)}");
|
|
var mrTitle = $('#merge_request_title');
|
|
|
|
if(mrTitle.val().length == 0) {
|
|
mrTitle.val("#{params[:ref].titleize.humanize}");
|
|
}
|