scinote-web/app/views/shareable_links/my_modules/_welcome_modal.html.erb

22 lines
1 KiB
Text
Raw Normal View History

<div class="modal in centered-modal" id="shareable-link-welcome-modal" tabindex="-1" role="dialog" aria-labelledby="shareable-link-welcome-modal-label">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="shareable-link-welcome-modal-label">
<%= t("shareable_links.welcome_modal.title")%>
</h4>
</div>
<div class="modal-body">
<p class="text-sm"><%= t("shareable_links.welcome_modal.description", my_module: @my_module.name)%></p>
<% if @shareable_link.description.present? %>
<p class="text-sm"><%= @shareable_link.description %></p>
<% end %>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal"><%= t("shareable_links.welcome_modal.view_task_btn")%></button>
</div>
</div>
</div>
</div>