mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 22:25:30 +08:00
14 lines
735 B
Text
14 lines
735 B
Text
<div class="task-sharing-and-flows flex items-center gap-2 pl-3">
|
|
<%= 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") %>
|
|
<% if current_team.shareable_links_enabled? && can_share_my_module?(@my_module) %>
|
|
<div id="share-task-container" data-behaviour="vue">
|
|
<share-task-container
|
|
shareable-link-url="<%= my_module_shareable_link_path(@my_module) %>"
|
|
:shared="<%= @my_module.shared? %>"
|
|
:disabled="<%= !can_share_my_module?(@my_module) %>" />
|
|
</div>
|
|
|
|
<%= javascript_include_tag 'vue_share_task_container' %>
|
|
<% end %>
|
|
</div>
|