Skip to content

Commit ed9a529

Browse files
committed
[TASK] Add country to contact widget
1 parent 2e023bb commit ed9a529

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

Configuration/Services.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ services:
6969
address: ''
7070
postalCode: ''
7171
place: ''
72+
country: ''
7273
tel: ''
7374
mail: ''
7475
website: ''

Resources/Private/Language/locallang.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
<source>Contact information</source>
7272
</trans-unit>
7373
<trans-unit id="widgets.dashboard.widget.contact.description" xml:space="preserve">
74-
<source>Will show contact information of supplier</source>
74+
<source>Will show contact information of your supplier</source>
7575
</trans-unit>
7676
</body>
7777
</file>

Resources/Private/Templates/Widget/ContactWidget.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
<f:if condition="{options.postalCode} || {options.place}">
1818
{options.postalCode} {options.place} <br/>
1919
</f:if>
20+
<f:if condition="{options.country}">
21+
{options.country} <br/>
22+
</f:if>
2023
</p>
2124
<f:if condition="{options.tel} || {options.mail}">
2225
<p>

0 commit comments

Comments
 (0)