Commit graph

1814 commits

Author SHA1 Message Date
Simon Lehericey
1b42766836 Form: add address auto complete 2017-09-06 11:11:31 +02:00
Simon Lehericey
1a485f173e Form: add required 2017-09-06 11:11:30 +02:00
Simon Lehericey
80023e4f7f Form: remove form overflow to improve box shadow on input error 2017-09-06 11:11:30 +02:00
Simon Lehericey
2fd486c1a3 Form: add pseudo native form validation 2017-09-06 11:11:30 +02:00
Simon Lehericey
509b378567 Form: add select2 form multiple select 2017-09-06 11:11:30 +02:00
Simon Lehericey
e0bd42032a Form: style select 2017-09-06 11:11:29 +02:00
Simon Lehericey
9c2e71afa3 Form: add various champs html and style 2017-09-06 11:11:29 +02:00
Mathieu Magnin
bc07082d17 Init js namespace one time 2017-09-06 11:11:28 +02:00
Mathieu Magnin
373d9999fc Add map for gestionnaire 2017-09-06 11:11:28 +02:00
Mathieu Magnin
bdaa51c5cc Move old js in a directory to avoid conflicts with require_tree 2017-09-06 11:11:27 +02:00
gregoirenovel
b4a1f4f248 Remove a useless scope call
A gestionnaire’s dossiers are already filtered so
that the brouillon ones do not appear
2017-09-06 11:11:27 +02:00
gregoirenovel
091fa1d099 Order a Gestionnaire’s procedures
First display the procédures publiées, sorted
by publication date, and then the procédures
archivées, sorted by archiving date
2017-09-06 11:11:27 +02:00
gregoirenovel
7ff7710803 A gestionnaire can only see procédures publiées 2017-09-06 11:11:26 +02:00
Simon Lehericey
2aa8c1d272 Messagerie: remove useless class 2017-09-06 11:11:26 +02:00
Simon Lehericey
3b7244675d Css: add .width-100 utility class 2017-09-06 11:11:26 +02:00
Simon Lehericey
877f64599d Form: add send button on the right 2017-09-06 11:11:25 +02:00
Simon Lehericey
0d27ca3bca Commentaire: use scope to order commentaires association 2017-09-06 11:11:25 +02:00
Simon Lehericey
714b2a5f08 NewDesign: gestionnaire can add a new commentaire 2017-09-06 11:11:25 +02:00
Simon Lehericey
3ecc4f1327 NewDesign: add person icon to message 2017-09-06 11:11:24 +02:00
Simon Lehericey
3a8e84b128 NewDesign: add guest label to message 2017-09-06 11:11:24 +02:00
Simon Lehericey
983c17fdcf NewDesign: Dossier add dossier and messagerie link in header 2017-09-06 11:11:24 +02:00
Simon Lehericey
497f898e1b NewDesign: add dossier messagerie show 2017-09-06 11:11:24 +02:00
Simon Lehericey
86ea47bb0d BackofficeDossierController: follow dossier when receive 2017-09-06 11:11:23 +02:00
Simon Lehericey
b80d6a6a59 Follow: add flash notice to dossier_controller 2017-09-06 11:11:23 +02:00
Simon Lehericey
95fbd1824a Follow: remove old backoffice follow and toggle_follow 2017-09-06 11:11:22 +02:00
Simon Lehericey
a7f270bac4 Follow: user new dossier follow controller instead of backoffice 2017-09-06 11:11:22 +02:00
Simon Lehericey
f07b6eab53 Follow: use follow instead of toggle_follow_dossier 2017-09-06 11:11:22 +02:00
Simon Lehericey
6cff044a50 NewDossierController: add next_step follow 2017-09-06 11:11:22 +02:00
Simon Lehericey
8b2366cb98 GestionnaireDossierController: use gestionnaire follow 2017-09-06 11:11:21 +02:00
Simon Lehericey
e68f3332c1 Gestionnaire: add follow(dossier) method 2017-09-06 11:11:21 +02:00
Simon Lehericey
033f08524f Gestionnaire: refactor follow? 2017-09-06 11:11:21 +02:00
Mathieu Magnin
8fdc16d89f Remove old font-size 2017-09-06 11:11:20 +02:00
Mathieu Magnin
73e6053c19 Fix input search margin in header 2017-09-06 11:11:20 +02:00
Mathieu Magnin
cbd9df8f0c [Fix #552] Disable default style for buttons on iOS 2017-09-06 11:11:20 +02:00
Mathieu Magnin
9731683b43 Use default-spacer in forms 2017-09-06 11:11:20 +02:00
Simon Lehericey
dfe36ceef7 NewDesign Form: unify body and input font 2017-09-06 11:11:19 +02:00
Simon Lehericey
2a8b8d4a01 NewDesign Form: apply design to textarea 2017-09-06 11:11:19 +02:00
Simon Lehericey
9753da8fdd NewDesign Form: move margin from label to input
provide beautiful layouts with or without label between inputs
2017-09-06 11:11:19 +02:00
Mathieu Magnin
f0777e166f Add sticky footer 2017-09-06 11:11:19 +02:00
Mathieu Magnin
7a0d6108e1 .footer -> %footer 2017-09-06 11:11:18 +02:00
Mathieu Magnin
3b3e0403d2 Improve /patron readability 2017-09-06 11:11:18 +02:00
Mathieu Magnin
cf63fd6b04 Add breadcrumbs 2017-09-06 11:11:17 +02:00
Mathieu Magnin
9aac9ba7cd use backoffice-header in views 2017-09-06 11:11:17 +02:00
Mathieu Magnin
c0eeec82c4 Add backoffice header to patron 2017-09-06 11:11:17 +02:00
Mathieu Magnin
b555320d46 Add RNA informations 2017-09-06 11:11:17 +02:00
Mathieu Magnin
f41b1b59c0 Add tabs partial 2017-09-06 11:11:16 +02:00
Mathieu Magnin
2b0c0567b8 Add header section in form table 2017-09-06 11:11:16 +02:00
Mathieu Magnin
7bb75c3f56 Add identite infos for individual 2017-09-06 11:11:16 +02:00
Mathieu Magnin
373447a19f Pieces justificatives on dossier page 2017-09-06 11:11:16 +02:00
Mathieu Magnin
8aed0d7aef Use champ decorator to print dossier details 2017-09-06 11:11:15 +02:00
Mathieu Magnin
47857664eb Add dossier champs (minimalist version) 2017-09-06 11:11:15 +02:00
Mathieu Magnin
f9f313e990 Add identité demandeur for entreprise on dossier detail page 2017-09-06 11:11:15 +02:00
Mathieu Magnin
1c7d9eaa69 Add table component to patron 2017-09-06 11:11:15 +02:00
Mathieu Magnin
dc00c10366 Add card component to patron 2017-09-06 11:11:14 +02:00
Mathieu Magnin
5b417889b2 Use same counters on procedures index than show 2017-09-06 11:11:14 +02:00
Simon Lehericey
5a0be8918e NewDesign: procedure index show procedure image if present 2017-09-06 11:11:14 +02:00
Simon Lehericey
962f55f6cc NewDesign: same order of categories in index and show 2017-09-06 11:11:13 +02:00
Simon Lehericey
d58502ab49 NewDesign: fix pluralization on procedure index 2017-09-06 11:11:13 +02:00
Simon Lehericey
8cb770dc7a NewDesign: new procedures index respects logo dimension ratio 2017-09-06 11:11:13 +02:00
Simon Lehericey
0667883817 NewDesign: new procedures index links to new procedure show ! 2017-09-06 11:11:13 +02:00
Simon Lehericey
0d3c145ef3 NewDesign: procedure show add dossier actions 2017-09-06 11:11:12 +02:00
Simon Lehericey
a064ae64a4 NewDesign: add archive and unarchive actions on dossier 2017-09-06 11:11:12 +02:00
Simon Lehericey
eb65318844 NewDesign: add follow and unfollow actions on dossier 2017-09-06 11:11:12 +02:00
Simon Lehericey
013f2463d1 NewDesign: procedure show add dossier status 2017-09-06 11:11:12 +02:00
Simon Lehericey
ad1a11ab52 NewDesign: procedure show add dossier table 2017-09-06 11:11:11 +02:00
Simon Lehericey
b48af51ee9 NewDesign: procedure show only header 2017-09-06 11:11:11 +02:00
Mathieu Magnin
0528b83fcc Remove %page-width-container from common 2017-09-06 11:11:11 +02:00
Mathieu Magnin
e2735b4238 Remove %page-width-container from patron 2017-09-06 11:11:10 +02:00
Mathieu Magnin
b022649699 Remove %page-width-container from header 2017-09-06 11:11:10 +02:00
Mathieu Magnin
180044acff Remove %page-width-container from layouts 2017-09-06 11:11:10 +02:00
Mathieu Magnin
d0fa94fef0 Remove %page-width-container from footer 2017-09-06 11:11:10 +02:00
Mathieu Magnin
009a478526 Remove %page-width-container from landing 2017-09-06 11:11:09 +02:00
Mathieu Magnin
22bb4b7c92 Change link in switch profile menu to match new route 2017-09-06 11:11:09 +02:00
Mathieu Magnin
1d53214870 Add archived label on procedures list 2017-09-06 11:11:08 +02:00
Mathieu Magnin
29b201ad00 Add left menu in navbar 2017-09-06 11:11:08 +02:00
Mathieu Magnin
bc4e961200 Style backoffice title 2017-09-06 11:11:08 +02:00
Mathieu Magnin
eb2a33138c Add french inflections rules for nouveau=>nouveaux 2017-09-06 11:11:07 +02:00
Mathieu Magnin
622a170793 Add and design new #index on procedures for gestionnaires 2017-09-06 11:11:07 +02:00
Mathieu Magnin
ca94b2bfa4 Add generic .container class 2017-09-06 11:11:07 +02:00
Mathieu Magnin
810430de0e Add flexbox utility css classes 2017-09-06 11:11:07 +02:00
Mathieu Magnin
dcb3a48bd3 Tabs component in patron 2017-09-06 11:11:06 +02:00
benjaminhenkel
48d88a110c Update landing.html.haml
Changement du deuxième numéro de la page que j'avais oublié la première fois
2017-08-31 14:35:10 +02:00
benjaminhenkel
480aefe815 Update landing.html.haml
Changement du numéro de téléphone de contact disponible sur le site TPS
2017-08-30 17:15:02 +02:00
Simon Lehericey
5737ebd090 Dossier: workaround preview bug linked to champs with dossier.id == 0 2017-08-29 16:30:34 +02:00
gregoirenovel
79eccb2de0 Add a method to speed up a conditional statement 2017-08-29 14:57:23 +02:00
gregoirenovel
0a8ac645d8 Shave some requests in build_default_champs 2017-08-29 14:22:14 +02:00
gregoirenovel
650a39b371 Use delete_all instead of destroy_all to batch delete 2017-08-29 14:22:14 +02:00
Simon Lehericey
806c41af38 [Fix #667] Can add an already register gestionnaire with uppercase email 2017-08-28 15:36:34 +02:00
Simon Lehericey
a7b00ee847 Rubocop: enable Layout/SpaceAroundOperators 2017-08-28 13:39:13 +02:00
Simon Lehericey
62f1b9c712 Rubocop: enable indentation width rule 2017-08-28 12:20:58 +02:00
Mathieu Magnin
dd1fea78ac [Fix #658] when dossier linked to avis is hidden, do not crash application 2017-08-28 10:11:50 +02:00
Mathieu Magnin
dd581082ca [Fix #395] Export user email in API 2017-08-25 12:01:53 +02:00
Mathieu Magnin
931e547afa [Fix #395] Export user email in csv 2017-08-25 12:01:52 +02:00
Simon Lehericey
d40eef284d Dossier: fixup n+1 champ query 2017-08-03 13:02:13 +02:00
Simon Lehericey
1363999621 Dossier: fixup n+1 private champ query 2017-08-03 13:01:55 +02:00
Mathieu Magnin
539fc682a0 Format date to iso with dedicated method 2017-08-01 16:47:44 +02:00
Mathieu Magnin
a3b069e501 [Fix #589] When getting birthdate from France Connect format it to ISO 2017-08-01 16:47:44 +02:00
Mathieu Magnin
3804ab5911 [Fix #589] When displaying individual form, fill birthdate input 2017-08-01 16:47:44 +02:00
Mathieu Magnin
03fde0a502 [FIX #589] Force birthdate format when saving 2017-08-01 16:47:43 +02:00
Mathieu Magnin
1aabc6c82b [FIX #589] Validate birthdate from user input 2017-08-01 16:47:43 +02:00