Commit graph

1365 commits

Author SHA1 Message Date
gregoirenovel
a1275af55f Use the path helper in the new procedure template 2018-01-09 11:05:19 +01:00
simon lehericey
f1b7a03b63 [fix #1097] Add job to monitor procedures 2018-01-09 10:29:54 +01:00
simon lehericey
d7d5d7eff4 Rename new_admin_mailer to administration_mailer 2018-01-09 10:29:54 +01:00
gregoirenovel
3f2876faf6 [Fix #1129] Simplify the terms checkbox message 2018-01-08 17:14:51 +01:00
gregoirenovel
301eb411cd Remove two opensimplif-related files
They seem unused
2018-01-08 17:03:41 +01:00
Mathieu Magnin
04e9f7be3e [Fix #1149] Move avis actions to new gestionnaire controller 2018-01-08 16:50:15 +01:00
gregoirenovel
bf5e21d6de [Fix #1182] Add a “create new procedure from an existing one” feature 2018-01-08 14:55:07 +01:00
Frederic Merizen
75a3d0f3db [#1110] use modern rather than legacy tags in default mail templates 2018-01-05 17:42:25 +01:00
Frederic Merizen
e985439416 [#1110] Use tags method rather than ALLOWED_TAGS class constant 2018-01-05 12:48:07 +01:00
Frederic Merizen
b9a1f707f5 [#1110] name => libelle in mail templates
to match attestation templates
2018-01-05 12:48:07 +01:00
Mathieu Magnin
98ac496aa5 [Fix #1100] Administrateur can renew his API Token 2017-12-26 18:30:36 +01:00
Mathieu Magnin
fab00b1674 [Fix #1096] Add administration email in new administrateur email 2017-12-22 11:10:25 +01:00
Mathieu Magnin
4990595430 [Fix #1096] Sign in with GitHub page 2017-12-22 11:10:24 +01:00
gregoirenovel
6191640262 [Fix #1102] Add more information to the avis confidentiality warning 2017-12-22 10:32:54 +01:00
Mathieu Magnin
642dc4ba21 [Fix #1118] New ui is the default ui for gestionnaire 2017-12-21 23:20:59 +01:00
gregoirenovel
a55463c164 Remove the dossier number from the dossier processing popover
- One popup_title wasn’t written so that its
  combination with the dossier number made sense

- The number is already visible on the page

- The number is not that important to make a
  decision (the context it adds does not have
  so much value)
2017-12-21 17:42:53 +01:00
gregoirenovel
85a01a4638 Fix typos and unify the wording for dossier processing 2017-12-21 17:42:53 +01:00
gregoirenovel
8c1eeb9f25 [Fix #1011] Change the “Enregistrer un brouillon” button behaviour
And add the “Voir mes brouillons et dossiers”
button
2017-12-21 15:05:13 +01:00
gregoirenovel
84b05a348e [Fix #525] Improve the wording of the attestation template footer label 2017-12-20 19:57:31 +01:00
gregoirenovel
280d4af5ee Forgot to replace some commentaires/messages paths in #1122 2017-12-19 16:50:31 +01:00
gregoirenovel
bab4b4711a
Merge pull request #1122 from sgmap/messagerie
Commentaire -> message
2017-12-19 13:12:40 +01:00
gregoirenovel
2b294e2a95 [Fix #1123] Remove the beta banner in production 2017-12-19 11:48:21 +01:00
gregoirenovel
a28bf91356 Commentaire -> message 2017-12-18 14:20:41 +01:00
gregoirenovel
046e1cf8f3 Mutualize some code in an avis form partial 2017-12-15 18:54:55 +01:00
gregoirenovel
ec9758a946 Mutualize some code code into a messagerie partial 2017-12-15 18:37:44 +01:00
gregoirenovel
0c995b63cf Move the avis list partial in the shared folder 2017-12-15 18:37:44 +01:00
gregoirenovel
e4f7f20698 Mutualize some accompagnateur show template code in a partial 2017-12-15 18:37:44 +01:00
gregoirenovel
60c845986c Remove some unused locals in the champs partial inclusions 2017-12-15 18:37:44 +01:00
gregoirenovel
0a185fb76b Remove useless ids in the new Avis templates 2017-12-15 18:37:44 +01:00
gregoirenovel
15098d9fa2 Forgot to change some paths after the renaming in #1114 2017-12-15 18:28:08 +01:00
Simon Lehericey
40b9a77395 Dossier: replace nouveau scope by en_construction 2017-12-15 17:37:30 +01:00
gregoirenovel
4cb84e556d Update a class’ name 2017-12-15 15:55:24 +01:00
gregoirenovel
be1ce69f47 Improve a partial’s and a partials folder's names 2017-12-15 15:55:24 +01:00
gregoirenovel
fb392d87c9 Improve the style of the messagerie form
Reduce the space between the messages and the
new message textarea
2017-12-15 14:42:41 +01:00
Simon Lehericey
c83552f423 [fix #504] Dossier: without_continuation -> sans_suite 2017-12-15 12:10:54 +01:00
Simon Lehericey
2be9b8d2ba [fix #504] Dossier: refused -> refuse 2017-12-15 12:10:54 +01:00
Simon Lehericey
a13256f73d [fix #504] Dossier: closed -> accepte 2017-12-15 12:10:54 +01:00
LeSim
3dda27b281 [fix #504] Dossier: received -> en_instruction 2017-12-15 12:10:54 +01:00
Simon Lehericey
72bae2c374 [fix #504] Dossier: draft -> brouillon 2017-12-15 11:52:09 +01:00
LeSim
56545933a9 [fix #504] Dossier: initiated -> en_construction
The change must not impact the api
2017-12-15 11:52:09 +01:00
Mathieu Magnin
5c46db3b3d Improve messagerie readability 2017-12-15 11:01:48 +01:00
gregoirenovel
9766a48d64 Mutualize a duplicated render instruction 2017-12-15 10:50:58 +01:00
Mathieu Magnin
3927e5ebf9 If answer is missing on avis, notify on avis tab 2017-12-15 10:43:36 +01:00
gregoirenovel
2def3ecd20 Annotations privées look odd in a card 2017-12-14 18:32:48 +01:00
gregoirenovel
64f9f087a0 Add some spacing to tab paragraphs and lists
Otherwise the personnes impliquées tab looks odd
2017-12-14 18:32:48 +01:00
gregoirenovel
9ec61a6a73 Remove the featured styling on the annotations privées tab content 2017-12-14 18:32:48 +01:00
gregoirenovel
6cc81db025 Remove a useless title
We do not repeat the tab title in the tab
2017-12-14 18:32:48 +01:00
gregoirenovel
c16ca6adb1 [Fix #1041] Use the tab-title style for tab titles 2017-12-14 16:39:41 +01:00
gregoirenovel
4f0e6ae467 Use the tab-title class instead of an unknown class 2017-12-14 16:39:41 +01:00
gregoirenovel
191a5a1dee Mutualize some CSS into a class 2017-12-14 16:39:41 +01:00
gregoirenovel
b2c8a32fcd Rename accompagneur-title to page-title 2017-12-14 16:39:41 +01:00
gregoirenovel
13d8d4bfd4 Add missing locals to partials called in the print template 2017-12-14 15:47:40 +01:00
Mathieu Magnin
7d668315db [Fix #1016] display notifications for annotations privées 2017-12-14 13:57:20 +01:00
Mathieu Magnin
c3e7e39947 [Fix #1016] display notifications for avis 2017-12-14 13:57:20 +01:00
Mathieu Magnin
8e67e5c057 [Fix #1016] display notifications for new messages 2017-12-14 13:57:19 +01:00
Mathieu Magnin
5474ff8bb4 [Fix #1016] display notifications on PJ 2017-12-14 13:57:19 +01:00
Mathieu Magnin
c6be745067 [Fix #1016] display notifications for champs publics 2017-12-14 13:57:15 +01:00
Frederic Merizen
21bb04d74e [fix #1066] Fix links to related dossier for experts
- link to full dossier if gestionnaire is affected on procedure
- link to avis if avis expert requested on related dossier
2017-12-13 10:28:16 +00:00
gregoirenovel
1bd4ebbb3b Improve the patron 2017-12-12 14:53:36 +01:00
gregoirenovel
de4d8b0297 [Fix #1056] Use a span instead of a div for icons 2017-12-12 14:51:44 +01:00
gregoirenovel
060c607772 Add link to the FAQ website in the footer 2017-12-12 10:11:13 +01:00
Simon Lehericey
271abc72fb [fix #1065] Change logout logo for plain text 2017-12-11 17:00:45 +01:00
Simon Lehericey
a05217b364 [fix #1014] strip html tags in annotations_privees 2017-12-11 12:40:12 +01:00
Simon Lehericey
6e97209b82 Form text_area: respect new line 2017-12-11 11:56:18 +01:00
Simon Lehericey
b551ae8097 [fix #1015] New UI: add attachment history 2017-12-07 17:04:41 +01:00
Simon Lehericey
4014912ea4 [fix #1042] keep footer only for the landing 2017-12-07 16:32:22 +01:00
gregoirenovel
3cbead5b48 Add link to the documentation in the footer 2017-12-07 16:15:44 +01:00
gregoirenovel
0d22ecfe5a Delete the CGU-related files and mentions 2017-12-07 16:15:44 +01:00
gregoirenovel
1c413eeec4 [Fix #1036] Change the links to the CGU: use the GitBook version 2017-12-07 16:15:37 +01:00
gregoirenovel
9a51940024 [Fix #393] In the footer, mentions légales link -> API doc link 2017-12-07 16:15:37 +01:00
gregoirenovel
d75a3872d1 [Fix #963] Add a "personnes impliquées" tab 2017-12-05 17:04:17 +01:00
Simon Lehericey
e709b773b1 Logo: add a11y 2017-12-05 11:33:44 +01:00
Simon Lehericey
6c73766e0d [fix #1013] fix logo on ie11 2017-12-05 11:17:34 +01:00
gregoirenovel
407c578f68 Delete the SGMAP link from the footer 2017-12-04 16:47:05 +01:00
Mathieu Magnin
9bc5545bdd Remove N+1 query on Dossier#show 2017-12-01 17:45:57 +01:00
gregoirenovel
cabfee44db Rename a class to better reflect its contents 2017-12-01 14:28:07 +01:00
gregoirenovel
2d9313b10b Rename the close icon to refuse 2017-12-01 14:28:07 +01:00
gregoirenovel
dd47f96424 Improve the names of some parameters in DossiersController 2017-12-01 14:28:07 +01:00
gregoirenovel
a04af24cbf Add DossiersController#terminer 2017-12-01 14:28:07 +01:00
gregoirenovel
a5b4b20a7d Add DossiersController#repasser_en_construction 2017-12-01 14:28:07 +01:00
gregoirenovel
eb55dfc0c8 Add and use DossiersController#passer_en_instruction 2017-12-01 14:28:07 +01:00
Mathieu Magnin
a3b93229e9 [Fix #1002] Use partial in print view, and style messagerie in print mode to display all messages 2017-12-01 12:30:16 +01:00
gregoirenovel
d23c3c42a2 In new UI CSS and templates, backoffice -> accompagnateur 2017-12-01 11:53:48 +01:00
Mathieu Magnin
19a951d103 [Fix #1023] If old commentaire.PJ is present, then display it 2017-12-01 10:14:02 +01:00
Simon Lehericey
bbcf350d7d [fix #997] New Style: allow new line in messagerie 2017-11-30 16:07:48 +01:00
Simon Lehericey
68682fe78d [fix #873] add motivation in case of refused or without continuation dossier 2017-11-29 14:06:32 +01:00
gregoirenovel
2c901efbb1 Fix print page crasher
A partial was renamed in #937 but the renaming
was not reflected in this template
2017-11-29 11:38:14 +01:00
gregoirenovel
731e1b6787 [Fix #164] Make the organisme field mandatory 2017-11-29 10:36:22 +01:00
gregoirenovel
db3e07820a [Fix #929] Add a current-tab only print feature 2017-11-28 15:22:50 +01:00
gregoirenovel
3c5361a96f Correctly handle the print stylesheet 2017-11-28 15:22:50 +01:00
gregoirenovel
10f1859a2a Properly style the button when there is a motivation or attestation 2017-11-28 15:21:34 +01:00
gregoirenovel
5c92989fc8 Properly style the label when there is no motivation nor attestation 2017-11-28 15:21:34 +01:00
gregoirenovel
e3ce5115a2 Rename two classes so that they are more meaningful 2017-11-28 15:21:34 +01:00
Mathieu Magnin
fa95c312ff Old UI : Plug messagerie on new commentaire file system 2017-11-28 15:07:10 +01:00
Mathieu Magnin
eae16f7746 New UI : Regular messagerie and avis messagerie should use same partials 2017-11-28 15:07:10 +01:00
Mathieu Magnin
886d278d77 New UI : Move messagerie template in order to share them later 2017-11-28 15:07:10 +01:00
Mathieu Magnin
150ff5e7ca New UI : Use RemoteDownloader class to hide ovh url 2017-11-28 15:07:10 +01:00
Mathieu Magnin
7ea7eea952 New UI : Style file uploader 2017-11-28 15:07:10 +01:00
Mathieu Magnin
7f4652fd1e New UI : Accept only few extensions 2017-11-28 15:07:10 +01:00
Mathieu Magnin
158adc2472 New UI : Check if commentaire is correctly saved 2017-11-28 15:07:10 +01:00
Mathieu Magnin
ae5e6653cb [Fix #888] New UI : Add upload on commentaire form 2017-11-28 15:07:09 +01:00
Mathieu Magnin
d9e3efdf13 [Fix #98] If there is no dossiers do not show export button 2017-11-28 10:24:36 +01:00
Mathieu Magnin
4e91ede69f Move export button in partial 2017-11-28 10:23:42 +01:00
gregoirenovel
2415d628d1 [Fix #160] Delete the remaining link to our staging environment 2017-11-24 17:08:56 +01:00
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