added help to twingle IDs
This commit is contained in:
parent
d12094aa52
commit
33c81951fc
3 changed files with 23 additions and 2 deletions
|
@ -179,7 +179,7 @@ class CRM_Twingle_Form_Profile extends CRM_Core_Form {
|
||||||
'text', // field type
|
'text', // field type
|
||||||
'selector', // field name
|
'selector', // field name
|
||||||
E::ts('Project IDs'), // field label
|
E::ts('Project IDs'), // field label
|
||||||
array(),
|
['class' => 'huge'],
|
||||||
TRUE // is required
|
TRUE // is required
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,11 @@
|
||||||
{ts domain="de.systopia.twingle"}Select which location type to use for addresses for individuals, either when no organisation name is specified, or an organisation address can not be shared with the individual contact.{/ts}
|
{ts domain="de.systopia.twingle"}Select which location type to use for addresses for individuals, either when no organisation name is specified, or an organisation address can not be shared with the individual contact.{/ts}
|
||||||
{/htxt}
|
{/htxt}
|
||||||
|
|
||||||
|
{htxt id='id-project_ids'}
|
||||||
|
{ts domain="de.systopia.twingle"}Put your project's Twingle ID in here, to activate this profile for that project.{/ts}
|
||||||
|
{ts domain="de.systopia.twingle"}You can also provide multiple project IDs separated by a comma.{/ts}
|
||||||
|
{/htxt}
|
||||||
|
|
||||||
{htxt id='id-location_type_id_organisation'}
|
{htxt id='id-location_type_id_organisation'}
|
||||||
{ts domain="de.systopia.twingle"}Select which location type to use for addresses for organisations and shared organisation addresses for individual contacts.{/ts}
|
{ts domain="de.systopia.twingle"}Select which location type to use for addresses for organisations and shared organisation addresses for individual contacts.{/ts}
|
||||||
{/htxt}
|
{/htxt}
|
||||||
|
|
|
@ -28,7 +28,23 @@
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr class="crm-section">
|
<tr class="crm-section">
|
||||||
<td class="label">{$form.selector.label}</td>
|
<td class="label">{$form.selector.label}
|
||||||
|
<a
|
||||||
|
onclick='
|
||||||
|
CRM.help(
|
||||||
|
"{ts domain="de.systopia.twingle"}Project IDs{/ts}",
|
||||||
|
{literal}{
|
||||||
|
"id": "id-project_ids",
|
||||||
|
"file": "CRM\/Twingle\/Form\/Profile"
|
||||||
|
}{/literal}
|
||||||
|
);
|
||||||
|
return false;
|
||||||
|
'
|
||||||
|
href="#"
|
||||||
|
title="{ts domain="de.systopia.twingle"}Help{/ts}"
|
||||||
|
class="helpicon"
|
||||||
|
></a>
|
||||||
|
</td>
|
||||||
<td class="content">{$form.selector.html}</td>
|
<td class="content">{$form.selector.html}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue