diff options
Diffstat (limited to 'app/views/shared/issuable/form/_branch_chooser.html.haml')
-rw-r--r-- | app/views/shared/issuable/form/_branch_chooser.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/form/_branch_chooser.html.haml b/app/views/shared/issuable/form/_branch_chooser.html.haml index 1f391e8a321..46df9b4ef9a 100644 --- a/app/views/shared/issuable/form/_branch_chooser.html.haml +++ b/app/views/shared/issuable/form/_branch_chooser.html.haml @@ -23,7 +23,7 @@ = html_escape(_('From %{code_open}%{source_title}%{code_close} into')) % { source_title: source_title, code_open: '<code>'.html_safe, code_close: '</code>'.html_safe } - if issuable.new_record? - %code#js-target-branch-title= target_title + %code#js-target-branch-title{ data: { branch_name: @merge_request.target_branch } }= target_title = link_to _('Change branches'), mr_change_branches_path(issuable) - elsif issuable.for_fork? |