debian-mirror-gitlab/app/views/shared/gitpod/_enable_gitpod_modal.html.haml

13 lines
795 B
Text
Raw Normal View History

2020-11-24 15:15:51 +05:30
#modal-enable-gitpod.modal.qa-enable-gitpod-modal
.modal-dialog
.modal-content
.modal-header
%h3.page-title= _('Enable Gitpod?')
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
2021-09-04 01:27:46 +05:30
%span{ "aria-hidden": "true" } ×
2020-11-24 15:15:51 +05:30
.modal-body.p-3
%p= (_("To use Gitpod you must first enable the feature in the integrations section of your %{user_prefs}.") % { user_prefs: link_to(_('user preferences'), profile_preferences_path(anchor: 'gitpod')) }).html_safe
.modal-footer
2021-04-17 20:07:23 +05:30
= link_to _('Cancel'), '#', class: "gl-button btn btn-default btn-cancel", "data-dismiss" => "modal"
= link_to _('Enable Gitpod'), profile_path(user: { gitpod_enabled: true}), class: 'gl-button btn btn-confirm', method: :put