Commit graph

410 commits

Author SHA1 Message Date
clemkeirua
50ddf723b0 garde le bandeau bleu de navigation après MAJ 2019-07-22 10:27:33 +02:00
clemkeirua
91d10c0cf7 added navbar for mon avis 2019-07-17 18:04:32 +02:00
clemkeirua
6d43465ee5 renammed into monavis_embed 2019-07-17 18:04:32 +02:00
clemkeirua
8d2c5cfa14 validation par regex 2019-07-17 18:04:32 +02:00
clemkeirua
d8b63cd4c9 added 'monavis' inside the procedure and for users 2019-07-17 18:04:32 +02:00
Chaïb Martinez
3f9f67eb78 admin: fix the "Valider" button being hidden by Crisp
Fix #4021

Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-15 12:10:56 +02:00
Pierre de La Morinerie
9616df192d procedure: use the model value for checking the radio buttons
Previously `checked: true` forced the checked status, disregarding the
actual value of the model.

Fix #4080
2019-07-10 18:47:28 +02:00
Pierre de La Morinerie
ecfccae6f0 dossiers: remove support for Dossier#expects_multiple_submissions 2019-07-09 14:50:11 +02:00
clemkeirua
39f72a2be3 courbage d'apostrophes 2019-07-09 10:59:42 +02:00
clemkeirua
44fa210e34 changement du choix particulier/entreprise lors de creation d'une procedure 2019-07-09 10:59:42 +02:00
maatinito
fee3ef8f4f A4 output and allows large logos (headers) to take the whole width of the page 2019-07-03 15:31:34 -10:00
Paul Chavard
7a2e9fe8a4
Merge pull request #3990 from betagouv/benjamin-alerte
Minor text change
2019-06-25 16:39:38 +01:00
benjaminhenkel
1200d25f26
Update _list.html.haml 2019-06-24 17:00:10 +02:00
Nicolas Bouilleaud
43f936ec77 Do not check for path availability when in the “new procedure” form
The user can’t even enter the path here, it’s nil.

fixes #3918

The @availability was always PATH_NOT_AVAILABLE when the form was reloaded after an error, because Procedure::path_availability always found an (archived) procedure with a nil path. It got confused and concluded its path was conflicting.

🤷🏻‍♂️
2019-06-18 14:31:12 +02:00
pedong
7ef1a558f4 change date format for all, use try_format_date of helper 2019-06-12 17:48:12 +02:00
Chaïb Martinez
855d4d0245 [fix #3867] Add legal text
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-05-20 13:43:46 +02:00
Paul Chavard
9725f2a418 Enable new champs editor for all 2019-05-14 16:18:29 +02:00
Paul Chavard
3446782cd0 Remove deprecated editor 2019-05-14 16:18:29 +02:00
Chaïb Martinez
3004f96cf5 Add video and webinar URLs to admin pages
Fix #3850

Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-05-13 17:47:02 +02:00
Mathieu Magnin
14c3fb7224 [Fix #3064] Add a preview button for state notifications emails 2019-04-11 11:03:13 +02:00
Nicolas Bouilleaud
c1d1754236 Fix a typo in admin/procedures 2019-04-08 16:20:43 +02:00
Pierre de La Morinerie
dd4eae7d62 admin: add a expects_multiple_submissions property on procedures 2019-03-28 15:26:15 +01:00
Frederic Merizen
5e21ebd93f Move procedure library to new design 2019-03-28 13:50:29 +01:00
Mathieu Magnin
40d644ea3f Add a confirm before procedure deletion 2019-03-26 15:54:43 +01:00
philemon95
536f0ccf02
suppression de l'option SIRET personnes physiques
car existe dans tous les cas dans le type de champ "SIRET", davantage source de confusion qu'autre chose
2019-03-18 15:11:18 +01:00
Pierre de La Morinerie
dfba2b8e16 procedure: move the webhook field to the end of the form 2019-03-13 15:22:36 +01:00
philemon95
eebbff1fd1 remplacement archivage par "clôture" 2019-03-13 10:06:59 +01:00
Paul Chavard
01b966ff66 Check demarche ownership on multiple administrateurs 2019-03-12 11:59:01 +01:00
Mathieu Magnin
44f28ec565 Remove feature flag for publish draft 2019-03-12 11:26:07 +01:00
Frederic Merizen
a8ce11a4d2 Add rel=noopener to links with target=_blank
http://support.detectify.com/customer/portal/articles/2792257-external-links-using-target-_blank-
2019-03-05 18:25:26 +01:00
Mathieu Magnin
272a6b700d Improve wording 2019-02-19 17:50:10 +01:00
Frederic Merizen
1ca64e3f28 [Fix #1140] Let's close this stupid issue already 2019-02-18 14:16:06 +01:00
Frederic Merizen
f17ab449b9 [Fix #3343] Allow non windows-1252 characters in attestation
by using ttf font
2019-01-30 15:06:25 +01:00
simon lehericey
30d17aebe1 [fix #3336] Fix bug in admin procedure description 2019-01-29 13:32:27 +01:00
Mathieu Magnin
61dcebff79 [Fix #3324] Change font and justify text in attestation 2019-01-24 16:36:03 +01:00
emsnytech
5118f4d5f1 Modification du texte d’information vers les pages d’information sur internet
Aujourd’hui, les administrateurs doivent proposer un lien vers un site internet dans la description de leur démarche.
Toutefois, l’adresse qui est la plus importante à connaître, est le lien vers la page du site institutionnel sur laquelle les usager vont trouver le lien vers la démarche.
Il est proposé de clarifier cette attente par une phrase plus précise. ( cela n'empêche pas de publier avec une adresse générique, car cette information n’est pas obligatoire, et être modifiée après publication).
2019-01-23 16:37:28 +01:00
Frederic Merizen
a5b29dde97 Explain to administrateur why the attestation cannot be deactivated 2019-01-21 13:46:49 +01:00
Mathieu Magnin
306632f169 Add Test et publication on tab title 2019-01-17 14:04:59 +01:00
Mathieu Magnin
a4ddec6dff Wording : Démarche en brouillon => Démarche en test 2019-01-17 14:04:58 +01:00
Mathieu Magnin
2ce6d01aec Procedure has a default generated path when created 2019-01-17 14:04:58 +01:00
Paul Chavard
41c9b21509 Use new editor 2019-01-17 11:20:31 +01:00
simon lehericey
e7d5f30192 Admin: small reword in admin procedure ui 2019-01-09 16:25:00 +01:00
simon lehericey
a197285742 [fix #2612] Admin: add missing steps to admin UI 2019-01-09 16:25:00 +01:00
gregoirenovel
9466442aff Remove the TypeDeChamp decorators 2019-01-03 12:08:25 +01:00
gregoirenovel
9c130c41da Remove ProcedureDecorator 2019-01-03 12:08:25 +01:00
Chaïb Martinez
e88a3f8dbf Add a message to the démarches library page if the admin has 0 demarches 2018-12-28 18:25:15 +01:00
Chaïb Martinez
c19b1bb6cf Make the “New démarche from scratch ” button bigger 2018-12-28 18:25:12 +01:00
Chaïb Martinez
d0d11edf61 Make a démarches library title bigger 2018-12-28 18:24:59 +01:00
maatinito
4ad3a60e25 [Fix #2575] Créer automatiquement un compte instructeur aux administrateurs 2018-12-26 09:44:20 -10:00
Frederic Merizen
d1cfe4468d Encourager la création de champs PJ plutôt que de vieilles PJS 2018-12-19 11:57:23 +01:00
pedong
1532d287ae [fix #3026] change champ date for archivage auto 2018-12-03 13:45:40 +01:00
Paul Chavard
d43068ace5 Disable carto for new procedures 2018-11-20 12:14:10 +01:00
Paul Chavard
624b442cd7 Remove “Outil de changement d'état d'un dossier” 2018-11-08 14:56:45 +01:00
Paul Chavard
a7de2e68ed Refactor types_de_champ views to use service instead of facade 2018-11-07 11:36:10 +01:00
Paul Chavard
e391fe6bec Clarify procedure path availability code 2018-10-30 15:59:37 +01:00
Paul Chavard
6e4d111e09 Refactor and fix procedure update error handling 2018-10-30 15:59:37 +01:00
Paul Chavard
725e88a89a Rename :procedure_path -> :path 2018-10-30 12:01:45 +01:00
Paul Chavard
f1fd1b38ec Refactor procedures_controller 2018-10-30 12:01:45 +01:00
gregoirenovel
fed1f05456 Add CADRE_JURIDIQUE_URL 2018-10-25 14:45:13 +02:00
gregoirenovel
394524b397 Improve the webhook description 2018-10-25 14:45:13 +02:00
Paul Chavard
5a8a4b393f Add RPG carte source 2018-10-23 18:13:44 +02:00
Paul Chavard
4249f8ae25 Add carte type de champ options 2018-10-23 09:35:25 +02:00
Chaïb Martinez
0090ed2e1f Modification de texte pour le cadre juridique, afin de le rendre plus clair et simple a remplir. 2018-10-18 12:09:16 +02:00
gregoirenovel
f8b1bc96bb Hide other delete links when the demarche has not been persisted 2018-10-17 09:32:27 +02:00
gregoirenovel
2c44754981 [Fix #2847] Hide the delete logo link if demarche is not persisted 2018-10-17 09:32:27 +02:00
gregoirenovel
98d348aab1 Remove the delete demarche feature for admins 2018-10-09 16:42:32 +02:00
Paul Chavard
ff405e1b2d Stop using global function 2018-10-05 09:55:13 +02:00
Chaïb Martinez
dc0dd8a479 Remove the details from the Publication tab 2018-10-03 16:03:43 +02:00
Chaïb Martinez
e452fa8343 [Fix #2432] Warn admins to always share a direct link to their demarche 2018-10-03 11:18:17 +02:00
Chaïb Martinez
da134c6d4b Ajout d'une astuce dans l'ajout d'instructeur 2018-10-02 11:43:44 +02:00
Paul Chavard
5a795ae30b Add more information about lien demarche 2018-09-27 15:47:33 +02:00
simon lehericey
bd04972f65 Profile: move to new design 2018-09-27 10:14:32 +02:00
Paul Chavard
f94a24d7ce Add path field to procedure information form 2018-09-26 10:53:45 +02:00
Frederic Merizen
9beaa293cd [#1421] Use delegation rather than STI for TypeDeChamp 2018-09-25 08:26:56 +02:00
gregoirenovel
7b3a7d2336 [Fix #187] Allow an admin to delete their demarche logo 2018-09-24 13:29:35 +02:00
gregoirenovel
94378e3663 [Fix #2332] Allow the notice deletion 2018-09-24 12:25:10 +02:00
gregoirenovel
0b0c668888 [Fix #2648] Add more details about the retention time out of DS 2018-09-24 12:09:54 +02:00
gregoirenovel
535f9004bf Admins can delete the attestation template's logo 2018-09-24 10:15:22 +02:00
gregoirenovel
d649e29bb0 [Fix #1979] Admins can delete the attestation template's signature 2018-09-24 10:15:02 +02:00
gregoirenovel
0c9628c180 Fix some files according the the .editorconfig rules 2018-09-20 16:23:09 +02:00
Paul Chavard
db1a93ab35 fix procédure -> démarche 2018-09-18 11:22:06 +02:00
Paul Chavard
3f6cc668a7 Implement check_availability route 2018-09-12 12:37:15 +02:00
Paul Chavard
23017f4b17 Show better lien information on procedure page 2018-09-07 11:21:07 +01:00
gregoirenovel
00ecae5f93 Procédure → Démarche 2018-09-05 15:46:24 +02:00
gregoirenovel
75ee41b7fa [Fix #2494] Improve deletion warning text 2018-08-31 15:41:51 +02:00
gregoirenovel
c015365057 Fix case typos 2018-08-30 14:23:45 +02:00
gregoirenovel
3662b82039 accompagnateur → instructeur 2018-08-29 23:09:08 +02:00
gregoirenovel
2d3b553e4d Use enum to the fullest with TypeDeChamp.type_champs 2018-08-29 17:31:08 +02:00
gregoirenovel
6b1ab9b552 Remove a now useless facade 2018-08-28 15:38:39 +02:00
gregoirenovel
19789b6848 Remove the stats part of the procedure info page for admins
- the numbers are wrong (:termine state does not
  exist)
- the chart does not work
2018-08-28 15:19:31 +02:00
Paul Chavard
b8ef5d823f Fix modal close action 2018-08-28 12:18:43 +01:00
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
0b474a5b32 admin: explain purpose of the /admin/gestionnaires page 2018-07-04 12:11:00 +02:00