Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_personal_access_tokens_created_container.html.haml « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: df4577e286289e20741d7a279cf7b7e0c0e70e12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- container_title = local_assigns.fetch(:container_title, _('Your New Personal Access Token'))
- clipboard_button_title = local_assigns.fetch(:clipboard_button_title, _('Copy personal access token'))

.created-personal-access-token-container
  %h5.prepend-top-0
    = container_title
  .form-group
    .input-group
      = text_field_tag 'created-personal-access-token', new_token_value, readonly: true, class: "qa-created-personal-access-token form-control js-select-on-focus", 'aria-describedby' => "created-token-help-block"
      %span.input-group-append
        = clipboard_button(text: new_token_value, title: clipboard_button_title, placement: "left", class: "input-group-text btn-default btn-clipboard")
    %span#created-token-help-block.form-text.text-muted.text-danger
      = _("Make sure you save it - you won't be able to access it again.")

%hr