Commit graph

1236 commits

Author SHA1 Message Date
Simon Lehericey
1962037728 New Design: add motivation and attestation 2017-09-21 10:50:05 +02:00
Mathieu Magnin
a927affae6 Display avis counter on header 2017-09-21 10:41:53 +02:00
Mathieu Magnin
8dace5217a Share badges style in /patron 2017-09-21 10:23:22 +02:00
gregoirenovel
5b955677c2 [Fix #719] Unformat date and yes/no values in the form 2017-09-20 17:40:43 +02:00
Simon Lehericey
11e8feacce Style: extract class describing empty stuff 2017-09-20 17:17:05 +02:00
Simon Lehericey
bacff0a178 Avis: wording 2017-09-20 15:42:26 +02:00
Simon Lehericey
3c3e303a59 Dossier instruction: can ask for a confidentiel avis 2017-09-20 15:42:26 +02:00
Simon Lehericey
caaa3169e5 Avis instruction: can ask for a confidentiel avis 2017-09-20 15:42:26 +02:00
Simon Lehericey
4dd20c17d1 Avis: extract of avis list and add confidential icon 2017-09-20 15:42:26 +02:00
Simon Lehericey
f420cde531 Icons: add lock 2017-09-20 15:42:26 +02:00
Simon Lehericey
fdbf34f04b Avis instruction: only authorized avis 2017-09-20 15:42:26 +02:00
Simon Lehericey
3dfd77e914 Avis: add messagerie 2017-09-20 15:42:26 +02:00
Simon Lehericey
d1540c4a68 Avis: add avis link in header 2017-09-20 15:42:26 +02:00
Simon Lehericey
88c27479ee Avis: instruction 2017-09-20 15:42:26 +02:00
Simon Lehericey
a1f9f7aa75 Avis: show 2017-09-20 15:42:26 +02:00
Simon Lehericey
3cc09c98f9 Avis: index 2017-09-20 15:42:26 +02:00
Mathieu Magnin
bce3efc5d4 [Fix #735] Change nouveau state to en construction 2017-09-20 10:38:22 +02:00
Mathieu Magnin
ca82fba170 [Fix #738] TPS link on header should navigate on same UI 2017-09-19 17:53:38 +02:00
Mathieu Magnin
e33259a464 Add download dossiers button on procedure#show 2017-09-19 13:48:10 +02:00
Mathieu Magnin
b477adf586 Improve procedure logo on procedure#index 2017-09-14 11:41:19 +02:00
Mathieu Magnin
fe7f772f96 Improve procedure logo on procedure#show 2017-09-14 11:41:19 +02:00
Mathieu Magnin
9c8061d5a4 Show pieces justificatives in messagerie 2017-09-13 16:27:08 +02:00
Mathieu Magnin
3cbfd2709f Add disable_with on comment creation 2017-09-13 16:27:08 +02:00
Mathieu Magnin
3fa300d1b6 Date format on commentaire should be 13:30 le 31/01/2017 2017-09-13 16:27:07 +02:00
Mathieu Magnin
a4ea5ddcee When changing dossier state do not switch the UI 2017-09-13 09:24:51 +02:00
Mathieu Magnin
31dd45617a PJ download button should be clear when PJ is available 2017-09-11 09:43:19 +02:00
Mathieu Magnin
dd2d666347 Limit long breadcrumbs, by truncating procedure name 2017-09-08 14:46:25 +02:00
Simon Lehericey
d9e532684f Login: fix remember me checkbox and forget password link 2017-09-08 11:52:30 +02:00
Simon Lehericey
c2d042eb99 Dossier show: display cards champ if needed 2017-09-08 11:44:46 +02:00
Simon Lehericey
d943874144 Carto: display carto only when needed 2017-09-08 10:16:27 +02:00
Simon Lehericey
0b832a873c Search: replace placeholder to 'Rechercher un dossier' 2017-09-07 16:50:02 +02:00
Mathieu Magnin
11386a04ee Remove history link 2017-09-07 11:44:39 +02:00
Simon Lehericey
c9f69e9693 Avis Style: replace bubble image tag by the i tag 2017-09-07 10:37:40 +02:00
Simon Lehericey
c93feb27f0 Avis style: extract class to avis.scss file for reuse in patron and avis 2017-09-07 10:36:25 +02:00
Simon Lehericey
bbb1f77ada Messagerie: extract css for reuse 2017-09-07 10:17:24 +02:00
Simon Lehericey
62c893d704 Procedure Index: increase link size to the whole line and apply same style as the dossier index 2017-09-06 11:14:00 +02:00
Mathieu Magnin
4e526c5fa9 Add action button for follow and archive 2017-09-06 11:14:00 +02:00
Mathieu Magnin
feda7213f9 Action button for instruction state 2017-09-06 11:13:59 +02:00
Mathieu Magnin
059a0b961b Action button for construction state 2017-09-06 11:13:59 +02:00
Mathieu Magnin
c713518ac1 [Fix #494] If super-admin is connected, add an link in the header menu 2017-09-06 11:13:58 +02:00
Mathieu Magnin
3f67d29a18 Mail => Email 2017-09-06 11:13:58 +02:00
Mathieu Magnin
d6e17493d5 [Fix #694] Commentaire email should be displayed 2017-09-06 11:13:58 +02:00
Simon Lehericey
a298c48e8f Dossier: add notification icon 2017-09-06 11:13:50 +02:00
Simon Lehericey
fbd16b8c75 Procedure show: add notification icon 2017-09-06 11:11:47 +02:00
Simon Lehericey
3e93d21bf5 Procedure Index: add notification icon 2017-09-06 11:11:47 +02:00
Mathieu Magnin
10ce7ad9eb Merge pull request #679 from sgmap/new_icons_for_dossier_action_button
Add new icons for dossier action button
2017-09-06 11:11:44 +02:00
Mathieu Magnin
b531f85f97 Add new icons for dossier action button 2017-09-06 11:11:44 +02:00
Simon Lehericey
1a1bc461f7 ProfileSwitch: change link to stay in the old design part 2017-09-06 11:11:44 +02:00
Simon Lehericey
b8a75621e3 New_design: add design switch button 2017-09-06 11:11:43 +02:00
Mathieu Magnin
bf97a111f9 Old recherche with new design 2017-09-06 11:11:43 +02:00
Mathieu Magnin
c74bf5dd8f Dossier index use .dossiers-table class 2017-09-06 11:11:42 +02:00
Mathieu Magnin
7e09bd71e4 Add hoverable tables 2017-09-06 11:11:42 +02:00
Mathieu Magnin
d268151e04 Improve default table style 2017-09-06 11:11:42 +02:00
Mathieu Magnin
9b95a4732f Add a .vertical class to tables because this is not the default layout 2017-09-06 11:11:41 +02:00
gregoirenovel
0eb7ea23cc Unify class conditionals in the gestionnaire dossier header 2017-09-06 11:11:40 +02:00
gregoirenovel
590c572106 Use .tabs instead of .dossier-categories in procedures#show 2017-09-06 11:11:39 +02:00
gregoirenovel
93cb2ec118 Add badge support to tabs 2017-09-06 11:11:39 +02:00
gregoirenovel
cc54fec629 Redesign the tabs so that they look more like tabs 2017-09-06 11:11:39 +02:00
gregoirenovel
7c1eed760a Remove from patron a case that does not exist
We never use tabs somewhere else than in a
header
2017-09-06 11:11:39 +02:00
gregoirenovel
7af3f90197 Rename header-left-menu to header-tabs 2017-09-06 11:11:38 +02:00
gregoirenovel
08aa2ac524 Redesign the tabs so that they look more like tabs 2017-09-06 11:11:38 +02:00
Simon Lehericey
49a656db76 New_design: make the procedure list more awesome 2017-09-06 11:11:37 +02:00
Simon Lehericey
3e5d0dce6a NewDesign: can add annotations 2017-09-06 11:11:37 +02:00
Simon Lehericey
b94fc7c132 NewDesign: list of avis 2017-09-06 11:11:37 +02:00
Simon Lehericey
2923d4448b NewDesign: can ask a new avis 2017-09-06 11:11:36 +02:00
Simon Lehericey
f03d8ef909 NewDesign: add dossier instruction view 2017-09-06 11:11:36 +02:00
Simon Lehericey
9d7066d3c3 Form: display mandatory star in red 2017-09-06 11:11:35 +02:00
Simon Lehericey
46c144146c Form: add description 2017-09-06 11:11:35 +02:00
Simon Lehericey
74c71a3776 Form: use rails form helper 2017-09-06 11:11:34 +02:00
Mathieu Magnin
42a8792071 Add icons to patron + new icon folder 2017-09-06 11:11:33 +02:00
Mathieu Magnin
32c83dd7a5 Add label variations to /patron 2017-09-06 11:11:33 +02:00
Mathieu Magnin
f3f2b6acc2 Avoid n+1 because of gestionnaire.follows?(dossier) 2017-09-06 11:11:32 +02:00
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
9c2e71afa3 Form: add various champs html and style 2017-09-06 11:11:29 +02:00
Mathieu Magnin
373d9999fc Add map for gestionnaire 2017-09-06 11:11:28 +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
a7f270bac4 Follow: user new dossier follow controller instead of backoffice 2017-09-06 11:11:22 +02:00
Simon Lehericey
033f08524f Gestionnaire: refactor follow? 2017-09-06 11:11:21 +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
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
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
e2735b4238 Remove %page-width-container from patron 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
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
gregoirenovel
79eccb2de0 Add a method to speed up a conditional statement 2017-08-29 14:57:23 +02:00
Mathieu Magnin
3804ab5911 [Fix #589] When displaying individual form, fill birthdate input 2017-08-01 16:47:44 +02:00
gregoirenovel
c464a6faba [Fix #168] Sort published and archived procedures by publication_date 2017-07-18 13:44:03 +02:00
gregoirenovel
1c1a47d83a publiee_ou_archivee -> publiees_ou_archivees 2017-07-17 15:06:36 +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
gregoirenovel
cfec05506a Rename Procedure#archived? -> #archivee? 2017-07-13 15:32:13 +02:00
gregoirenovel
75aebe4f07 Add the archivees scope on Procedure 2017-07-13 14:46:09 +02:00
gregoirenovel
89feb6cdf7 Add the brouillons scope on Procedure 2017-07-13 14:46:08 +02:00
gregoirenovel
fc2540649f Add the publiees scope on Procedure 2017-07-13 14:46:07 +02:00
gregoirenovel
ab9cf1c351 Rename the published scope on Procedure 2017-07-13 14:40:41 +02:00
Simon Lehericey
693c2a43ac [Fix #592] mutualize sanitize and clean flash messages 2017-07-13 10:14:16 +02:00
Simon Lehericey
4ae9d8ef0d [Fix #592] Convert html_safe to sanitize 2017-07-13 10:14:16 +02:00
Simon Lehericey
da7af28f9f [Fix #592] Remove useless html_safe 2017-07-13 10:14:16 +02:00
gregoirenovel
3d4c93a7fb Autofocus on email fields when relevant 2017-07-13 00:04:52 +02:00
Simon Lehericey
35affd69fc Commentaires: avoid xss injection 2017-07-12 13:53:25 +02:00
Simon Lehericey
2e03f77e4d InfoDossier: avoid xss injection 2017-07-12 13:47:59 +02:00
Simon Lehericey
831ccac685 Turbolinks: do not reload mailjet js on every page 2017-07-11 10:00:29 +02:00
Simon Lehericey
b2e99dd755 Turbolinks: do not reload application js on every page 2017-07-11 10:00:29 +02:00
Simon Lehericey
27cd42a100 fix administration view 2017-07-11 09:09:20 +02:00
gregoirenovel
6a381caaee Add the archived scope to Procedure 2017-07-10 17:24:53 +02:00
gregoirenovel
411c5791c8 Use the not_archived Procedure scope 2017-07-10 17:24:43 +02:00
gregoirenovel
31b23ac74e Add the not_published Procedure scope 2017-07-10 17:24:39 +02:00
gregoirenovel
f480f26bd4 Use the state_not_brouillon Dossier scope 2017-07-10 16:54:02 +02:00
gregoirenovel
5f50f76341 Add the published scope en Procedure 2017-07-10 16:54:01 +02:00
Simon Lehericey
b2ba5c597d [FIX #558] Attestation: fix access with multiple logins 2017-07-10 10:23:15 +02:00
Simon Lehericey
4fad288a8a lastWeekOverview: fix template 2017-07-04 17:33:01 +02:00
Simon Lehericey
82d8871d03 DossierShow: fix unattended bug on @champs_private 2017-07-04 16:37:29 +02:00
Mathieu Magnin
70c7c42e1f [Fix #430] Add delete procedure button 2017-07-04 14:34:26 +02:00
Simon Lehericey
48e881f9ec [FIX #491] Attestation: allow administrateur to change attestation template on a published procedure 2017-07-04 13:59:54 +02:00
Simon Lehericey
8aaf7df579 AttestationTemplate edit: id.nil => new_record? 2017-07-04 13:59:54 +02:00
Simon Lehericey
1d4a0dce56 Header: fix alignement in ff 2017-07-04 13:48:56 +02:00
Mathieu Magnin
dc4decc827 Add profile switcher in header 2017-07-03 14:34:31 +02:00
Mathieu Magnin
5d8c798369 Connexion button is a secondary button 2017-07-03 14:34:31 +02:00
Mathieu Magnin
33af09cae5 Account menu on header 2017-07-03 14:34:31 +02:00
Mathieu Magnin
b7dc511a7d Create a clean application.js file for new design 2017-07-03 14:34:31 +02:00
Mathieu Magnin
649af19443 Add search field in navbar 2017-07-03 14:34:30 +02:00
Simon Lehericey
b1d96f4a94 [FIX #492] switch to new attestation download system 2017-07-03 14:09:14 +02:00
gregoirenovel
38400cc2ce Fix a capitalization mistake 2017-07-03 10:19:45 +02:00
gregoirenovel
0a1543c630 [Fix #523] prioritaites -> prioritaires 2017-07-03 10:19:45 +02:00
Simon Lehericey
fb50606680 Admin: remove useless data in admin creation mail 2017-06-30 17:21:41 +02:00
Simon Lehericey
603e2dd020 ProcedureOverview: reboot model and layout 2017-06-29 16:07:46 +02:00
Simon Lehericey
689d0c2dd7 ProcedureOverview: add layout 2017-06-29 16:07:46 +02:00
Simon Lehericey
26afa24e49 [Fix #512] Crisp: add crisp to homepage 2017-06-29 14:35:24 +02:00
Simon Lehericey
3d99407495 [Fix #499] Attestation: add maxlength to footer 2017-06-27 13:35:01 +02:00
Simon Lehericey
81984d2883 Attestation: remove misleading footer placeholder 2017-06-27 13:34:49 +02:00
Simon Lehericey
c16c19f8e6 [Fix #499] Attestation: footer is now an text_field instead of a text_area 2017-06-27 13:14:47 +02:00
gregoirenovel
0e3ebfd819 [Fix #183] Display “oui” or “non” instead of “true” or “false” 2017-06-26 14:53:38 +02:00
gregoirenovel
96dd853dbb [Fix #396] Don’t submit the publish form after a transfer 2017-06-26 10:51:28 +02:00
gregoirenovel
ed51c77895 Correctly display the success message when transfer was successful 2017-06-26 10:51:28 +02:00
gregoirenovel
12f61b490a Reformat transfer.js.erb 2017-06-26 10:51:28 +02:00
gregoirenovel
8d9ca18406 Improve spacing in _model_transfer.html.haml 2017-06-26 10:51:27 +02:00
gregoirenovel
0e3f431d7d Fix indentation in _modal_transfer.html.haml 2017-06-26 10:51:26 +02:00
gregoirenovel
bd2fcebf95 Change a silly title 2017-06-26 10:51:26 +02:00
gregoirenovel
ba5d816ce6 [Fix #176] Delete useless new_assignement email 2017-06-26 10:49:42 +02:00
gregoirenovel
3d11a35da8 Remove some commented code 2017-06-26 10:49:02 +02:00
Mathieu Magnin
8d008a51d0 [fix #474] display devise errors with flashes 2017-06-21 18:07:58 +02:00
Mathieu Magnin
ac5c00c26f [fix #452] redesign sign up form 2017-06-21 17:38:38 +02:00
Mathieu Magnin
6777b51331 rename login css to auth, since it will also be used by sign up 2017-06-21 17:38:34 +02:00
Mathieu Magnin
f1ab350897 fix turbolinks bug when switching between layouts 2017-06-20 17:34:48 +02:00
Mathieu Magnin
250b858128 json style for hashes 2017-06-20 17:31:58 +02:00
Mathieu Magnin
e51d8965a2 [Fix #468] fix demo login 2017-06-20 17:05:05 +02:00
Mathieu Magnin
482002fe79 Avis sign up should use generic layout 2017-06-20 13:56:49 +02:00
Mathieu Magnin
3f20d6fb9d login should use generic two columns layout 2017-06-20 11:42:54 +02:00
Mathieu Magnin
3388dc0e1f Create generic two-columns layout 2017-06-20 11:13:24 +02:00
Mathieu Magnin
a69915d8b5 standardize form title 2017-06-20 10:24:53 +02:00
Mathieu Magnin
f74462d826 Use generic css for avis_sign_up 2017-06-20 10:03:49 +02:00
Mathieu Magnin
2e795fb2a5 single quote => double quotes 2017-06-20 09:51:18 +02:00
Mathieu Magnin
c944088076 Add procedure overview on login 2017-06-19 18:21:15 +02:00