mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Placeholder dialog: Add "name, email, phone snippet", fix some more missing translation issues
This commit is contained in:
parent
a39eeef7e7
commit
f6828a8205
@ -368,8 +368,9 @@ export class et2_placeholder_snippet_select extends et2_placeholder_select
|
|||||||
static placeholders = {
|
static placeholders = {
|
||||||
"addressbook": {
|
"addressbook": {
|
||||||
"addresses": {
|
"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{{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(
|
options.push(
|
||||||
{
|
{
|
||||||
value: key,
|
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;
|
return options;
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<select id="placeholder_list"/>
|
<select id="placeholder_list"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<hrule/>
|
<hrule/>
|
||||||
<link-entry id="entry" label="Select entry"/>
|
<link-entry id="entry" label="Select entry" only_app="addressbook"/>
|
||||||
<hbox class="preview">
|
<hbox class="preview">
|
||||||
<description id="preview_content"/>
|
<description id="preview_content"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
@ -49,7 +49,7 @@
|
|||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
}
|
}
|
||||||
div.et2_link_entry input.ui-autocomplete-input {
|
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 {
|
div.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button, button#cancel, .et2_button {
|
||||||
border: none;
|
border: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user