Commit graph

176 commits

Author SHA1 Message Date
Paul Chavard
1af4b2aa6e Fix transfer modal not opening 2018-08-23 11:22:03 +02:00
gregoirenovel
a86e3a3156 Don’t change a button’s text when disabled after click 2018-08-23 10:59:11 +02:00
Paul Chavard
e1f1827320 Replace typeahead with simpler autocomplete 2018-08-22 17:17:33 +02:00
Paul Chavard
b57c22cafe Refactor publish dialog 2018-08-14 16:39:11 +02:00
Paul Chavard
ea68c75361 Use delegated events instead of local handlers 2018-08-13 08:34:10 +02:00
Paul Chavard
8bf5dedd80 Ruby helpers for js.erb responses 2018-08-13 08:34:10 +02:00
Paul Chavard
8625c9d0bc Make right click work on procedure list links 2018-08-08 12:19:19 +02:00
Pierre de La Morinerie
f55f949b58 admin: disable fade on publish modal
It makes Capybara tests brittle.
2018-08-07 14:28:52 +02:00
Pierre de La Morinerie
b0a9e49549 procedures: group new_from_existing list by organization
As procedures are not grouped by Service (which are unique to an
administrator) but by organization, this allows procedures with the same
organization name to be displayed together.
2018-07-03 23:43:42 +02:00
Paul Chavard
d0a6957862 Remove old cerfa code 2018-06-28 15:16:20 +02:00
Pierre de La Morinerie
0bef35946f procedure: make sentence shorter
Before: "Affectez des accompagnateurs à votre procédure.Affectez un
service à votre procédure.

After: "Affectez des accompagnateurs et un service à votre procédure."
2018-06-13 11:59:40 +02:00
Pierre de La Morinerie
367ac0dd5a procedure: avoid tooltip being hidden by the navbar 2018-06-13 11:59:40 +02:00
Frederic Merizen
fd2fd83aac Remove erroneous space in haml 2018-06-13 10:21:57 +02:00
Frederic Merizen
52bb40ab20 [#1946] Show retention times in procedure administration summary 2018-06-01 17:35:04 +02:00
Frederic Merizen
648483ac76 [#1946] Allow admins to edit data retention time 2018-06-01 16:46:39 +02:00
simon lehericey
18ad227df5 [fix #1897] Procedure: can delete a deliberation 2018-05-31 16:56:28 +02:00
simon lehericey
fa14db1cbf Procedure: add deliberation 2018-05-31 16:56:28 +02:00
simon lehericey
a96889310b Procedure: add legal reference 2018-05-31 16:55:31 +02:00
Mathieu Magnin
cf36d7f1ed [Fix #1801] use the new string_to_html method 2018-05-24 18:05:41 +02:00
Frederic Merizen
678baaf362 Unroll loop with ifs 2018-05-22 18:35:23 +02:00
simon lehericey
928227a610 Procedure: remove now duplicate organisation and direction 2018-05-18 16:21:27 +02:00
simon lehericey
f2357acb27 Service: cannot published a procedure without a service 2018-05-18 16:21:26 +02:00
simon lehericey
abccdab6ab Admin Procedure Show: simple cleaning 2018-05-18 16:21:26 +02:00
Frederic Merizen
26f9ec0122 [Fix #1825] Also show previews for archived procedures 2018-05-09 18:28:41 +02:00
Frederic Merizen
4308535450 [Fix #1833] Remove library button from new procedure from scratch screen 2018-05-09 16:16:43 +02:00
Frederic Merizen
93e068421b [#1833] New procedure button defaults to procedure library 2018-05-09 16:16:09 +02:00
Frederic Merizen
5fd5c3ee5b [#1833] Add ‘create from scratch’ button to procedure library 2018-05-09 16:15:19 +02:00
gregoirenovel
09909b9293 [Fix #1835] Transférer -> Envoyer une copie 2018-04-26 15:19:18 +02:00
simon lehericey
e5b5913d29 [fix #1824] link preview button to preview page 2018-04-24 16:54:05 +02:00
Paul Chavard
45019ce75c Use Flipflop instead of Feature 2018-04-18 16:51:21 +02:00
simon lehericey
7f788c4f06 [fix #1826] Library: add contact link 2018-04-16 11:28:22 +02:00
simon lehericey
5667cfe747 [fix #675] upload notice in DS 2018-04-12 10:44:58 +02:00
Paul Chavard
27592ae072 Add simple web hooks to procedures 2018-04-09 11:02:24 +02:00
Frederic Merizen
b27218c7c4 [#1563] Display attestation / closed mail discrepancy alert in admin interface
- When changing emails
- When changing attestation
- As a safety net, on summary page
2018-04-06 10:18:56 +02:00
Frederic Merizen
d825c3d586 [Fix #1689] Only allow plain text for procedure descriptions 2018-03-29 10:52:37 +02:00
Mathieu Magnin
50f35ee905 [Fix #1296] Birthday field is optional in procedure 2018-02-07 15:57:48 +01:00
Paul Chavard
6a43248cb3 Fix CSS injection 2018-01-16 14:02:10 +01:00
gregoirenovel
7c34807f46 Don’t use unless 2018-01-12 11:32:43 +01:00
gregoirenovel
fdf240cf31 Improve the wording on the “New from existing” page 2018-01-09 11:07:26 +01:00
gregoirenovel
c77558aeed Correctly handle errors when cloning someone else’s procedure 2018-01-09 11:07:26 +01:00
gregoirenovel
a1275af55f Use the path helper in the new procedure template 2018-01-09 11:05:19 +01:00
gregoirenovel
bf5e21d6de [Fix #1182] Add a “create new procedure from an existing one” feature 2018-01-08 14:55:07 +01:00
gregoirenovel
731e1b6787 [Fix #164] Make the organisme field mandatory 2017-11-29 10:36:22 +01:00
Simon Lehericey
73357c5144 [Fix #503] Dossier: Remove waiting for gestionnaire scope 2017-09-26 14:42:54 +02:00
Simon Lehericey
460cd3e237 [Fix #503] Dossier: Remove waiting for user scope 2017-09-26 14:42:54 +02:00
gregoirenovel
c464a6faba [Fix #168] Sort published and archived procedures by publication_date 2017-07-18 13:44:03 +02:00
gregoirenovel
32e0fa9f69 Add Procedure#publiee_ou_archivee? 2017-07-13 17:01:39 +02:00
gregoirenovel
2b7a148540 Remove Procedure#published? 2017-07-13 17:01:38 +02:00
gregoirenovel
36bee67085 Add Procedure#brouillon? 2017-07-13 17:01:38 +02:00
gregoirenovel
9a7d5d1833 Add Procedure#publiee? 2017-07-13 15:44:18 +02:00