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}} {{/if}}
{{nav-item route="adminWizardsLogs" label="admin.wizard.log.nav_label"}} {{nav-item route="adminWizardsLogs" label="admin.wizard.log.nav_label"}}
{{nav-item route="adminWizardsManager" label="admin.wizard.manager.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}} {{/admin-nav}}
<div class="admin-container"> <div class="admin-container">

Datei anzeigen

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