mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
5f22828fe5
Supports customization (or removal) of separator.
18 lines
478 B
Plaintext
18 lines
478 B
Plaintext
<% unless check_all_button? %>
|
|
<% with_check_all_button { I18n.t(:button_check_all) } # set the default %>
|
|
<% end %>
|
|
|
|
<% unless uncheck_all_button? %>
|
|
<% with_uncheck_all_button { I18n.t(:button_uncheck_all) } # set the default %>
|
|
<% end %>
|
|
|
|
<% unless separator? %>
|
|
<% with_separator { "|" } # set the default %>
|
|
<% end %>
|
|
|
|
<%= render(Primer::BaseComponent.new(**@system_arguments)) do %>
|
|
<%= check_all_button %>
|
|
<%= separator %>
|
|
<%= uncheck_all_button %>
|
|
<% end %>
|