1
0
Fork 0

Add support button to admin-nav

Dieser Commit ist enthalten in:
Keegan George 2021-06-08 15:48:55 -07:00
Ursprung 522d4e9489
Commit 4c923e17d7
3 geänderte Dateien mit 76 neuen und 52 gelöschten Zeilen

Datei anzeigen

@ -7,6 +7,26 @@
{{/if}}
{{nav-item route="adminWizardsLogs" label="admin.wizard.log.nav_label"}}
{{nav-item route="adminWizardsManager" label="admin.wizard.manager.nav_label"}}
<div class="admin-actions">
<a
target="_blank"
class="btn-primary btn btn-icon-text"
href={{
i18n "admin.wizard.support_button.url" name=wizard.support_button.url
}}
title={{
i18n
"admin.wizard.support_button.title"
name=wizard.support_button.title
}}
>
{{d-icon "far-life-ring"}}{{i18n
"admin.wizard.support_button.title"
name=wizard.support_button.title
}}
</a>
</div>
{{/admin-nav}}
<div class="admin-container">

Datei anzeigen

@ -48,8 +48,8 @@ en:
translation_placeholder: "key"
type: "Type"
none: "Make a selection"
submission_key: 'submission key'
param_key: 'param'
submission_key: "submission key"
param_key: "param"
group: "Group"
permitted: "Permitted"
advanced: "Advanced"
@ -58,6 +58,9 @@ en:
select_type: "Select a type"
condition: "Condition"
index: "Index"
support_button:
title: "Request Support"
url: "https://thepavilion.io/w/bug-report/steps/plugin"
message:
wizard:
@ -100,14 +103,14 @@ en:
input:
conditional:
name: 'if'
output: 'then'
name: "if"
output: "then"
assignment:
name: 'set'
name: "set"
association:
name: 'map'
name: "map"
validation:
name: 'ensure'
name: "ensure"
selector:
label:
@ -219,14 +222,14 @@ en:
or: "or"
then: "then"
set: "set"
equal: '='
greater: '>'
less: '<'
greater_or_equal: '>='
less_or_equal: '<='
regex: '=~'
association: '→'
is: 'is'
equal: "="
greater: ">"
less: "<"
greater_or_equal: ">="
less_or_equal: "<="
regex: "=~"
association: "→"
is: "is"
action:
header: "Actions"
@ -356,38 +359,38 @@ en:
api:
label: "API"
nav_label: 'APIs'
nav_label: "APIs"
select: "Select API"
create: "Create API"
new: 'New API'
new: "New API"
name: "Name (can't be changed)"
name_placeholder: 'Underscored'
title: 'Title'
title_placeholder: 'Display name'
remove: 'Delete'
name_placeholder: "Underscored"
title: "Title"
title_placeholder: "Display name"
remove: "Delete"
save: "Save"
auth:
label: "Authorization"
btn: 'Authorize'
btn: "Authorize"
settings: "Settings"
status: "Status"
redirect_uri: "Redirect url"
type: 'Type'
type_none: 'Select a type'
type: "Type"
type_none: "Select a type"
url: "Authorization url"
token_url: "Token url"
client_id: 'Client id'
client_secret: 'Client secret'
username: 'username'
password: 'password'
client_id: "Client id"
client_secret: "Client secret"
username: "username"
password: "password"
params:
label: 'Params'
new: 'New param'
label: "Params"
new: "New param"
status:
label: "Status"
authorized: 'Authorized'
authorized: "Authorized"
not_authorized: "Not authorized"
code: "Code"
access_token: "Access token"

Datei anzeigen

@ -33,6 +33,7 @@ if respond_to?(:register_svg_icon)
register_svg_icon "chevron-right"
register_svg_icon "chevron-left"
register_svg_icon "save"
register_svg_icon "far-life-ring"
end
after_initialize do