OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Revert "fixup! [#44898] Enterprise page on the Notification Centre - Animation"
ulferts17dcc5665516
diff --git a/frontend/src/app/features/in-app-notifications/date-alerts-upsale/ian-date-alerts-upsale.component.ts b/frontend/src/app/features/in-app-notifications/date-alerts-upsale/ian-date-alerts-upsale.component.tsindex 906252aebbe..0275a1c03c5 100644--- a/frontend/src/app/features/in-app-notifications/date-alerts-upsale/ian-date-alerts-upsale.component.ts+++ b/frontend/src/app/features/in-app-notifications/date-alerts-upsale/ian-date-alerts-upsale.component.ts@@ -8,7 +8,7 @@ import { videoPath } from 'core-app/shared/helpers/videos/path-helper';changeDetection: ChangeDetectionStrategy.OnPush,})export class InAppNotificationsDateAlertsUpsaleComponent {- video = videoPath('enterprise/date-alert-notifications.mp4');+ video = videoPath('notification-center/date-alert-notifications.mp4');text = {title: this.I18n.t('js.notifications.date_alerts.upsale.title'),diff --git a/frontend/src/app/shared/components/enterprise-page/enterprise-page.component.html b/frontend/src/app/shared/components/enterprise-page/enterprise-page.component.htmlindex 82b0fa05c71..14d8e6aa2d4 100644--- a/frontend/src/app/shared/components/enterprise-page/enterprise-page.component.html+++ b/frontend/src/app/shared/components/enterprise-page/enterprise-page.component.html@@ -12,7 +12,8 @@<p class="upsale--feature-reference"[textContent]="more_info"></p>- <video width="400" *ngIf="feature_video" autoplay="autoplay" loop="loop" muted="muted" class="widget-box--teaser-video" [src]="feature_video">+ <video width="400" *ngIf="feature_video" autoplay loop muted class="widget-box--teaser-video">+ <source [src]="feature_video" type="video/mp4"></video><img [src]="feature_image" class="widget-box--teaser-image" *ngIf="feature_image">diff --git a/frontend/src/app/shared/helpers/videos/path-helper.ts b/frontend/src/app/shared/helpers/videos/path-helper.tsindex e61d8bbe136..baba7e705b5 100644--- a/frontend/src/app/shared/helpers/videos/path-helper.ts+++ b/frontend/src/app/shared/helpers/videos/path-helper.ts@@ -2,14 +2,14 @@* Returns an absolute asset path from the assets/videos/ folder** e.g., to access:- * app/assets/videos/enterprise/date-alert-notification-settings.mp4+ * frontend/src/assets/videos/enterprise/date-alert-notification-settings.mp4** use* imagePath('enterprise/date-alert-notification-settings.mp4')**- * @param video Path to the video starting from app/assets/videos+ * @param video Path to the video starting from frontend/src/assets/videos*/export function videoPath(video:string):string {- return `/assets/${video}`;+ return `${__webpack_public_path__}assets/videos/${video}`;}diff --git a/app/assets/videos/enterprise/date-alert-notifications.mp4 b/frontend/src/assets/videos/notification-center/date-alert-notifications.mp4similarity index 100%rename from app/assets/videos/enterprise/date-alert-notifications.mp4rename to frontend/src/assets/videos/notification-center/date-alert-notifications.mp4