scinote-web/app/views/my_modules/_task_flow_and_sharing.html.erb

15 lines
724 B
Plaintext

<div class="task-sharing-and-flows ml-auto flex items-center gap-2">
<%= 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? %>
<div class="share-task-container" data-behaviour="vue">
<share-task-container
<%= 'shared' if @my_module.shared? %>
shareable-link-url="<%= my_module_shareable_link_path(@my_module) %>"
<%= 'disabled' if !can_manage_my_module?(current_user, @my_module) %> />
</div>
<%= javascript_include_tag 'vue_share_task_container' %>
<% end %>
</div>