This commit is contained in:
Emelia Smith 2024-07-24 03:38:17 +02:00
parent 8b7f93cc7f
commit 7ad62051b7
No known key found for this signature in database
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: