Commit graph

1261 commits

Author SHA1 Message Date
Mathieu Magnin
4a483e23bb [Fix #957] Use select2 for all menu deroulant
Displays options that are too long on mutilple lines
2017-11-24 15:36:39 +01:00
gregoirenovel
b6e0b40133 Do not crash if the user has no DOB
Related to #986
2017-11-23 15:24:34 +01:00
Mathieu Magnin
8edfdff0fc [Fix#980] Engagement checkbox should be checked sometimes 2017-11-23 09:40:44 +01:00
Simon Lehericey
d9f44e013a [fix #878] change motivation text and display a label if not action is possible 2017-11-23 09:34:19 +01:00
Simon Lehericey
e28b18d978 Dossier: add statut method 2017-11-23 09:34:18 +01:00
Simon Lehericey
f9c2da7a5d Style: change label class form closed to success 2017-11-23 09:34:14 +01:00
gregoirenovel
5361e4e1e9 [Fix #871] Add the date at the end of exported files 2017-11-22 17:27:57 +01:00
gregoirenovel
c8e62ad095 recherches -> recherche 2017-11-22 10:48:38 +01:00
gregoirenovel
bf4873af0a Add missing title to the recherche page 2017-11-21 18:21:59 +01:00
gregoirenovel
303e5285e9 [Fix #962] In new UI, add link on “dossier_link” field values 2017-11-21 18:05:34 +01:00
Simon Lehericey
a71574b8dd [fix #445]: add title to pages 2017-11-21 17:47:27 +01:00
gregoirenovel
481c38dee2 [Fix #896] Add a visible contact dialog for gestionnaires 2017-11-21 16:49:25 +01:00
gregoirenovel
a46aa83f00 Use a class instead of a tag as a tab link selector 2017-11-21 16:49:25 +01:00
gregoirenovel
d5954c7423 Show links to uploaded pieces justificatives in drafts 2017-11-21 16:46:43 +01:00
Simon Lehericey
68ea1ca1bd [fix #879] Civilite: display inline 2017-11-21 10:48:08 +01:00
Simon Lehericey
3dd2b7fd1d [fix #879] Yes_No: use standard order and display inline 2017-11-21 10:48:08 +01:00
gregoirenovel
899e20ebcc Fix multiple-selection values display when no value is given 2017-11-21 10:03:56 +01:00
Simon Lehericey
2b146a6d62 Notifications: show dossiers with notification in first place 2017-11-20 17:22:52 +01:00
gregoirenovel
f856077660 [Fix #908] Display multi-selection values in a list 2017-11-20 17:05:08 +01:00
gregoirenovel
9b0415eed7 Use a case statement in _champs.html.haml 2017-11-20 17:05:07 +01:00
Mathieu Magnin
adaa1e0dec [Fix #939] Remove demo page in staging 2017-11-10 18:19:41 +01:00
Simon Lehericey
f7d7cec5ae Notification: use new notification system 2017-11-10 16:29:45 +01:00
Simon Lehericey
9750af24d4 typo 2017-11-07 14:49:58 +01:00
Simon Lehericey
f7dc36364e [Fix #890] better display of rich text messagerie 2017-10-30 17:24:18 +01:00
Simon Lehericey
92beb321a4 typo 2017-10-27 17:28:50 +02:00
Simon Lehericey
a4be8e709c [fix #872] Procedure Logo: fix overflow logo for ie11
Bug in ie11 linked to flex and image ratio
The only way to fix it so far and preserving image ratio is to use background image property
2017-10-25 16:04:18 +02:00
Mathieu Magnin
eabc24b432 Print champ description with simple format to display line breaks 2017-10-25 15:36:42 +02:00
gregoirenovel
07ca2989bd Align several mixed-types buttons properly 2017-10-23 15:21:34 +02:00
gregoirenovel
e2a8bdcbb3 Remove the phone number from the homepage
We only get calls from users wanting support,
not from administrations wanting a demo
2017-10-23 11:12:11 +02:00
Mathieu Magnin
a8ec374252 [Fix #813] When a brouillon is created, send an email to user 2017-10-20 12:13:55 +02:00
gregoirenovel
fe84ff9e6c [Fix #864] Warn the user when they click the delete draft button 2017-10-19 11:20:52 +02:00
Mathieu Magnin
8c67339299 If date_publication is missing on rna_information, do not crash 2017-10-17 15:21:29 +02:00
Mathieu Magnin
793a2aa4c4 Remove crisp because Benjamin left 2017-10-17 11:52:09 +02:00
gregoirenovel
29ff27eee9 [Fix #848] Correctly format the dates in the Identité part 2017-10-17 11:32:26 +02:00
gregoirenovel
9e266ca0f4 Remove the .card div from the map partial 2017-10-17 11:31:59 +02:00
gregoirenovel
d42e438546 Extract the pieces jointes part into a partial 2017-10-17 11:31:59 +02:00
gregoirenovel
e053a40902 Don’t use the featured styling on Demande cards 2017-10-17 11:31:59 +02:00
gregoirenovel
2096f83a14 Extract the title from the card when showing the Pièce jointes 2017-10-17 11:31:59 +02:00
gregoirenovel
13ce8c28f0 Extract the title from the card when showing the Carte 2017-10-17 11:31:59 +02:00
gregoirenovel
bbb680e168 Extract the title from the card when showing the Identité 2017-10-17 11:31:59 +02:00
gregoirenovel
239324cdc4 Remove an extra blank line 2017-10-17 11:31:59 +02:00
Simon Lehericey
267591f27e [Fix #854] Give a length to libellé cells 2017-10-17 10:14:56 +02:00
gregoirenovel
fa2ee4797b Don’t use an i tag for icons 2017-10-17 10:02:28 +02:00
Simon Lehericey
741167abec [fix #832] sanitize user input 2017-10-16 10:49:54 +02:00
Simon Lehericey
4fab477b63 Style: scope icon style 2017-10-16 10:29:33 +02:00
gregoirenovel
316d8e09b5 Allow accompagnateurs to print a Dossier 2017-10-16 09:33:58 +02:00
gregoirenovel
b2f63f7f38 Delete redis and actioncable 2017-10-12 07:21:02 +02:00
gregoirenovel
ab625093d7 [Fix #802] Make the procedure’s stats clickable
They redirect directly to the right tabs

See http://kizu.ru/en/fun/nested-links/
for the dirty trick
2017-10-11 17:55:57 +02:00
Mathieu Magnin
17ce3885fd Force commentaire order to avoid tests to fail randomly 2017-10-06 11:04:09 +02:00
gregoirenovel
c58a7abbd1 Capitalize the buttons’ labels 2017-10-06 10:49:38 +02:00
gregoirenovel
6daeac8a18 Invert the buttons order in the Dossier header 2017-10-06 10:33:36 +02:00
gregoirenovel
3bedb76701 [Fix #791] Fix a typo preventing to download the Excel file 2017-10-05 16:53:57 +02:00
gregoirenovel
044e0e69b8 Normalize the capitalisation of tab names in the Accompagnateur header 2017-10-05 15:48:18 +02:00
gregoirenovel
002ccf3552 In the Avis header, the Instruction tab is now Avis 2017-10-05 15:47:29 +02:00
gregoirenovel
c586474a45 Do not show explication fields to gestionnaires 2017-10-05 14:46:09 +02:00
Sylvain
8d7450da20 Fix special chars on homepage
Deux 


LSEP apparaissent sur la home (Chrome, Windows, capture d'écran). Je les ai supprimé du fichier où ils apparaissent.
2017-10-05 13:45:05 +02:00
gregoirenovel
0705efde30 Add filtering to the dossiers table 2017-10-02 17:45:22 +02:00
gregoirenovel
3df9356021 Add field sort to the dossiers table 2017-10-02 17:45:22 +02:00
gregoirenovel
b1cfd7e1bc Extract the folders table header field into a partial 2017-10-02 17:45:22 +02:00
gregoirenovel
e1bdbec815 Allow the customization of the dossiers table 2017-10-02 17:45:22 +02:00
Simon Lehericey
c049957bbe Add disable_with on annotations_privees and avis 2017-09-29 17:16:32 +02:00
Simon Lehericey
69e5da1854 Avis Old UI: fix a path that have moved 2017-09-28 12:37:56 +02:00
Simon Lehericey
2b760c85c4 [Fix #763] Add annotations_privees to buggy annotation system 2017-09-27 15:08:34 +02:00
Simon Lehericey
04d1e0f0e8 Notification: instruction -> avis 2017-09-27 12:16:33 +02:00
Simon Lehericey
f5a227fa92 [Fix #762] move dossier instruction -> dossier annotations_privees 2017-09-27 12:16:33 +02:00
Simon Lehericey
a421f0257e [Fix #762] split annotations and avis 2017-09-27 12:08:55 +02:00
Simon Lehericey
1cfeb10ce9 [Fix #503] Dossier: remove updated 2017-09-26 14:42:54 +02:00
Simon Lehericey
633b55aca0 [Fix #503] Dossier: remove replied 2017-09-26 14:42:54 +02: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
Mathieu Magnin
45cf26e855 If type de champ has no dropdownlist do not crash, (sentry issue: https://sentry.apientreprise.fr/apientreprise/tps_dev/issues/1833/) 2017-09-22 14:16:00 +02:00
Mathieu Magnin
64f4bcf257 Fix if gestionnaire is nil (sentry issue : https://sentry.apientreprise.fr/apientreprise/tps_dev/issues/1865/) 2017-09-22 11:19:19 +02:00
Mathieu Magnin
356c16b1bc Hide crisp default button, to avoid usagers to spam us 2017-09-22 10:29:49 +02:00
Mathieu Magnin
6a58873ba7 Add pagination on avis 2017-09-22 10:19:26 +02:00
Mathieu Magnin
2737a8d529 Add pagination on dossiers list 2017-09-22 10:19:25 +02:00
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