Commit graph

24 commits

Author SHA1 Message Date
gregoirenovel
09196d12c3 Open the notice in a new tab 2018-09-21 15:57:04 +02:00
gregoirenovel
2585485370 Move the dossier-edit class directly to the _edit.html.haml template
So that when the partial included in
modifier.html.haml can also benefit from its
styling rules
2018-09-21 10:35:20 +02:00
Paul Chavard
539f15af92 Fix new lines in confirm dialogs 2018-09-19 14:45:10 +02:00
gregoirenovel
9c6a66ae75 Change the route for DossierController#modifier
If we submit the form, and there’s an error, the
URL would be `/dossiers/:id`, therefore
`dossier_path(dossier)`, so the Résumé tab would
be active, not the messagerie tab. This change
prevents this behaviour.
2018-09-07 11:30:00 +02:00
gregoirenovel
1341074325 Add DossierController#update 2018-09-07 10:19:10 +02:00
gregoirenovel
338ffb8b50 DossierController#update → #update_brouillon 2018-09-07 10:19:10 +02:00
gregoirenovel
66af573ca4 Add a warning in the attachements part of the form 2018-08-31 00:10:16 +02:00
gregoirenovel
a86e3a3156 Don’t change a button’s text when disabled after click 2018-08-23 10:59:11 +02:00
Pierre de La Morinerie
1c02eca1be dossier: disable buttons without changing the label 2018-08-08 16:06:12 +02:00
Paul Chavard
8b79c32a55 Do not rely on javascript for form submits without direct upload 2018-08-07 16:58:49 +02:00
Pierre de La Morinerie
c8409ecb89 dossier: remove route hack for show 2018-08-07 12:15:38 +02:00
Pierre de La Morinerie
1cac0b80af invite: add button for invite someone to collaborate on a draft 2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
0f1811dd4e dossier: add an button to delete a brouillon 2018-07-24 18:31:10 +02:00
gregoirenovel
ab2181ea13 [Fix #2280] Correct a typo 2018-07-20 10:23:34 +02:00
Pierre de La Morinerie
0282994990 form: move the procedure notice link to a button 2018-07-11 17:13:18 +02:00
Pierre de La Morinerie
e5de401107 form: make the sample asterisk also red 2018-07-09 18:34:33 +02:00
gregoirenovel
bae4cd4f59 Fix a typo 2018-07-04 17:42:20 +02:00
Pierre de La Morinerie
f781399309 form: validate forms only when submitting dossier, not on draft saves 2018-07-02 12:30:27 +02:00
Mathieu Magnin
e694e7f9b9 [Fix #2145] When procedure is archived, usager should see a message explaining dossier submission is closed 2018-07-02 11:10:34 +02:00
Pierre de La Morinerie
426e61777c dossier: make the "Save changes" button title more meaningful 2018-06-19 13:46:43 +02:00
Pierre de La Morinerie
a4382ac198 dossiers: asterisque -> astérisque 2018-06-19 13:46:43 +02:00
gregoirenovel
4e9565a5df Adds User#owns? 2018-05-31 14:39:43 +02:00
simon lehericey
366ef2d2b5 Procedure: add new preview view 2018-04-24 16:54:05 +02:00
simon lehericey
1da69a7730 Dossier: extract edition view to shared template 2018-04-24 16:50:32 +02:00