Placeholder dialog: Add "name, email, phone snippet", fix some more missing translation issues

This commit is contained in:
nathan 2021-09-28 10:16:57 -06:00
parent a39eeef7e7
commit f6828a8205
2 changed files with 5 additions and 4 deletions

View File

@ -368,8 +368,9 @@ export class et2_placeholder_snippet_select extends et2_placeholder_select
static placeholders = {
"addressbook": {
"addresses": {
"{{n_fn}}\n{{adr_one_street}}{{NELF adr_one_street2}}\n{{adr_one_formatted}}": "Work address",
"{{org_name}}\n{{n_fn}}\n{{adr_one_street}}{{NELF adr_one_street2}}\n{{adr_one_formatted}}": "Business address",
"{{n_fn}}\n{{adr_two_street}}{{NELF adr_two_street2}}\n{{adr_two_formatted}}": "Home address",
"{{n_fn}}\n{{email}}\n{{tel_work}}": "Name, email, phone"
}
}
};
@ -490,7 +491,7 @@ export class et2_placeholder_snippet_select extends et2_placeholder_select
options.push(
{
value: key,
label: et2_placeholder_snippet_select.placeholders[appname][group][key]
label: this.egw().lang(et2_placeholder_snippet_select.placeholders[appname][group][key])
});
});
return options;

View File

@ -9,7 +9,7 @@
<select id="placeholder_list"/>
</vbox>
<hrule/>
<link-entry id="entry" label="Select entry"/>
<link-entry id="entry" label="Select entry" only_app="addressbook"/>
<hbox class="preview">
<description id="preview_content"/>
</hbox>
@ -49,7 +49,7 @@
flex-grow: 0;
}
div.et2_link_entry input.ui-autocomplete-input {
width: 75%
width: 70%
}
div.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button, button#cancel, .et2_button {
border: none;