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 "Use ClipboardCopy to provide copyable link to location"
Oliver Güntherf8b746afbfce
diff --git a/modules/meeting/app/components/meetings/sidebar/details_component.html.erb b/modules/meeting/app/components/meetings/sidebar/details_component.html.erbindex 94c01d2d981..8bcb54ec4b2 100644--- a/modules/meeting/app/components/meetings/sidebar/details_component.html.erb+++ b/modules/meeting/app/components/meetings/sidebar/details_component.html.erb@@ -70,25 +70,17 @@if @meeting.location.present?details.with_row(mt: 2) do- flex_layout(align_items: :center) do |location|- location.with_column do- if @meeting.location.include?("http")- render_meeting_attribute_row(:link) do- render(Primer::Beta::Link.new(href: @meeting.location, target: "_blank")) do- render_truncated_location- end- end- else- render_meeting_attribute_row(:location) do- render(Primer::Beta::Text.new) do- render_truncated_location- end- end+ if @meeting.location.include?("http")+ render_meeting_attribute_row(:link) do+ render(Primer::Beta::Link.new(href: @meeting.location, target: "_blank")) do+ render_truncated_locationendend- location.with_column(ml: 1) do- render(Primer::Beta::ClipboardCopy.new(value: @meeting.location,- "aria-label": I18n.t(:button_copy_to_clipboard)))+ else+ render_meeting_attribute_row(:location) do+ render(Primer::Beta::Text.new) do+ render_truncated_location+ endendendend