[Feature] Create plan from link (#2284)
* Added direct link for plan creation from templates list * Moved link generation to helper * Added modal for link copy * Added JS for link copy * Improved modal style and moved it to a partial * Added template link copy to admin area (organisation templates) * Added confirmation modal for creation link * Minor changes for direct_link helper * Fixed typo in YARD doc |
---|
|
app/controllers/plans_controller.rb |
---|
app/helpers/template_helper.rb |
---|
app/javascript/packs/application.js |
---|
app/javascript/views/plans/index.js |
---|
app/javascript/views/public_templates/show.js 0 → 100644 |
---|
app/views/paginable/templates/_organisational.html.erb |
---|
app/views/paginable/templates/_publicly_visible.html.erb |
---|
app/views/plans/index.html.erb |
---|
app/views/shared/_copy_link_modal.html.erb 0 → 100644 |
---|
app/views/shared/_create_plan_modal.html.erb 0 → 100644 |
---|