Commit graph

324 commits

Author SHA1 Message Date
gregoirenovel
43ae28de87 Make the email templates tags table occupy the whole width available
It improves the content formatting (no more ugly
line breaks splitting a tag on several lines)
2017-05-04 16:17:38 +02:00
gregoirenovel
402f44c5fd Champs privés -> Annotations privées 2017-05-04 11:35:23 +02:00
gregoirenovel
77dae0462b Utilisateur -> Usager 2017-05-04 11:35:23 +02:00
gregoirenovel
4303dcef2c Organisation -> Organisme 2017-05-04 11:35:22 +02:00
gregoirenovel
f310f672b6 Extract class attributes from HAML tag attributes 2017-04-26 17:22:31 +02:00
gregoirenovel
7ddcb9aedc Extract id attributes from HAML tag attributes 2017-04-26 17:22:30 +02:00
gregoirenovel
51daa2f498 Use implicit div tags instead of explicit 2017-04-26 17:01:45 +02:00
Mathieu Magnin
887512c26c Procedure path can contain dashes and can be longer 2017-04-21 16:32:48 +02:00
gregoirenovel
c10c2fc31b Selectors must be written in lowercase with hyphens 2017-04-20 10:35:53 +02:00
Simon Lehericey
e49ea2d0e0 PiecesJustificative: add field to set it mandatory
small css to align the fields
2017-04-18 17:48:03 +02:00
gregoirenovel
d531b02bc5 Order types_de_piece_justificative on Procedure
So that /spec/controllers/api/v1/
dossiers_controller_spec.rb#L163-L179 (on commit
8852431 for example) does not randomly fail due
to unordered types_de_piece_justificative
2017-04-13 14:48:18 +02:00
gregoirenovel
57ee3c5b3f Separate ternary operators with spaces on both sides 2017-04-10 17:55:55 +02:00
gregoirenovel
9c04d3ff93 All CSS declarations must end with a semi-colon 2017-04-10 17:55:55 +02:00
gregoirenovel
3797015908 All colons must be followed by a single space 2017-04-10 17:55:55 +02:00
gregoirenovel
97df69bcd8 In HAML files, separate arguments by a comma and a single space 2017-04-10 17:55:55 +02:00
gregoirenovel
6db4a69cb2 Use spaces inside hashes 2017-04-10 17:55:54 +02:00
gregoirenovel
aaaed328fb Remove unnecessary string outputs 2017-04-10 17:55:54 +02:00
gregoirenovel
8d9cdf8e33 Remove a useless string in the gestionnaires list 2017-04-10 17:55:54 +02:00
gregoirenovel
7a941d3219 Remove a useless id in _list.html.haml 2017-04-10 17:55:54 +02:00
gregoirenovel
2d5df47c4e Use implicit div tags in HAML files 2017-04-10 17:55:53 +02:00
gregoirenovel
e7e4e41e12 Haml Ruby evaluation tags must be followed by a space 2017-04-10 17:55:53 +02:00
gregoirenovel
d1e463b7ab Files should end with a single new line 2017-04-04 16:59:39 +02:00
gregoirenovel
d5e7bbd80d Files should end with a new line 2017-04-04 16:59:38 +02:00
gregoirenovel
15802b18ea Files should not start with a new line 2017-04-04 16:59:38 +02:00
gregoirenovel
87ab2ba9eb Remove trailing spaces 2017-04-04 16:59:37 +02:00
gregoirenovel
8126549a0d Make the datepicker french for the auto archive field 2017-04-03 16:03:38 +02:00
Mathieu Magnin
c2a27c6f6a Merge branch 'develop' into auto_archive_on_date 2017-03-22 11:32:56 +01:00
Mathieu Magnin
8e91d4ba97 Merge branch 'develop' into select_multiple 2017-03-20 12:30:42 +01:00
Simon Lehericey
a076dc2987 Wording 2017-03-20 12:03:27 +01:00
Simon Lehericey
ce343aac96 Select Multiple: text in placeholder and add separator 2017-03-20 11:36:06 +01:00
Simon Lehericey
657ce53a60 select_multiple: add multiple_drop_down_list type 2017-03-15 17:51:34 +01:00
Mathieu Magnin
a87b54b168 Typo 2017-03-15 15:28:09 +01:00
Mathieu Magnin
237d4bdc28 Auto archive option is available even if procedure is published 2017-03-15 15:22:29 +01:00
Mathieu Magnin
24d17dc0f3 Sidekiq worker to archive procedures automatically + tests 2017-03-15 12:40:59 +01:00
Simon Lehericey
d250cafccc Explication: add champ in edit formulaire 2017-03-14 13:58:21 +01:00
Mathieu Magnin
359807b4f7 Procedure has an auto_archive date 2017-03-14 10:45:59 +01:00
Simon Lehericey
65e83dd6ec Mails: factorize default and change slug 2017-03-07 10:27:14 +01:00
Simon Lehericey
335caed65e Mail Template: Delete 2017-03-07 10:27:14 +01:00
Simon Lehericey
89763ec8d4 MailTemplateController: use new initiated_mail 2017-03-07 10:25:34 +01:00
Simon Lehericey
7eb77ba667 Mail Received: remove useless template_decorator 2017-03-05 22:17:17 +01:00
Simon Lehericey
5cceb9773c Style: simple css for custom emails list 2017-03-02 16:19:05 +01:00
Mathieu Magnin
cae5b37e38 First step to remove :validated and :submitted states 2017-02-21 18:05:48 +01:00
Mathieu Magnin
6f1243eb7e Do not hide link if procedure is archived 2017-02-21 11:05:11 +01:00
Mathieu Magnin
ab0d8deef1 Modify wording : Procedure can be edited after publication 2017-02-20 15:08:31 +01:00
Mathieu Magnin
ff9c95f18e Merge branch 'develop' into admin_can_modify_procedure_description_after_published 2017-02-16 15:59:49 +01:00
Mathieu Magnin
9fcc0920e6 Css update 2017-02-16 13:59:32 +01:00
Mathieu Magnin
a636d4f98d Filter procedure update parms if procedure is locked 2017-02-15 14:13:02 +01:00
Mathieu Magnin
85608f18ab Description page is accessible, some field are disabled if procedure is locked 2017-02-14 18:13:19 +01:00
Mathieu Magnin
c0ae500aa3 Merge branch 'develop' into remove_cerfa_text 2017-02-14 17:59:41 +01:00
Simon Lehericey
5359c046e6 Clean grid usage 2017-02-14 17:12:44 +01:00
Simon Lehericey
3b827fa5e3 Remove specific cerfa in favor of default enclosed documents 2017-02-14 16:26:25 +01:00
Xavier Julien
3c6ae2d005 Merge pull request #14 from sgmap/customizable-emails
Customizable emails
2017-02-13 15:20:04 +01:00
Mathieu Magnin
566fd8bc74 Add lien demarche to type de piece justificative 2017-02-07 18:12:25 +01:00
Mathieu Magnin
37d31fae7b Rename formulaire to formulaire de demande 2017-01-31 11:45:29 +01:00
Mathieu Magnin
38e8acf285 Change some wordings and clean some templates 2017-01-31 10:46:20 +01:00
Mathieu Magnin
b40193e7b5 New customizable mail : mail_validated, new balise --lien_dossier-- 2017-01-26 12:12:52 +01:00
Mathieu Magnin
2bc5ee88f7 Change controller name according to model name, add simple_form 2017-01-24 15:53:42 +01:00
Mathieu Magnin
0e5c90cb0c Real index and edit for mail_templates 2017-01-24 10:19:42 +01:00
Xavier J
bc71754e87 Add tool change dossier state 2017-01-10 17:29:38 +01:00
Xavier J
32378405ed Fix smart listing usage with new admin list presentation 2017-01-09 12:00:39 +01:00
Xavier J
4a1a23d1d7 Add per page link for smart listing User, Admin and Accompagnateur for follow files 2017-01-02 10:48:47 +01:00
JC
4c9c898a69 Feature test about clonning procedures 2016-12-26 10:56:57 +01:00
Xavier J
31653ff553 Add everywhere col-sm-X and col-xs-X 2016-12-23 16:58:06 +01:00
Xavier J
9eb6ed3a7c Add champs private in procédure information page 2016-12-22 11:50:03 +01:00
Xavier J
20a4febecc Adapt UI list for procedure list in admin interface. 2016-12-21 11:26:33 +01:00
Xavier J
addeaab744 Review UI procedure construction for Administrateur 2016-12-19 19:07:57 +01:00
JC
4f7bcba8a3 Adding feature test for procedure_creation 2016-12-14 17:15:10 +01:00
JC
e228f20684 Adding white back to some views 2016-12-07 17:55:42 +01:00
Xavier J
746d69796e Remove has-error class on admin views 2016-12-07 11:51:26 +01:00
Xavier J
30d5323d7e New UI for description dossier in user view 2016-12-05 19:30:58 +01:00
Xavier J
9f4e4a6b65 New UI for procédure list on admin view 2016-12-05 18:11:18 +01:00
Xavier J
d7fdf22abb First fixed 2016-11-14 17:33:45 +01:00
Xavier J
68951c3a53 Add locales dynamics (opensimplif) 2016-11-03 16:46:26 +01:00
Xavier J
7425a0be59 Disable publication (on UI) if procedure does not have gestionnaire 2016-10-12 14:35:39 +02:00
Xavier J
aa3b1e974d Can create procédure individual with SIRET for later 2016-10-05 10:48:11 +02:00
Xavier J
5f8c2549c1 delete max length on email procedure transfert 2016-10-03 12:25:07 +02:00
Xavier J
f03733f3ff Mail for receive dossier is now send. 2016-09-01 10:27:22 +02:00
Xavier J
12ebab66cc Administrateur can be param the acknowledgement of delivery mail object and body. 2016-08-31 16:07:11 +02:00
Xavier J
ed8da1552c Admin can be declare a procedure for individual people (no SIRET) 2016-08-29 12:07:30 +02:00
Guillaume Lazzara
39df032c8c Translate type de champ values 2016-08-24 17:07:13 +02:00
Xavier J
c700701b36 Add lien_site_web attr and lien_notice attr 2016-08-24 12:14:25 +02:00
Xavier J
42943aad19 Explicit the use of lien_demarche attr 2016-08-24 11:40:53 +02:00
Xavier J
85e7af840a Add drop down list on type champ list 2016-08-09 16:21:39 +02:00
Xavier J
480431ea01 Add on gestionnaire dossier view the private form 2016-08-08 12:52:30 +02:00
Xavier J
ddb64878c8 Refactor code for private type de champ 2016-08-04 12:06:46 +02:00
Xavier J
116dd0d94f Administrateur can be define private champs => same as typical champs 2016-08-03 18:19:56 +02:00
Xavier J
4e6d153893 Fix test 2016-07-22 12:25:23 +02:00
Xavier J
2ad816b6b3 Admin can be transfer a clone of a procédure at an other admin 2016-07-22 11:34:34 +02:00
Xavier J
e7830deefa Add header section on procédure champ 2016-07-20 11:38:19 +02:00
Xavier J
d26ae9539d An accompagnateur can be mark a dossier follow by us 2016-07-18 18:24:29 +02:00
Guillaume Lazzara
e1f73f3bdc Fix path to procedure logo 2016-07-05 11:50:56 +02:00
Xavier J
721ea424ed Merge branch 'develop' of github.com:sgmap/tps into develop
# Conflicts:
#	app/views/admin/procedures/_modal_publish.html.haml
2016-06-30 14:17:33 +02:00
Xavier J
09c9d5ea76 async publication procedure 2016-06-30 12:33:43 +02:00
Guillaume Lazzara
582a368107 Code review related updates 2016-06-30 10:24:20 +02:00
Guillaume Lazzara
92a5100a09 Handle "réactiver" feature with permanent procedure url 2016-06-24 16:57:35 +02:00
Guillaume Lazzara
e5002dbb11 Introduce permanent and customizable procedure url 2016-06-24 16:41:44 +02:00
Xavier J
1dcb29ec65 Add feature delete for draft procedure 2016-06-20 17:37:04 +02:00
Guillaume Lazzara
7af7859334 Implement procedure cloning 2016-06-15 11:34:05 +02:00
Xavier J
866565495d Delete default description in dossier 2016-06-13 12:03:05 +02:00
Guillaume Lazzara
2791988da2 Add draft/publish status for procedure. 2016-06-09 17:49:48 +02:00
Guillaume Lazzara
1551b7ce21 Add ordering feature on piece justificative view 2016-06-08 16:45:37 +02:00
Xavier J
69f9c52b02 Preview procedure logo on edit procedure page for admin 2016-06-06 18:25:51 +02:00
Xavier J
e6b5698008 Add previsualization formulaire page for administrateur 2016-06-06 17:40:32 +02:00
Xavier J
92fc5af61c Admin can add new Accompagnateur directly on the procedure 2016-05-26 16:44:10 +02:00
Xavier J
1fcb33104d Administrateur can be assign accompagnateur on each of his procedure. 2016-05-24 16:39:39 +02:00
Xavier J
fe4d921997 Add accompagnateur tab on all procedure navbar 2016-05-20 15:36:38 +02:00
Xavier J
143a683303 Change management navbar procedure admin 2016-05-19 10:57:18 +02:00
Xavier J
8812ba2507 Fix brakeman information 2016-03-24 17:49:44 +01:00
Xavier J
5d13276446 Fiabilisation de la suppression des gestionnaires par un administrateur 2016-03-16 10:55:03 +01:00
Xavier J
494f80afff Can be check TypeDeChamps with attribut mandatory 2016-03-15 11:23:25 +01:00
Xavier J
f4de0b8431 - Add resize on wysihtml5 bootstrap
- Add rich text on procedure description
- Ajust text on description dossier user form
2016-03-02 15:21:45 +01:00
Xavier J
0e1dac7d19 Fix test
Change name gestionnaire to accompagnateur on admin ui
2016-02-19 14:20:18 +01:00
Guillaume Lazzara
6b7d3e0ac1 Add gestionnaire deletion feature 2016-02-09 12:24:05 +01:00
Guillaume Lazzara
2a2aef34db Add gestionnaire administration panel. 2016-02-09 11:01:10 +01:00
Guillaume Lazzara
e20de3dba9 First attempt 2016-02-02 18:37:38 +01:00
Xavier J
d6e795df02 Activation du cadastre côté administrateur 2016-01-21 14:51:17 +01:00
Xavier J
0d2bd17a9e Admin procedure sort list 2016-01-07 15:29:29 +01:00
Xavier J
7069acba4b Add détails on admin procedure informations page 2016-01-06 17:01:34 +01:00
Xavier J
39b15e8b3d Refactor dossier decorators 2015-12-24 16:12:16 +01:00
Xavier J
9fb575ef8c Refactor procedure locked and retrieve management 2015-12-24 15:57:03 +01:00
Xavier J
e66daf3b95 Refactor procedure active and archived class 2015-12-24 15:22:07 +01:00
Xavier J
c20f9a87e9 Front : Procedure can not be edited when at least one file with state other what draft is created by user 2015-12-21 14:40:28 +01:00
Xavier J
d8253be4e5 - Into views, replace words :
- Gestionnaire by Accompagnateur
	- Entreprise by Organisation
- Add procedure libelle on user dossier show page
2015-12-15 17:46:05 +01:00
Tanguy PATTE
d2978c4656 add api token in administrator's profile page 2015-12-15 16:49:48 +01:00
Tanguy PATTE
9040d9407d add empty profile page 2015-12-14 17:25:35 +01:00
Xavier J
d49e9fe75a admin can upload a logo for his procedure 2015-12-10 17:13:39 +01:00
Xavier J
8755ce2ab1 add euro flag to procedure object 2015-12-10 16:09:21 +01:00
Xavier J
11596ade65 - QP not research if module_api_carto have not activated quartiers_prioritaires
- Carte page is not accessible if module_api_cart have not activated use_api_carto
2015-12-08 11:18:49 +01:00
Xavier J
0e3bec7f9f Administrateur can be select dynamically the activation of api carto modules 2015-12-08 10:11:58 +01:00
Xavier J
92d57db91d - migrate page show to edit for procedure admin
- create new page show for procedure admin
2015-12-04 16:17:35 +01:00
Xavier J
49217a1b39 - add decorator for procedure and procedures
- add link to procedure on admin procedures list
2015-12-03 15:38:17 +01:00
Xavier J
6dd9c0c7ce Add procedure libelle on all edit page, above tabs 2015-11-27 17:25:22 +01:00
Xavier J
3eb990a611 Administrator can unarchived a procedure 2015-11-27 17:13:06 +01:00
Xavier J
7c3f322d6e Add tabs for administrateur procedures list 2015-11-27 16:23:02 +01:00
Xavier J
833752161f Add button archive on procedure 2015-11-26 18:41:41 +01:00
Xavier J
5e3bc1472c Add pagination for administrateur procedure 2015-11-26 16:00:12 +01:00
Xavier J
18d72745f0 Add description and logo tps on siret page 2015-11-20 17:51:25 +01:00
Tanguy PATTE
52133c0f43 add button save for pj and type de champ 2015-11-20 17:12:36 +01:00
Tanguy PATTE
5a9a6226c7 remove validation on description for pj 2015-11-20 15:33:03 +01:00
Tanguy PATTE
17ca244a2f end delete type de piece justificative 2015-11-20 15:12:47 +01:00
Tanguy PATTE
bd5dc1e35a refresh list of pj when adding new one 2015-11-20 14:17:38 +01:00
Tanguy PATTE
1379d6d495 change PieceJustificativeController :
replace edit by show
add update
2015-11-20 13:54:56 +01:00
Tanguy PATTE
90c7e85980 remove useless view 2015-11-19 19:03:32 +01:00
Tanguy PATTE
37b4823e9a end move up and down button for type de champ 2015-11-19 15:21:18 +01:00
Tanguy PATTE
7e4b26274b change type de champ view 2015-11-18 17:03:53 +01:00
Tanguy PATTE
c4e8c6c989 change rule to display arrow button for type de champ 2015-11-18 16:56:38 +01:00
Tanguy PATTE
41c0ca27d9 refresh list when delete type de champ 2015-11-17 18:52:49 +01:00
Tanguy PATTE
1ab89b63aa add arrow in view for order place managment 2015-11-17 18:22:15 +01:00
Tanguy PATTE
cf81623937 force order place to index for type de champ 2015-11-17 17:18:00 +01:00
Tanguy PATTE
26b82b620f sort type de champ by order place 2015-11-17 17:13:06 +01:00
Tanguy PATTE
65c8c039ac add feature test on type de champ:
add typde de champ
delete type de champ
2015-11-17 11:23:13 +01:00
Tanguy PATTE
5a422c75ac rename type_champs into type_champ and change links/routes for procedure : use show instead of edit 2015-11-17 10:23:05 +01:00
Tanguy PATTE
a2f4281f21 refacto.
split procedure into 3 screen
desactivate order place for type de champ
desactivate features test to rewrite them
use ajax instead of pure js to manage type de champ
2015-11-16 16:16:08 +01:00
Xavier J
0906d44ea8 Refactor TypeDeXxxx 2015-11-09 17:15:51 +01:00
Xavier J
f3d8645426 Rename TypeDeChamps to TypeDeChamp 2015-11-05 11:21:44 +01:00
Xavier J
519af34c82 Revu de code 2015-11-04 17:27:01 +01:00
Xavier J
0e8919a523 add up and down button to order place TypeDeChamps Procedure 2015-11-02 10:16:53 +01:00
Xavier J
afb11f429a Add button delete for TypeDeChamps and TypeDePieceJustificative on Procedure form
+ refactor procedure.js
2015-10-29 17:22:57 +01:00
Xavier J
71f9455e36 Back : Save TypeDePJ for a procedure 2015-10-28 18:09:47 +01:00
Xavier J
059211755a Front to add TypeDePieceJustificative for a procedure
Back not implement for this commit
2015-10-28 15:55:31 +01:00
Xavier J
e673fe6ae2 Change updated method for type de champs' procedure 2015-10-28 15:08:23 +01:00
Xavier J
eb69e4f80f FrontEnd to add New type champs at a procedure.
=> Save into database not implement for the moment
2015-10-27 17:31:08 +01:00
Xavier J
d75ed802d2 lien_demarche not necessary to validate procedure 2015-10-26 16:48:41 +01:00
Xavier J
270d28f6da Add procedure edition functionality 2015-10-26 15:54:20 +01:00
Xavier J
49627fccad Add Administrateurs role and his connexion is ok. 2015-10-23 16:19:55 +02:00
Tanguy PATTE
5ca014587a [#883] move admin part in backoffice 2015-09-22 15:00:59 +02:00
Xavier J
b3383bec9f - Correction des tests suite à la modification du schéma de la base de données. 2015-09-21 17:59:03 +02:00
Tanguy PATTE
c3d360ae7e style check 2015-08-20 16:07:18 +02:00
Tanguy PATTE
4f5587cb66 remove useless function in admin dossier controller and fix tests 2015-08-20 12:20:54 +02:00
Tanguy PATTE
3c57643f76 add database cleaner
add factory girl
fix tests
rename dossier_pdf into piece_jointe
rename ref_piece_jointe into content
2015-08-13 15:56:58 +02:00
Xavier J
6e2c0f733c - Fix bug message erreur "Pas de dessin"
- Fix warning SIADETOKEN existant
2015-08-12 10:38:34 +02:00
Xavier J
5dc8ae822f Affichage des pièces jointes disponibles dans la console admin 2015-08-12 10:09:52 +02:00
Xavier J
d09ac6043c Revu de code 0 2015-08-11 15:22:07 +02:00
Xavier J
b5b83e939a First Commit 2015-08-10 11:05:06 +02:00