-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev/core#527 Add in abiity to set translated text for Submit and Canc… #13185
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,10 +47,12 @@ | |
{else} | ||
<table class="form-layout"> | ||
{foreach from=$entityFields item=fieldSpec} | ||
{assign var=fieldName value=$fieldSpec.name} | ||
<tr class="crm-{$entityInClassFormat}-form-block-{$fieldName}"> | ||
{include file="CRM/Core/Form/Field.tpl"} | ||
</tr> | ||
{if not in_array($fieldSpec.name, $advancedFieldsConverted)} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This ensures that the new fields don't show on the main part of the form as well as on the advanced settings section There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not hugely important but I think !in_array would be more consistent with elsewhere than 'not' |
||
{assign var=fieldName value=$fieldSpec.name} | ||
<tr class="crm-{$entityInClassFormat}-form-block-{$fieldName}"> | ||
{include file="CRM/Core/Form/Field.tpl"} | ||
</tr> | ||
{/if} | ||
{/foreach} | ||
<tr class="crm-uf_group-form-block-weight" > | ||
<td class="label">{$form.weight.label}{if $config->userSystem->is_drupal EQ '1'} {help id='id-profile_weight' file="CRM/UF/Form/Group.hlp"}{/if}</td> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eileenmcnaughton note the class here is because of some javascript that hides all cancel button sections if the show cancel button field is not checked