2023-09-20 18:30:15 +08:00
|
|
|
<div class="task-sharing-and-flows flex items-center gap-2 pl-3">
|
2023-08-23 20:02:11 +08:00
|
|
|
<%= render partial: 'my_modules/status_flow/task_flow_button', locals: { my_module: @my_module } if @my_module.my_module_status_flow %>
|
|
|
|
<%= javascript_include_tag("my_modules/status_flow") %>
|
2023-10-06 19:53:39 +08:00
|
|
|
<% if current_team.shareable_links_enabled? && can_share_my_module?(@my_module) %>
|
2023-08-23 20:02:11 +08:00
|
|
|
<div class="share-task-container" data-behaviour="vue">
|
|
|
|
<share-task-container
|
|
|
|
shareable-link-url="<%= my_module_shareable_link_path(@my_module) %>"
|
2023-10-12 21:36:00 +08:00
|
|
|
:shared="<%= @my_module.shared? %>"
|
|
|
|
:disabled="<%= !can_share_my_module?(@my_module) %>" />
|
2023-08-23 20:02:11 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<%= javascript_include_tag 'vue_share_task_container' %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|