Skip to content

Commit bd4de51

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

4 files changed

Lines changed: 8 additions & 4 deletions

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: ''

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Widgets for the TYPO3 Dashboard
22
This extension contains several widgets, which can be used on the Dashboard for TYPO3. To use
3-
these widgets you need to install the TYPO3 core-extension called dashboard.
3+
these widgets you need to install the TYPO3 core-extension called dashboard.
44

55
The extension only contains widgets showing data that is available in core extensions. So for
66
these widgets no 3rd party extensions are needed.
77

88
## Overview of widgets
99
This extension currently contains the following widgets:
10-
*
10+
* **Contact information**, Will show contact information of your supplier;
1111

1212
## I miss widgets!
1313
Do you have an idea for a widget showing information that is available by core extensions, please
14-
create a new widget request with your ideas.
14+
create a new widget request with your ideas.
1515

1616
[Request new widget](https://github.com/FriendsOfTYPO3/widgets/issues/new?labels=widget&template=widget-request.md)
1717

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)