1
0
Fork 0

Update composer style and text usage to match the standard composer

Dieser Commit ist enthalten in:
Angus McLeod 2020-10-06 20:47:40 +11:00
Ursprung 55d7059469
Commit 6297ddaa03
3 geänderte Dateien mit 5 neuen und 13 gelöschten Zeilen

Datei anzeigen

@ -1,21 +1,21 @@
<div class="wizard-composer-hyperlink-contents"> <div class="wizard-composer-hyperlink-contents">
<h3>{{i18n "wizard_composer.insert_hyperlink.heading"}}</h3> <h3>{{i18n "composer.link_dialog_title"}}</h3>
{{input {{input
class="composer-link-name" class="composer-link-name"
placeholder=(i18n 'wizard_composer.insert_hyperlink.placeholder.link_name') placeholder=(i18n 'composer.link_optional_text')
type="text" type="text"
value=linkName}} value=linkName}}
{{input {{input
class="composer-link-url" class="composer-link-url"
placeholder=(i18n 'wizard_composer.insert_hyperlink.placeholder.link_url') placeholder=(i18n 'composer.link_url_placeholder')
type="text" type="text"
value=linkUrl}} value=linkUrl}}
{{d-button {{d-button
label="wizard_composer.insert_hyperlink.ok" label="wizard_composer.modal_ok"
class="add-link btn-primary" class="add-link btn-primary"
click=(action 'addLink')}} click=(action 'addLink')}}
{{d-button {{d-button
label="wizard_composer.insert_hyperlink.cancel" label="wizard_composer.modal_cancel"
class="hide-hyperlink-box btn-danger" class="hide-hyperlink-box btn-danger"
click=(action 'hideBox')}} click=(action 'hideBox')}}
</div> </div>

Datei anzeigen

@ -108,7 +108,6 @@
width: 1px; width: 1px;
height: 20px; height: 20px;
margin: 0 5px; margin: 0 5px;
background-color: var(--primary);
display: inline-block; display: inline-block;
} }

Datei anzeigen

@ -455,10 +455,3 @@ en:
yourself_confirm: yourself_confirm:
title: "Did you forget to add recipients?" title: "Did you forget to add recipients?"
body: "Right now this message is only being sent to yourself!" body: "Right now this message is only being sent to yourself!"
insert_hyperlink:
heading: "Insert Hyperlink"
ok: "Ok"
cancel: "Cancel"
placeholder:
link_name: "Link Text"
link_url: "Link Url"