Skip to content

Commit c9f71d6

Browse files
committed
add instagram and facebook link to weblinks widget
1 parent 02a74c6 commit c9f71d6

File tree

4 files changed

+28
-3
lines changed

4 files changed

+28
-3
lines changed

src/app/shared/widget/widgets/weblinks/widget-weblinks-small/widget-weblinks-small.component.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,19 @@
1515
[href]="meeting.data.website_url">{{ 'WIDGET.WEBLINKS.WEBSITE_LINK_TEXT' | translate }}</a>
1616
</div>
1717
}
18+
@if (meeting.data.instagram_url) {
19+
<div class="link-tile">
20+
<mat-icon>image</mat-icon>
21+
<a class="link"
22+
[href]="meeting.data.instagram_url">{{ 'WIDGET.WEBLINKS.INSTAGRAM_LINK_TEXT' | translate }}</a>
23+
</div>
24+
}
25+
@if (meeting.data.facebook_url) {
26+
<div class="link-tile">
27+
<mat-icon>post_add</mat-icon>
28+
<a class="link"
29+
[href]="meeting.data.facebook_url">{{ 'WIDGET.WEBLINKS.FACEBOOK_LINK_TEXT' | translate }}</a>
30+
</div>
31+
}
1832
</div>
1933
}

src/assets/i18n/de.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,9 @@
343343
"WEBLINKS": {
344344
"TITLE": "Links",
345345
"LIVESTREAM_LINK_TEXT": "Livestream",
346-
"WEBSITE_LINK_TEXT": "Webseite"
346+
"WEBSITE_LINK_TEXT": "Webseite",
347+
"INSTAGRAM_LINK_TEXT": "Instagram",
348+
"FACEBOOK_LINK_TEXT": "Facebook"
347349
},
348350
"SPONSORS": {
349351
"TITLE": "Sponsoren",

src/assets/i18n/en.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,9 @@
339339
"WEBLINKS": {
340340
"TITLE": "Weblinks",
341341
"LIVESTREAM_LINK_TEXT": "Livestream",
342-
"WEBSITE_LINK_TEXT": "Website"
342+
"WEBSITE_LINK_TEXT": "Website",
343+
"INSTAGRAM_LINK_TEXT": "Instagram",
344+
"FACEBOOK_LINK_TEXT": "Facebook"
343345
},
344346
"SPONSORS": {
345347
"TITLE": "Sponsors",

src/assets/i18n/ua.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,13 @@
266266
},
267267
"FILE": {
268268
"NOT_FOUND_MESSAGE": "{{filename}} не знайдено."
269+
},
270+
"WEBLINKS": {
271+
"TITLE": "Посилання",
272+
"LIVESTREAM_LINK_TEXT": "Трансляція",
273+
"WEBSITE_LINK_TEXT": "Вебсайт",
274+
"INSTAGRAM_LINK_TEXT": "Instagram",
275+
"FACEBOOK_LINK_TEXT": "Facebook"
269276
}
270277
},
271278
"ENTRY_PAGE": {
@@ -275,4 +282,4 @@
275282
"DASHBOARD": {
276283
"WELCOME_MESSAGE": "З поверненням, {{username}}!"
277284
}
278-
}
285+
}

0 commit comments

Comments
 (0)