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

Merge branch 'dev' into implementation/48114-create-meetings-outside-of-a-project

Aaron Contreras32e6f9efce38
diff --cc frontend/src/app/shared/components/autocompleter/project-autocompleter/project-autocompleter.component.html
index a8e90eafaa4,b1cfd9b3eb4..e42b12e53f4
--- a/frontend/src/app/shared/components/autocompleter/project-autocompleter/project-autocompleter.component.html
+++ b/frontend/src/app/shared/components/autocompleter/project-autocompleter/project-autocompleter.component.html
@@@ -8,9 -8,9 +8,10 @@@
[focusDirectly]="focusDirectly"
[openDirectly]="openDirectly"
[labelForId]="labelForId"
+ [placeholder]="placeholder"
[dropdownPosition]="dropdownPosition"
+ [clearable]="clearable"
[appendTo]="appendTo"
diff --cc modules/meeting/app/controllers/meetings_controller.rb
index 9c6cc41aaca,5573255931f..c936860c80c
--- a/modules/meeting/app/controllers/meetings_controller.rb
+++ b/modules/meeting/app/controllers/meetings_controller.rb
@@@ -37,7 -37,7 +37,8 @@@ class MeetingsController < ApplicationC
helper :watchers
helper :meeting_contents
+ include MeetingsHelper
+ include Layout
include WatchersHelper
include PaginationHelper
include SortHelper
diff --cc modules/meeting/app/views/meetings/index.html.erb
index 6db164c86c0,695d5574378..5e3244fdd18
--- a/modules/meeting/app/views/meetings/index.html.erb
+++ b/modules/meeting/app/views/meetings/index.html.erb
@@@ -26,13 -26,21 +26,10 @@@ Foundation, Inc., 51 Franklin Street, F
See COPYRIGHT and LICENSE files for more details.
++#%>
-
<% html_title t(:label_meeting_plural) %>
-
<%= toolbar title: t(:label_meeting_plural) do %>
- <% if authorize_for(:meetings, :new) %>
- <li class="toolbar-item">
- <a href="<%= new_meeting_path %>"
- id="add-meeting-button"
- title="<%= I18n.t(:label_meeting_new) %>"
- arial-label="<%= I18n.t(:label_meeting_new) %>"
- class="button -alt-highlight">
- <%= op_icon('button--icon icon-add') %>
- <span class="button--text"><%= t(:label_meeting) %></span>
- </a>
- </li>
- <% end %>
+ <%= render Meetings::AddButtonComponent.new(current_project: @project) %>
<% end %>
-
<% if @meetings.empty? -%>
<%= no_results_box %>
<% else -%>