Skip to content

Commit 2859a3a

Browse files
committed
[TASK] Standardise the spelling of ViewHelpers to lowerCamelCase
It is common practice to write ViewHelpers in Fluid templates in lowerCamelCase. Adherence to this standard also supports code completion in IDEs, for example.
1 parent d447452 commit 2859a3a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Resources/Private/Partials/Form/Page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<f:for each="{page.fields}" as="field" iteration="iteration">
88
<vh:misc.createRowTags columns="{settings.styles.numberOfColumns}" class="{settings.styles.framework.rowClasses}" iteration="{iteration}">
9-
<f:render partial="Form/Field/{vh:String.Upper(string:field.type)}" arguments="{field:field}"/>
9+
<f:render partial="Form/Field/{vh:string.upper(string:field.type)}" arguments="{field:field}"/>
1010
</vh:misc.createRowTags>
1111
</f:for>
1212

Resources/Private/Templates/Form/PowermailAll.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
<f:section name="mail">
3838
<table class="powermail_all">
3939
<f:for each="{mail.answers}" as="answer">
40-
<f:if condition="{vh:Condition.isNotExcludedFromPowermailAll(answer:answer, type:type, settings:settings)}">
40+
<f:if condition="{vh:condition.isNotExcludedFromPowermailAll(answer:answer, type:type, settings:settings)}">
4141
<f:if condition="{settings.misc.showOnlyFilledValues}">
4242
<f:then>
43-
<f:if condition="{vh:Condition.IsNotEmpty(val:'{answer.value}')}">
43+
<f:if condition="{vh:condition.isNotEmpty(val:'{answer.value}')}">
4444
<f:render partial="PowermailAll/Mail" arguments="{_all}" />
4545
</f:if>
4646
</f:then>

Resources/Private/Templates/Module/ExportXls.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<th>
1919
<f:if condition="{vh:condition.isNumber(val:fieldUid)}">
2020
<f:then>
21-
<vh:Getter.GetFieldLabelFromUid uid="{fieldUid}" />
21+
<vh:getter.getFieldLabelFromUid uid="{fieldUid}" />
2222
</f:then>
2323
<f:else>
2424
<f:translate key="\In2code\Powermail\Domain\Model\Mail.{vh:string.underscoredToLowerCamelCase(val:fieldUid)}" extensionName="powermail" />
@@ -65,7 +65,7 @@
6565
<f:format.date format="%M:%S"><vh:misc.variableInVariable obj="{mail}" prop="{fieldUid}" /></f:format.date>
6666
</f:then>
6767
<f:else>
68-
<f:format.date format="H:i:s"><vh:Misc.VariableInVariable obj="{mail}" prop="{fieldUid}" /></f:format.date>
68+
<f:format.date format="H:i:s"><vh:misc.variableInVariable obj="{mail}" prop="{fieldUid}" /></f:format.date>
6969
</f:else>
7070
</f:if>
7171
</f:else>

0 commit comments

Comments
 (0)