Skip to content

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

added warning text in ical sharing modal as requested

Jonas Jabari533dcc3c53bc
diff --git a/frontend/src/app/shared/components/modals/get-ical-url-modal/query-get-ical-url.modal.html b/frontend/src/app/shared/components/modals/get-ical-url-modal/query-get-ical-url.modal.html
index 674fffd1fea..346df80cc9d 100644
--- a/frontend/src/app/shared/components/modals/get-ical-url-modal/query-get-ical-url.modal.html
+++ b/frontend/src/app/shared/components/modals/get-ical-url-modal/query-get-ical-url.modal.html
@@ -12,8 +12,17 @@
<a href="{{icalUrl}}" target="_blank">iCalendar URL</a>
{{text.description_ical_sharing_2}}
</p>
+ <div tabindex="0" class="-error op-toast">
+ <div role="alert" aria-atomic="true" class="op-toast--content">
+ <p>
+ <span>{{text.ical_sharing_warning}}</span>
+ </p>
+ </div>
+ </div>
</div>
+
+
<div class="spot-action-bar">
<div class="spot-action-bar--right">
<button class="button button_no-margin spot-modal--cancel-button spot-action-bar--action"
diff --git a/frontend/src/app/shared/components/modals/get-ical-url-modal/query-get-ical-url.modal.ts b/frontend/src/app/shared/components/modals/get-ical-url-modal/query-get-ical-url.modal.ts
index cbcc4f78385..dacaa157317 100644
--- a/frontend/src/app/shared/components/modals/get-ical-url-modal/query-get-ical-url.modal.ts
+++ b/frontend/src/app/shared/components/modals/get-ical-url-modal/query-get-ical-url.modal.ts
@@ -56,7 +56,8 @@ export class QueryGetIcalUrlModalComponent extends OpModalComponent implements O
public text = {
label_ical_sharing: 'Share iCalendar', // TODO: translate
description_ical_sharing_1: 'You can use the', // TODO: translate
- description_ical_sharing_2: 'to import or subscribe to this calendar in your favourite calendar client and view up-to-date work package information from there.', // TODO: translate
+ description_ical_sharing_2: 'to import or subscribe to this calendar in an external client and view up-to-date work package information from there.', // TODO: translate
+ ical_sharing_warning: 'You can also share this URL with external users. However, anyone with this link will be able to view work package details without an account or password.', // TODO: translate
button_copy: 'Copy URL', // TODO: translate
copy_success_text: 'URL copied to clipboard', // TODO: translate
button_cancel: this.I18n.t('js.button_cancel'),