[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
dev
1 parent 9d44a0a commit b6dbf60ad5b1eb941224ab1fc03e5ca7aad23dbe
@Benjamin FAURE Benjamin FAURE authored on 27 Nov 2019
Sam Rust committed on 27 Nov 2019
Showing 10 changed files
View
app/controllers/plans_controller.rb
View
app/helpers/template_helper.rb
View
app/javascript/packs/application.js
View
app/javascript/views/plans/index.js
View
app/javascript/views/public_templates/show.js 0 → 100644
View
app/views/paginable/templates/_organisational.html.erb
View
app/views/paginable/templates/_publicly_visible.html.erb
View
app/views/plans/index.html.erb
View
app/views/shared/_copy_link_modal.html.erb 0 → 100644
View
app/views/shared/_create_plan_modal.html.erb 0 → 100644