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

8 lines
702 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
= link_to s_('ForkSuggestion|Fork'), nil, method: :post, class: 'js-fork-suggestion-button gl-button btn btn-grouped btn-confirm-secondary'
2021-03-11 19:13:27 +05:30
%button.js-cancel-fork-suggestion-button.gl-button.btn.btn-grouped{ type: 'button' }
2021-06-08 01:23:25 +05:30
= s_('ForkSuggestion|Cancel')