Commit graph

1944 commits

Author SHA1 Message Date
simon lehericey
bdce6aff2e Gestionnaire: move print_dossier_path to print_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
9c829422e0 Gestionnaire: move position_dossier_path to position_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
df167dbfb9 Gestionnaire: move envoyer_a_accompagnateur_dossier_path to envoyer_a_accompagnateur_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
1e341fefd0 Gestionnaire: move terminer_dossier_path to terminer_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
7cd3ed3955 Gestionnaire: move repasser_en_construction_dossier_path to repasser_en_construction_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
ddff38452d Gestionnaire: move passer_en_instruction_dossier_path to passer_en_instruction_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
09c3064dd1 Gestionnaire: move commentaire_dossier_path to commentaire_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
c0793751fa Gestionnaire: move annotations_dossier_path to annotations_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
129ebdd403 Gestionnaire: move archive_dossier_path to archive_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
b07516c41d Gestionnaire: move follow_dossier_path to follow_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
a416efc49a Gestionnaire: move personnes_impliquees_dossier_path to personnes_impliquees_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
63163e5022 Gestionnaire: move avis_dossier_path to avis_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
87a4029f1a Gestionnaire: move annotations_privees_dossier_path to annotations_privees_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
be191a680e Gestionnaire: move messagerie_dossier_path to messagerie_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
simon lehericey
7c364ce745 Gestionnaire: move download_dossiers_procedure_path to download_dossiers_gestionnaire_procedure_path 2018-02-22 17:02:20 +01:00
simon lehericey
d1079fda8b Gestionnaire: move remove_filter_procedure_path to remove_filter_gestionnaire_procedure_path 2018-02-22 17:02:20 +01:00
simon lehericey
bbd31ec3a4 Gestionnaire: move add_filter_procedure_path to add_filter_gestionnaire_procedure_path 2018-02-22 17:02:20 +01:00
simon lehericey
c0229813f1 Gestionnaire: move update_sort_procedure_path to update_sort_gestionnaire_procedure_path 2018-02-22 17:02:20 +01:00
simon lehericey
b76237d2ad Gestionnaire: move update_displayed_fields_procedure_path to update_displayed_fields_gestionnaire_procedure_path 2018-02-22 17:02:20 +01:00
Mathieu Magnin
3efcadd855 [Fix #1164] Do not show profile switcher for current profile 2018-02-21 15:16:30 +01:00
Mathieu Magnin
6ed1d7f833 [Fix 1413] User header should not contain accompagnateurs links 2018-02-21 14:22:59 +01:00
Paul Chavard
2cf0985585 Show notifications on dossiers terminé
Closes #1138
2018-02-20 15:54:36 +01:00
Paul Chavard
4f8a19718f Do not show notifications on “all dossiers” tab 2018-02-20 15:54:36 +01:00
Mathieu Magnin
d9265d9686 [Fix #1409] Display identite form with new design 2018-02-20 11:01:47 +01:00
Paul Chavard
35a4367114 Fix multi submit bug with direct upload 2018-02-16 12:53:00 +01:00
gregoirenovel
5746ba29da Fix a bug in the PJ PR 2018-02-15 13:58:19 +01:00
gregoirenovel
93d8470321 Put the piece justificative champ behind a feature flag 2018-02-15 12:04:03 +01:00
gregoirenovel
ee145180a3 Add a piece_justificative_file attribute to Champ 2018-02-15 11:15:23 +01:00
CamilleGarrigue
75b2e16cc0
Update _list.html.haml 2018-02-14 10:44:26 +00:00
Paul Chavard
f80a9466b9 Delegate mandatory? to type_de_champ 2018-02-13 14:56:55 +01:00
Paul Chavard
52749713ab Remove ChampPublic/ChampPrivate STI 2018-02-13 12:07:13 +01:00
Mathieu Magnin
5398864609 Whole line should be clickable 2018-02-13 10:58:32 +01:00
Mathieu Magnin
9105e4e3f7 [Fix #1403] Apply dossier index style to recherche 2018-02-13 10:58:32 +01:00
Frederic Merizen
283e6e927b [Fix #1397] Hide 'envoyer' button when no potential recipient 2018-02-08 20:38:20 +01:00
Mathieu Magnin
50f35ee905 [Fix #1296] Birthday field is optional in procedure 2018-02-07 15:57:48 +01:00
simon lehericey
9297cbc642 Manager: regenerate views template to match the new version 2018-02-07 15:43:16 +01:00
Paul Chavard
8a55ac79f1 Remove global BROWSER and use browser helper 2018-02-05 10:35:51 +01:00
Frederic Merizen
d919d62cf7 [Fix #1012] Send dossier to other accompagnateur 2018-02-01 16:58:01 +01:00
gregoirenovel
f306dd636e Refactor some complex code 2018-01-30 16:56:49 +01:00
Paul Chavard
fdd6cedeb8 Remove data_provide and data_date_format attributes 2018-01-30 13:49:16 +01:00
Mathieu Magnin
ce5ce78eff [Fix #1291] Add CGU link to invite_admin mail template 2018-01-29 11:08:20 +01:00
Mathieu Magnin
11dbc595c7 Store in constant CGU url 2018-01-29 11:08:19 +01:00
gregoirenovel
1c78d77c30 Bump default gems
- haml-rails
- jquery-rails
- unicorn
- openid_connect
- omniauth-github (dependencies)
- fog
- mailjet
- smart_listing
- spreadsheet_architect
- apipie-rails
- maruku
- openstack
- browser
- skylight
- simple_form
- scenic
- daemons
- sentry-raven
- administrate (dependencies)
- logstasher
- chartkick
- font-awesome-rails
2018-01-23 16:26:56 +01:00
gregoirenovel
d2f7c655d7 Bump development gems
- brakeman
- web-console
- xray-rails
- haml-lint
- scss_lint
2018-01-23 16:26:56 +01:00
Mathieu Magnin
469aca999b Revert "Remove data_provide and data_date_format attributes"
This reverts commit 273b3f2faf.
2018-01-19 13:20:53 +01:00
gregoirenovel
5723c4c894 Remove any reference to the SGMAP 2018-01-18 17:39:56 +01:00
Paul Chavard
273b3f2faf Remove data_provide and data_date_format attributes 2018-01-18 15:13:48 +01:00
gregoirenovel
f6c0edc5a3 [Fix #1292] Link to avis, not dossier for expert search results 2018-01-18 11:22:08 +01:00
Mathieu Magnin
307d7338e5 Remove unreachable code 2018-01-18 10:32:39 +01:00
Mathieu Magnin
11b055e07c Rename reinvite action in controller 2018-01-18 10:04:34 +01:00
Mathieu Magnin
d9feb4be06 Move sign_in behind /manager (not in namespace due to Administrate resources autoloading) 2018-01-17 18:04:23 +01:00
Mathieu Magnin
d5c036362b Remove old controller and templates 2018-01-17 18:04:23 +01:00
Mathieu Magnin
a5aeaf988a Add delayed_job link in sidebar 2018-01-17 18:04:23 +01:00
Mathieu Magnin
4f756975c7 Move administrateur#update in Administrate 2018-01-17 18:04:21 +01:00
Mathieu Magnin
67f89d5f86 Move administrateur creation in Administrate 2018-01-17 18:04:21 +01:00
Mathieu Magnin
0396db9e5f Clean Administrate templates and controllers 2018-01-17 18:04:20 +01:00
simon lehericey
02dd1e209c FC ParticulierController: implement auto reconciliation based on user email 2018-01-17 16:37:26 +01:00
Paul Chavard
6a43248cb3 Fix CSS injection 2018-01-16 14:02:10 +01:00
Paul Chavard
bbf55ab85e Create administrateurs with invitation link and no password 2018-01-16 10:49:07 +01:00
Paul Chavard
5a984a3637 Add admin invitation mailer 2018-01-16 10:49:07 +01:00
gregoirenovel
1368cd4b03 [Fix #1120] Delete the old accompagnateur UI 2018-01-15 10:02:10 +01:00
gregoirenovel
3593adbe66 !foo.empty? -> foo.present? 2018-01-12 11:32:43 +01:00
gregoirenovel
aedafbaf2e !foo.blank? -> foo.present? 2018-01-12 11:32:43 +01:00
gregoirenovel
bbaebe0602 !foo.nil? -> foo.present? 2018-01-12 11:32:43 +01:00
gregoirenovel
7c34807f46 Don’t use unless 2018-01-12 11:32:43 +01:00
Mathieu Magnin
e3ec8643db In manager display libelles with line breaks 2018-01-11 11:03:34 +01:00
Mathieu Magnin
4c0592d631 Rails-ish route 2018-01-10 18:17:05 +01:00
gregoirenovel
608a8eaf67 Abstract the Procedure whitelisting 2018-01-10 17:58:10 +01:00
gregoirenovel
289461d708 Handle the GitHub org rename: sgmap -> betagouv 2018-01-10 17:26:25 +01:00
simon lehericey
53687bf84a Whitelist: add whitelist button in admin 2018-01-10 17:18:44 +01:00
Simon Lehericey
202d0489a1 Whitelist: links from mail to admin 2018-01-10 17:18:44 +01:00
Mathieu Magnin
440c2b5dd1 [Fix #1098] add administrate custom layout to add logout link 2018-01-10 13:44:02 +01:00
Mathieu Magnin
c7b3bb0733 [Fix #1098] Custom TypesDePieceJustificativeField for Administrate 2018-01-10 13:44:01 +01:00
Mathieu Magnin
51b94e2f53 [Fix #1098] Custom TypesDeChampCollectionField for Administrate 2018-01-10 13:44:01 +01:00
Mathieu Magnin
65f0859357 [Fix #1098] Using custom views to remove edit and delete button from index
This can be reverted when Administrate gem will include this fix : https://github.com/thoughtbot/administrate/pull/597 (>=0.5.0)
2018-01-10 13:44:00 +01:00
Simon Lehericey
1473577131 [fix #1033] Procedure Edition: add position field to order the champs 2018-01-10 13:27:22 +01:00
Frederic Merizen
56749769d6 [Fix #1186] Rename object to subject for mail templates 2018-01-09 16:00:31 +01:00
gregoirenovel
fdf240cf31 Improve the wording on the “New from existing” page 2018-01-09 11:07:26 +01:00
gregoirenovel
c77558aeed Correctly handle errors when cloning someone else’s procedure 2018-01-09 11:07:26 +01:00
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
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
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
Mathieu Magnin
8b9eda0f43 No login link on header on login page 2017-06-19 18:21:15 +02:00
Mathieu Magnin
b68a8b37e8 Redesign the login form 2017-06-19 18:21:15 +02:00
Mathieu Magnin
a82994f00f Add inputs & labels to patron 2017-06-19 18:21:15 +02:00
Mathieu Magnin
765be88d6d Add expand button on patron 2017-06-19 18:21:15 +02:00
Mathieu Magnin
90a643d4fb Add /patron page 🎨 2017-06-19 18:21:15 +02:00
gregoirenovel
d0b927857a Add stats for encart motivation 2017-06-19 18:01:59 +02:00
Simon Lehericey
523df76ecb Attestation: fix attestation_template_admin_link 2017-06-16 15:44:40 +02:00
Simon Lehericey
b664709c3d [Fix #196] Attestation: allow vizualisation after the procedure is published 2017-06-16 12:11:10 +02:00
Simon Lehericey
671a0575ce [Fix #196] Recapitulatif: user can download its attestation 2017-06-16 12:11:10 +02:00
Simon Lehericey
c0facbf679 [Fix #196] AttestionTemplate: add preview 2017-06-16 12:11:09 +02:00
Simon Lehericey
fdb4d15bcf [Fix #196] AttestationTemplate: add edition 2017-06-16 12:11:09 +02:00
gregoirenovel
b64c6d8817 Add a separator before the “Reouvrir” button 2017-06-13 15:14:51 +02:00
gregoirenovel
b58c02180c [Fix #197] Allow a gestionnaire to add a motivation 2017-06-13 15:14:50 +02:00
gregoirenovel
88267a990d [Fix #197] Show the motivation on a dossier’s details 2017-06-13 15:14:48 +02:00
gregoirenovel
33944e343a Add Backoffice::DossiersController#process_dossier and use it 2017-06-13 15:05:09 +02:00
gregoirenovel
38e8908986 Fix the colors of the graphs on the Stats page 2017-06-13 10:13:20 +02:00
Mathieu Magnin
41a5ed59f3 [Fix #376] Force every browser to use native input[type=date] on date champ 2017-06-12 14:05:31 +02:00
Mathieu Magnin
2653862fa7 Add a placeholder to help IE users to fill the date input with the right format 2017-06-12 14:05:31 +02:00
Mathieu Magnin
95481e7b85 Move date input in a partial 2017-06-12 14:05:31 +02:00
gregoirenovel
8968675cfb [Fix #388] In avis email, redirect a signed in gest. to the dossier
Instead to the sign in page
2017-06-12 10:54:01 +02:00
gregoirenovel
2a74207d15 you_are_invited_on_dossier -> avis_invitation
- shorter
- clearer
2017-06-12 10:53:59 +02:00
gregoirenovel
3c83cc3c52 In Avis sign up, fix the numero character and add a non-breaking space 2017-06-08 14:08:43 +02:00
gregoirenovel
220b71abfd Fix invite guest email
- fix typo
- add a missing non-breaking space
2017-06-08 14:06:58 +02:00
gregoirenovel
07ad7b4c84 mails -> mail_templates 2017-06-08 12:22:46 +02:00
gregoirenovel
07ea0ceea1 Make MailTemplateConcern.slug a constant 2017-06-08 12:22:44 +02:00
gregoirenovel
5a59115df4 Refactor the TAGS management in MailTemplateConcern 2017-06-08 12:22:36 +02:00
gregoirenovel
ba865215af Use the Chartkick colors option 2017-06-07 14:53:10 +02:00
Mathieu Magnin
9d323fd387 Click on Demander une démo, opens a new tab 2017-06-02 15:38:24 +02:00
Mathieu Magnin
8b92b44ab0 Track ask demo click on home page 2017-06-02 10:05:00 +02:00
gregoirenovel
ab1c19c09b Rename some Dossier scopes 2017-06-01 10:58:08 +02:00
Mathieu Magnin
705a3f3e1b Fix cache bug on stats page 2017-06-01 09:44:22 +02:00
Simon Lehericey
c185f60dd2 Avis: ugly workaround for #375 2017-05-31 16:44:06 +02:00
Simon Lehericey
9e6098dc09 Add the weekly avis answer percentage to Stats 2017-05-31 14:24:33 +02:00
Mathieu Magnin
068b635b7c Add the weekly avis answer time average to Stats 2017-05-31 14:24:32 +02:00
Simon Lehericey
b5f1b898c7 Add the weekly avis usage to Stats 2017-05-31 13:31:19 +02:00
Mathieu Magnin
69a5857322 [Fix #264] Add pie chart to count administrations 2017-05-30 15:36:21 +02:00
gregoirenovel
9585142468 Group the cumulative and monthly charts 2017-05-30 12:05:28 +02:00
gregoirenovel
3215411547 Delete the 30 days flows graphs 2017-05-30 12:05:28 +02:00
gregoirenovel
58aa94359c On the Stats page, move the total numbers at the top of the page 2017-05-30 12:05:27 +02:00
gregoirenovel
e19fb43f01 Only show the mean charts to logged in users 2017-05-30 12:05:27 +02:00
gregoirenovel
e242c5d742 Add caching to the Stats page 2017-05-30 12:05:27 +02:00
gregoirenovel
711f21c458 [Fix #264] Add the mean filling time graph to Stats 2017-05-30 12:05:27 +02:00
gregoirenovel
faa547e891 [Fix #264] Add the mean instruction time graph to Stats 2017-05-30 12:05:27 +02:00
gregoirenovel
ed7ba60cf0 [Fix #264] Add the last 4 months evolution graphs to Stats 2017-05-30 12:05:26 +02:00
gregoirenovel
f82533be19 Use the new_application layout for the Stats page 2017-05-29 15:46:54 +02:00
gregoirenovel
627ce150a7 Capture the Chartkick JS and yield it in the layout
So that we can include all the JS at the bottom of
the page without error
2017-05-29 15:46:54 +02:00
Simon Lehericey
7ac6c81154 AdminProceduresInfoHaml: remove localtime to date 2017-05-29 13:53:14 +02:00
Simon Lehericey
64f7cab3cf Avis: add claimant gestionnaire to track who asks for an avis 2017-05-29 11:44:28 +02:00
Simon Lehericey
23e57f5cc4 Navbar: add deprecation warning for invitations 2017-05-29 11:44:28 +02:00
Simon Lehericey
516a8c28c5 Avis: change invitation mail when the recipient is not tps 2017-05-29 11:44:28 +02:00
Simon Lehericey
aaf155df72 Avis: add sign_up logic for new tps gestionnaire 2017-05-29 11:44:28 +02:00
Mathieu Magnin
efdac753c6 When an Avis is created an email is sent to the Gestionnaire 2017-05-29 11:44:28 +02:00
Simon Lehericey
f6359cb7aa gestionnaire invited on dossier for avis, can update Avis 2017-05-29 11:44:28 +02:00
Mathieu Magnin
d07943a55d Add by_latest scope in Avis 2017-05-29 11:44:28 +02:00
Mathieu Magnin
7c662aa7b2 Gestionnaire invited on dossier for avis, cannot see private form / change dossier state / follow dossier / see invited people / see others avis 2017-05-29 11:44:28 +02:00
Mathieu Magnin
43f481b7ff Gestionnaire can list dossiers where he is invited for avis 2017-05-29 11:44:28 +02:00
Mathieu Magnin
c3bf15d49f Create and list Avis on Dossier detail page 2017-05-29 11:44:28 +02:00
Simon Lehericey
5cc4862983 [Fix #349] NewHeader: the logo is a link to root_path 2017-05-29 11:35:29 +02:00
Simon Lehericey
8dabdcc6c4 GestionnaireMailer: add a last week report 2017-05-23 17:12:18 +02:00
Simon Lehericey
b30cb34fa2 LeftPanelBackofficeDossier: fix a typo 2017-05-22 17:58:12 +02:00
gregoirenovel
ca1a61cd7f Remove an extra character in welcome_email.text.erb 2017-05-22 17:24:44 +02:00
Mathieu Magnin
8af72f7b9a Isolate new design stylesheets 2017-05-17 18:06:53 +02:00
Mathieu Magnin
14bfda2e26 [Fix #251] Fix landing page design on mobile (and add responsive) 2017-05-17 18:06:46 +02:00
gregoirenovel
cd19c17df5 mail -> email 2017-05-16 15:10:44 +02:00
gregoirenovel
e6f866d99e Do not use the email address in emails 2017-05-16 15:10:44 +02:00
gregoirenovel
536591078e In emails, add a comma after the salutation phrase 2017-05-16 15:10:44 +02:00
gregoirenovel
ae7cea369d Move the “please do not reply” message below the signature 2017-05-16 15:10:44 +02:00
gregoirenovel
b77c63605a Add a signature to the emails which don’t have one 2017-05-16 15:10:44 +02:00
gregoirenovel
2796eea39a Improve the formatting of reset_password_instructions.html.erb 2017-05-16 15:10:44 +02:00
gregoirenovel
2984c495e6 Add a parting phrase to emails which don’t have one 2017-05-16 15:10:44 +02:00
gregoirenovel
d8c5db4ac5 End the email parting phrase with a comma 2017-05-16 15:10:44 +02:00
gregoirenovel
d5fce6f7b6 Remove the 3 dashes from the emails signature 2017-05-16 15:10:44 +02:00
Simon Lehericey
df731cb895 Fix localtime on date object 2017-05-16 14:40:44 +02:00
Simon Lehericey
8d6838e8ed Mailjet: fix https errors 2017-05-16 13:44:07 +02:00
Simon Lehericey
f2d9953e59 Fix #295: mailjet script should be in https 2017-05-16 10:27:10 +02:00
Mathieu Magnin
9bec2e9536 Fix #281 Remove unreadable tooltip on procedure libelle 2017-05-15 16:55:24 +02:00
gregoirenovel
a58a8684d9 [Fix #285] Gestionnaire.dossiers_follow -> followed_dossiers 2017-05-15 15:51:51 +02:00
Mathieu Magnin
ac1782256a Fix #282 use disable_with to avoid sending same message twice 2017-05-12 17:34:20 +02:00
Mathieu Magnin
8f5fdfa81f Rename dossier_with_notification_for 2017-05-12 15:42:33 +02:00
gregoirenovel
09ba66dc41 [Fix #274] Change the email signatures
- Equide -> Equipe
- TPS -> Téléprocédures simplifiées
- Remove the email address
2017-05-12 13:51:01 +02:00
Mathieu Magnin
e5ac555a41 fix #245 it should only count dossiers with notifications on followed dossiers 2017-05-12 10:13:51 +02:00
Simon Lehericey
cebb197994 Fix #171 : add localtime to a bunch of date 2017-05-11 15:10:49 +02:00
Simon Lehericey
a312628383 Newsletter: add mailjet widget 2017-05-11 10:11:40 +02:00
Simon Lehericey
c6fd3045e4 Fix #261 : add link to return to dossier list. 2017-05-10 16:24:21 +02:00
Mathieu Magnin
054afb40a4 [Fix #50, fix #239] Install chartkick the right way 2017-05-10 09:28:13 +02:00
gregoirenovel
c6d0ea76bb [Fix #174] Make .default-data-block header titles take the full width 2017-05-09 14:36:33 +02:00
gregoirenovel
1a5f9fd067 [Fix #105] Show the pieces justificative’ descriptions 2017-05-09 12:47:21 +02:00
Simon Lehericey
5d915ada88 Css: add border on header and footer
Remove headers border on homepage
2017-05-09 12:38:57 +02:00
Simon Lehericey
9f1217c843 FlashMessage: center flash message
otherwise the #flash_message.center is useless
2017-05-09 12:28:27 +02:00
Simon Lehericey
9d16c0365a Notification: remove useless notification system 2017-05-05 14:08:36 +02:00
Simon Lehericey
dc371b83b8 CSS: add new application layout + CSS
Without bootstrap!
2017-05-04 18:24:57 +02:00
gregoirenovel
6b25d25a9a The correct app name is “Téléprocédures Simplifiées” 2017-05-04 18:19:13 +02:00
gregoirenovel
9a0df71887 Change the link to a linked dossier depending on the user profile 2017-05-04 17:20:18 +02:00
gregoirenovel
849ab5191a [Fix #204] Add the date_de_decision tag in relevant email templates 2017-05-04 16:17:59 +02:00
gregoirenovel
3bd5e32dff Add a system to restrain the email templates tags to specific templates 2017-05-04 16:17:39 +02:00
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
f3343f593f Fix some spelling mistakes 2017-05-04 16:15:51 +02:00
gregoirenovel
53e5416627 Remove an unused file 2017-05-04 16:01:41 +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
d3a84eb20a Démarche -> Procédure 2017-05-04 11:33:26 +02:00
Mathieu Magnin
b6e1526f89 Fix #239, (refresh is needed to load charts) 2017-05-03 18:48:27 +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
6ef6a66c3f Remove @facade_data_view from left_panel view 2017-04-26 16:55:22 +02:00
gregoirenovel
f58a626648 [Fix #99] Improve the info message in _dossier_link.html.haml 2017-04-26 16:47:38 +02:00
gregoirenovel
a6d3ea8536 [Fix #133] Improve the linked dossier informations displayed 2017-04-26 15:59:18 +02:00
gregoirenovel
7173d359d4 [Fix #132] Show the dossier link in the dossier detail for Users
There’s no reason why they couldn’t easily
navigate to it

Also improve the typography of a placeholder
message
2017-04-26 11:57:36 +02:00
gregoirenovel
8deef8e8e3 [Fix #137] Change the dossier link placeholder
Otherwise we don’t know what to enter (words,
numbers…)
2017-04-26 11:46:39 +02:00
gregoirenovel
14b7badfed Eager-load the dossier’s procedure when possible 2017-04-26 09:53:10 +02:00
gregoirenovel
6bb67d639c Use lowercase letters and dashes for CSS classes
As enforced by scss-lint
2017-04-25 15:59:03 +02:00
gregoirenovel
8bea7cb610 Fix a typographic mistake in _dossier_link.html.haml
Sentences should start with an uppercase letter
2017-04-25 15:59:03 +02:00
gregoirenovel
f8cb34a393 Add some spacing in _dossier_link.html.haml 2017-04-25 15:59:03 +02:00
Mathieu Magnin
887512c26c Procedure path can contain dashes and can be longer 2017-04-21 16:32:48 +02:00
gregoirenovel
595ea9bb37 Add a “Call Us” CTA on the landing page 2017-04-21 14:57:54 +02:00
gregoirenovel
03761c1136 Change the testimonials’ order 2017-04-21 14:57:54 +02:00
Mathieu Magnin
7a9fd77af0 Remove archived=false filter from en_construction scope (Fix : archived dossier is not shown to user) 2017-04-21 14:36:50 +02:00
Mathieu Magnin
1a628dc42c Remove DossierListFacade dependency 2017-04-21 14:36:50 +02:00
gregoirenovel
0ddd7ae639 Add the “CTA” part of the landing page 2017-04-20 12:38:00 +02:00
gregoirenovel
663b556766 Add the “Users” part of the landing page 2017-04-20 12:38:00 +02:00
gregoirenovel
f604ccb7d6 Add the “Numbers” part of the landing page 2017-04-20 12:37:59 +02:00
gregoirenovel
4b2baa25b7 Add the “Testimonials” part of the landing page 2017-04-20 12:37:58 +02:00
gregoirenovel
58a7f399c0 Add the “Features” part of the landing page 2017-04-20 12:18:18 +02:00
gregoirenovel
663cd18364 Change the landing page, add the “Hero” part 2017-04-20 12:18:17 +02:00
gregoirenovel
e504531ca0 Use the new_application layout for the landing page 2017-04-20 12:18:16 +02:00
gregoirenovel
f9b4469660 Add the new footer 2017-04-20 12:18:16 +02:00
gregoirenovel
336e6120a6 Add the new header 2017-04-20 12:18:16 +02:00
gregoirenovel
e605be9246 Add the new_application layout 2017-04-20 12:18:15 +02:00
gregoirenovel
c10c2fc31b Selectors must be written in lowercase with hyphens 2017-04-20 10:35:53 +02:00
gregoirenovel
4b39e76c8a Use extend only with placeholders 2017-04-19 17:05:57 +02:00
Simon Lehericey
ce4a23ec7f MandatoryAttachment: show * near mandatory attachment 2017-04-19 15:45:45 +02:00
gregoirenovel
b00eb914da Use case statements instead of if statements where appropriated 2017-04-19 11:57:49 +02:00
gregoirenovel
ddf02ccd6d Use a non-breaking space after the “numéro” contraction 2017-04-19 11:19:53 +02:00
gregoirenovel
aa41349f0c Lowercase the “n” of “numéro” contraction where needed 2017-04-19 11:19:53 +02:00
gregoirenovel
ba4ee68019 Use masculine ordinal indicator instead of the degree sign
It’s the right way to contract “numéro”

We should use the superscript lowercase o but
it’s hard to do in places where only raw text is
available
2017-04-19 11:19:53 +02:00
Simon Lehericey
4cd21580fb DescriptionController: move html_safe to the view
html_safe could not work upon redirection as stated here :
https://groups.google.com/forum/#!topic/rubyonrails-core/z52zgDgUmbs
2017-04-19 10:52:04 +02:00
Simon Lehericey
8e7e7a8ab4 Stats Index: remove useless locale 2017-04-19 10:06:22 +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
3abbb0bdcd Use french formatting for numbers on the Stats page 2017-04-18 14:34:56 +02:00
gregoirenovel
21ff863dab [Fix #112] Add favicons 2017-04-17 19:32:26 +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
11015787bf Add new total numbers to the Stats page 2017-04-11 16:51:38 +02:00
gregoirenovel
52ea4a1b8d Add new charts and a segmented control to the Stats page 2017-04-11 16:51:38 +02:00
gregoirenovel
9dc4901294 Change the template and style of the Stats page 2017-04-11 15:29:19 +02:00
gregoirenovel
e192038045 Rename the variables in StatsController#index 2017-04-11 15:29:19 +02:00
gregoirenovel
664d821dc0 Add a link to the Stats page in the footer 2017-04-11 15:29:18 +02:00
gregoirenovel
f84cd7f11b Make Stats a public page 2017-04-11 15:29:18 +02:00
gregoirenovel
dd1fd419c7 Require mandatory fields on the frontend side 2017-04-11 14:25:49 +02:00
Simon Lehericey
a324a22ba2 DossierLink: add show template 2017-04-11 13:54:33 +02:00
Simon Lehericey
3228737a87 DossierLink: add edition template 2017-04-11 13:54:33 +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
6cb53b5545 Move a comment to avoid a haml-lint MultilineScript warning 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
aa255e7e2d Use HAML comments in HAML files 2017-04-10 17:55:54 +02:00
gregoirenovel
69ba92009b Separate HAML comments from the leading # by a space 2017-04-10 17:55:54 +02:00
gregoirenovel
a8d2a003c1 Do not define static class names in the attributes hash 2017-04-10 17:55:53 +02:00
gregoirenovel
4788e280f5 Fix the indentation in the drop down list template 2017-04-10 17:55:53 +02:00
gregoirenovel
2d5df47c4e Use implicit div tags in HAML files 2017-04-10 17:55:53 +02:00
gregoirenovel
7e067c2624 Static classes attribute must use the inline tag syntax 2017-04-10 17:55:53 +02:00
gregoirenovel
a3d04fe7a9 Html Ruby evaluation tags must be followed by a single space 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
Mathieu Magnin
b18c09e9fd Download dossiers button exports all dossiers except draft 2017-04-05 11:04: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
6cb78acd85 Make the birthday field a date field
And remove the date picker (you can now use the
native one)
2017-04-03 16:03:38 +02:00
gregoirenovel
8126549a0d Make the datepicker french for the auto archive field 2017-04-03 16:03:38 +02:00
Mathieu Magnin
d5e5a7997a Disable turbolinks cache to avoid weird behavior (ex: page change twice after single click) 2017-04-03 15:43:42 +02:00
Mathieu Magnin
08442e64a3 Update turbolinks 2017-04-03 15:43:41 +02:00
Mathieu Magnin
95b83a57c1 Checkbox should be checked when value is 'on' 2017-04-03 10:50:15 +02:00
Mathieu Magnin
e4826b468a Fix departements / pays / regions drop down list 2017-03-29 14:22:23 +02:00
gregoirenovel
c6738bf223 Rename Mr in M. 2017-03-27 15:45:07 +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
3ed14bf1a4 Cleaning 2017-03-15 17:51:34 +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
7596c2424e Explication: do not show explication in _infos_dossier 2017-03-14 13:59:37 +01:00
Simon Lehericey
d250cafccc Explication: add champ in edit formulaire 2017-03-14 13:58:21 +01:00