Minor fixes after a final look at the diff.

- Spaces around `{` and `}` in HAML.
- Typo in CHANGELOG.
- Remove i18n.
This commit is contained in:
Timothy Andrew 2016-05-11 10:25:21 +05:30
parent d915e7d5ca
commit 70add1388f
3 changed files with 6 additions and 10 deletions

View file

@ -12,7 +12,7 @@ v 8.8.0 (unreleased)
- GitAccess#protected_tag? no longer loads all tags just to check if a single one exists
- Reduce delay in destroying a project from 1-minute to immediately
- Make build status canceled if any of the jobs was canceled and none failed
- Allow authentication using personal acces tokens
- Allow authentication using personal access tokens
- Upgrade Sidekiq to 4.1.2
- Sanitize repo paths in new project error message
- Bump mail_room to 0.7.0 to fix stuck IDLE connections

View file

@ -46,9 +46,9 @@
%tr
%td= token.name
%td.input-group.personal-access-tokens-token-column
%input.form-control{type: "text", value: token.token, readonly: true}
%input.form-control{ type: "text", value: token.token, readonly: true }
%div.input-group-btn
%button.btn.btn-default{type: "button", data: {clipboard_text: token.token}}
%button.btn.btn-default{ type: "button", data: { clipboard_text: token.token } }
%i.fa.fa-clipboard
%td= token.created_at.to_date
- if token.expires_at.present?
@ -56,7 +56,7 @@
- else
%td
%span.personal-access-tokens-never-expires-label Never
%td= link_to "Revoke", revoke_profile_personal_access_token_path(token), method: :put, class: "btn btn-danger", data: {confirm: t('profile.personal_access_tokens.revoke.confirmation')}
%td= link_to "Revoke", revoke_profile_personal_access_token_path(token), method: :put, class: "btn btn-danger", data: { confirm: "Are you sure? This cannot be undone." }
- else
%span You don't have any active tokens yet.
@ -78,9 +78,9 @@
%tr
%td= token.name
%td.input-group.personal-access-tokens-token-column
%input.form-control{type: "text", value: token.token, readonly: true}
%input.form-control{ type: "text", value: token.token, readonly: true }
%div.input-group-btn
%button.btn.btn-default{type: "button", data: {clipboard_text: token.token}}
%button.btn.btn-default{ type: "button", data: { clipboard_text: token.token } }
%i.fa.fa-clipboard
%td= token.created_at.to_date

View file

@ -12,7 +12,3 @@ en:
pagination:
previous: "Prev"
next: "Next"
profile:
personal_access_tokens:
revoke:
confirmation: "Are you sure? This cannot be undone."