Skip to content

Commit

Permalink
Merge pull request #769 from cultuurnet/feature/III-4920
Browse files Browse the repository at this point in the history
  • Loading branch information
Anahkiasen authored Feb 6, 2024
2 parents 061be0f + 205c0b7 commit 20a2f64
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 21 deletions.
15 changes: 11 additions & 4 deletions dist/udb3-angular.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 14 additions & 14 deletions dist/udb3-angular.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/core/translations/dutch-translations.constant.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,8 @@ angular.module('udb.core')
'no_videos': 'Geen video\'s',
'publiq_url': 'Bekijk op {{publicationBrand}}',
'translate': 'Vertalen',
'info_lesson_series': 'Je lessenreeks verschijnt in UiTagenda\'s tot aan het eerste lesmoment.'
'info_lesson_series': 'Je lessenreeks verschijnt in UiTagenda\'s tot aan het eerste lesmoment.',
'info_holiday_camp': 'Je kamp of vakantie verschijnt in UiTagenda\'s tot aan de startdag.'
},
translate: {
'ready': 'Klaar met vertalen',
Expand Down
3 changes: 2 additions & 1 deletion src/core/translations/french-translations.constant.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,8 @@ angular.module('udb.core')
'no_videos': 'Aucune vidéo',
'publiq_url': 'Voir sur {{publicationBrand}}',
'translate': 'Traduire',
'info_lesson_series': 'Votre série de cours apparaît dans les agendas UiT jusqu\'au premier moment de la cours.'
'info_lesson_series': 'Votre série de cours apparaît dans les agendas UiT jusqu\'au premier moment de la cours.',
'info_holiday_camp': 'Votre camp de vacances apparaîtront dans des calendriers en ligne jusqu\'au jour du début.'
},
translate: {
'ready': 'Prêt à traduire',
Expand Down
3 changes: 2 additions & 1 deletion src/core/translations/german-translations.constant.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,8 @@ angular.module('udb.core').constant('udbGermanTranslations', {
'no_videos': 'Keine Videos',
'publiq_url': 'Auf {{publicationBrand}}ansehen',
'translate': 'Übersetzen',
'info_lesson_series': 'Ihre Unterrichtsreihe erscheint bis zum ersten Unterrichtszeitpunkt in UiT-Agenden.'
'info_lesson_series': 'Ihre Unterrichtsreihe erscheint bis zum ersten Unterrichtszeitpunkt in UiT-Agenden.',
'info_holiday_camp': 'Ihr Camp oder Urlaub wird bis zum Starttag in online Agendas angezeigt.'
},
'translate': {
'ready': 'Fertig mit übersetzen',
Expand Down
1 change: 1 addition & 0 deletions src/event-detail/ui/event-detail.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ function EventDetail(

var eventTypeId = $scope.event.type.id;
$scope.isLessonSeries = eventTypeId === '0.3.1.0.0';
$scope.isHolidayCamp = eventTypeId === '0.57.0.0.0';

hasContactPoint();
hasBookingInfo();
Expand Down
3 changes: 3 additions & 0 deletions src/event-detail/ui/event-detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ <h1 class="title" ng-bind="::event.name"></h1>
<div ng-if="isLessonSeries" class="alert alert-info lesson-series-info">
<p translate-once="preview.info_lesson_series"></p>
</div>
<div ng-if="isHolidayCamp" class="alert alert-info lesson-series-info">
<p translate-once="preview.info_holiday_camp"></p>
</div>
</td>
</tr>
<tr ng-class="::{muted: (!event.organizer)}">
Expand Down

0 comments on commit 20a2f64

Please sign in to comment.