debian-mirror-gitlab/app/views/projects/_fork_suggestion.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
790 B
Text
Raw Normal View History

2021-06-08 01:23:25 +05:30
- message_base = s_("ForkSuggestion|You cant %{edit_start}edit%{edit_end} files directly in this project. Fork this project and submit a merge request with your changes.").html_safe
- message = message_base.html_safe % { edit_start: '<span class="js-file-fork-suggestion-section-action">'.html_safe, edit_end: '</span>'.html_safe }
2021-03-11 19:13:27 +05:30
.js-file-fork-suggestion-section.file-fork-suggestion.hidden
2021-06-08 01:23:25 +05:30
%span.file-fork-suggestion-note= message
2022-11-25 23:54:43 +05:30
= render Pajamas::ButtonComponent.new(type: :submit, variant: :confirm, category: :secondary, button_options: { class: "js-fork-suggestion-button btn-grouped" }) do
= s_('ForkSuggestion|Fork')
= render Pajamas::ButtonComponent.new(button_options: { class: "js-cancel-fork-suggestion-button btn-grouped" }) do
2021-06-08 01:23:25 +05:30
= s_('ForkSuggestion|Cancel')