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

implemented feedback from Marc towards current UI

Jonas Jabari3b68035ce83d
diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml
index 46f45cf61ba..58d3b6f6a92 100644
--- a/config/locales/js-en.yml
+++ b/config/locales/js-en.yml
@@ -1150,7 +1150,7 @@ en:
save_as: "Save as ..."
export: "Export ..."
visibility_settings: "Visibility settings ..."
- share_calendar: "Share calendar ..."
+ share_calendar: "Share iCalendar ..."
page_settings: "Rename view ..."
delete: "Delete"
filter: "Filter"
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 54e2fdb7070..674fffd1fea 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
@@ -8,10 +8,9 @@
<div class="spot-modal--body spot-container">
<p>
- {{text.description_ical_sharing}}
- </p>
- <p class="ical-url">
- <a href="{{icalUrl}}" target="_blank">{{icalUrl}}</a>
+ {{text.description_ical_sharing_1}}
+ <a href="{{icalUrl}}" target="_blank">iCalendar URL</a>
+ {{text.description_ical_sharing_2}}
</p>
</div>
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 f235948d128..cbcc4f78385 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
@@ -54,8 +54,9 @@ export class QueryGetIcalUrlModalComponent extends OpModalComponent implements O
public icalUrl: string;
public text = {
- label_ical_sharing: 'Share calendar', // TODO: translate
- description_ical_sharing: 'You can share and import this calendar by using the following iCalendar URL:', // TODO: translate
+ 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
button_copy: 'Copy URL', // TODO: translate
copy_success_text: 'URL copied to clipboard', // TODO: translate
button_cancel: this.I18n.t('js.button_cancel'),
diff --git a/modules/calendar/spec/features/calendar_sharing_spec.rb b/modules/calendar/spec/features/calendar_sharing_spec.rb
index 896d752f2a5..ce862ce5513 100644
--- a/modules/calendar/spec/features/calendar_sharing_spec.rb
+++ b/modules/calendar/spec/features/calendar_sharing_spec.rb
@@ -73,9 +73,9 @@ describe 'Calendar sharing via ical', js: true do
# # expect disabled sharing menu item
# within "#settingsDropdown" do
- # # expect(page).to have_button("Share calendar ...", disabled: true) # disabled selector not working
- # expect(page).to have_selector(".menu-item.inactive", text: "Share calendar ...")
- # page.click_button("Share calendar ...")
+ # # expect(page).to have_button("Share iCalendar ...", disabled: true) # disabled selector not working
+ # expect(page).to have_selector(".menu-item.inactive", text: "Share iCalendar ...")
+ # page.click_button("Share iCalendar ...")
# # modal should not be shown
# expect(page).not_to have_selector('.spot-modal--header', text: "Share calendar")
@@ -105,9 +105,9 @@ describe 'Calendar sharing via ical', js: true do
# expect disabled sharing menu item
within "#settingsDropdown" do
- # expect(page).to have_button("Share calendar ...", disabled: true) # disabled selector not working
- expect(page).to have_selector(".menu-item", text: "Share calendar ...")
- page.click_button("Share calendar ...")
+ # expect(page).to have_button("Share iCalendar ...", disabled: true) # disabled selector not working
+ expect(page).to have_selector(".menu-item", text: "Share iCalendar ...")
+ page.click_button("Share iCalendar ...")
end