Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added alert for holiday camps on preview page #769

Merged
merged 3 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions dist/udb3-angular.js

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

26 changes: 13 additions & 13 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
Loading