1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
This commit is contained in:
Emelia Smith 2024-07-31 14:07:13 +00:00 committed by GitHub
commit a1225e9936
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 0 deletions

View file

@ -35,6 +35,17 @@ code {
display: none; display: none;
} }
a {
color: $highlight-text-color;
text-decoration: underline;
&:hover,
&:active,
&:focus {
text-decoration: none;
}
}
.input { .input {
margin-bottom: 16px; margin-bottom: 16px;
overflow: hidden; overflow: hidden;

View file

@ -6,6 +6,8 @@
%h3= t('doorkeeper.authorizations.new.title') %h3= t('doorkeeper.authorizations.new.title')
%p= t('doorkeeper.authorizations.new.prompt_html', client_name: content_tag(:strong, @pre_auth.client.name)) %p= t('doorkeeper.authorizations.new.prompt_html', client_name: content_tag(:strong, @pre_auth.client.name))
- if @pre_auth.client.application.owner
%p= t('doorkeeper.authorizations.new.prompt_author_html', author_profile: link_to(@pre_auth.client.application.owner.account.local_username_and_domain, account_path(@pre_auth.client.application.owner.account)))
%h3= t('doorkeeper.authorizations.new.review_permissions') %h3= t('doorkeeper.authorizations.new.review_permissions')

View file

@ -61,6 +61,7 @@ en:
title: An error has occurred title: An error has occurred
new: new:
prompt_html: "%{client_name} would like permission to access your account. It is a third-party application. <strong>If you do not trust it, then you should not authorize it.</strong>" prompt_html: "%{client_name} would like permission to access your account. It is a third-party application. <strong>If you do not trust it, then you should not authorize it.</strong>"
prompt_author_html: 'This application was created by <span class="username">@%{author_profile}</span>'
review_permissions: Review permissions review_permissions: Review permissions
title: Authorization required title: Authorization required
show: show: