Commit graph

1172 commits

Author SHA1 Message Date
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
Simon Lehericey
fcca0bb247 Cleaning 2017-03-14 13:54:31 +01:00
Mathieu Magnin
359807b4f7 Procedure has an auto_archive date 2017-03-14 10:45:59 +01:00
Simon Lehericey
176092c256 Explication: add field and template 2017-03-13 15:02:05 +01:00
Simon Lehericey
ec0092fb3c Cleaning 2017-03-13 15:01:41 +01:00
Mathieu Magnin
ad1250af6f Add confirm popup on important actions 2017-03-09 16:55:47 +01:00
Mathieu Magnin
48d12cfa34 max width in Administration 2017-03-08 14:52:37 +01:00
Simon Lehericey
66cb0c09b1 Stats: wording 2017-03-08 14:26:45 +01:00
Mathieu Magnin
5d4e8622f6 Merge pull request #38 from sgmap/stats
Stats: add adminitrations stats view
2017-03-08 10:59:06 +01:00
Mathieu Magnin
342a6b239e Small css changes 2017-03-08 10:55:24 +01:00
LeSim
78325cc9f9 Merge pull request #34 from sgmap/customize_submission_mail
Customize submission mail
2017-03-07 18:32:55 +01:00
Simon Lehericey
6cb88a995f Stats: add adminitrations stats view 2017-03-07 18:09:09 +01:00
Mathieu Magnin
4ea7635dfc Fix after review 2017-03-07 16:23:44 +01:00
LeSim
2e19dd26b7 Merge pull request #36 from sgmap/remember_me
Add remember me on login
2017-03-07 14:15:37 +01:00
LeSim
9764604430 Merge branch 'develop' into customize_submission_mail 2017-03-07 11:05:04 +01:00
Mathieu Magnin
a88b150c3c Add remember me on login 2017-03-07 10:29:48 +01:00
Simon Lehericey
65e83dd6ec Mails: factorize default and change slug 2017-03-07 10:27:14 +01:00
Simon Lehericey
335caed65e Mail Template: Delete 2017-03-07 10:27:14 +01:00
Simon Lehericey
695dc16b85 Mails: add refused, without_continuation, draft, closed, received mails object 2017-03-07 10:27:05 +01:00
Simon Lehericey
7b336922cc Cleaning 2017-03-07 10:25:34 +01:00
Simon Lehericey
89763ec8d4 MailTemplateController: use new initiated_mail 2017-03-07 10:25:34 +01:00
Simon Lehericey
47fc6e6957 InitiatedEmail: add initiated email 2017-03-07 10:25:28 +01:00
Simon Lehericey
a334888363 Wording 2017-03-06 20:44:25 +01:00
Mathieu Magnin
7e4f473027 When procedure is archived user can update dossier if not in brouillon 2017-03-06 15:03:51 +01:00
Mathieu Magnin
a24980145c Block dossier initiation if procedure is archived 2017-03-06 14:29:01 +01:00
Simon Lehericey
7eb77ba667 Mail Received: remove useless template_decorator 2017-03-05 22:17:17 +01:00
Mathieu Magnin
d03016db9c Merge branch 'develop' into list_dossiers_archived 2017-03-02 16:22:59 +01:00
Simon Lehericey
5cceb9773c Style: simple css for custom emails list 2017-03-02 16:19:05 +01:00
Mathieu Magnin
c77c46bf37 Remove unused title 2017-03-02 11:53:03 +01:00
Mathieu Magnin
e9147a8e76 Fix floating login button 2017-03-02 11:20:20 +01:00
Simon Lehericey
494d5fed5c Dossier_list_controller: renaming 2017-03-01 16:00:39 +01:00
Simon Lehericey
ca799421c9 backoffice dossiers index: simple cleaning 2017-03-01 15:51:02 +01:00
Simon Lehericey
0862f2fc51 Dossier_list_controller: same name pattern 2017-03-01 15:51:02 +01:00
Mathieu Magnin
87865fcf1b Merge branch 'develop' into list_dossiers_archived 2017-03-01 10:35:20 +01:00
LeSim
0da239c657 Merge branch 'develop' into simplify_dossier_workflow 2017-02-28 15:23:25 +01:00
Simon Lehericey
870d3719e1 Dossier: add method to allow gestionnaire to reopen dossier 2017-02-28 15:14:27 +01:00
Simon Lehericey
43e6f15c5f Style: fix backoffice navbar 2017-02-28 15:14:01 +01:00
Mathieu Magnin
67daaa033c Merge pull request #28 from sgmap/simplify_dossier_workflow
Simplify dossier workflow
2017-02-28 14:56:57 +01:00
Mathieu Magnin
fa884f3ed0 Unarchive button & tests 2017-02-28 14:33:05 +01:00
Simon Lehericey
7b877dc28f Style: fix backoffice dossier width for small screen 2017-02-28 13:54:19 +01:00
Mathieu Magnin
ef1d46d30e Fix tests 2017-02-28 11:37:37 +01:00
Mathieu Magnin
6774dd008f List dossiers archived 2017-02-27 17:44:08 +01:00
Mathieu Magnin
4cc6aedfb9 Fix tests after workflow simplication 2017-02-27 11:56:26 +01:00
Mathieu Magnin
10add61bd1 Clean some tests after removing :validated & :submitted states 2017-02-23 17:54:11 +01:00
Mathieu Magnin
3fcf9bf350 Landing is no longer a symlink on prod/staging env, new call to action on landing is a mailto 2017-02-22 16:07:06 +01:00
Mathieu Magnin
cae5b37e38 First step to remove :validated and :submitted states 2017-02-21 18:05:48 +01:00
Mathieu Magnin
6f1243eb7e Do not hide link if procedure is archived 2017-02-21 11:05:11 +01:00
Mathieu Magnin
ab0d8deef1 Modify wording : Procedure can be edited after publication 2017-02-20 15:08:31 +01:00
Mathieu Magnin
ff9c95f18e Merge branch 'develop' into admin_can_modify_procedure_description_after_published 2017-02-16 15:59:49 +01:00
Mathieu Magnin
9fcc0920e6 Css update 2017-02-16 13:59:32 +01:00
Mathieu Magnin
a636d4f98d Filter procedure update parms if procedure is locked 2017-02-15 14:13:02 +01:00
Mathieu Magnin
85608f18ab Description page is accessible, some field are disabled if procedure is locked 2017-02-14 18:13:19 +01:00
Mathieu Magnin
c0ae500aa3 Merge branch 'develop' into remove_cerfa_text 2017-02-14 17:59:41 +01:00
Mathieu Magnin
9986ab1f01 Merge pull request #21 from sgmap/clean_grid
Clean grid
2017-02-14 17:58:15 +01:00
LeSim
7bc6e67e15 Merge pull request #19 from sgmap/clickable-links-in-champs-description
Add clickable links in champ description and use bootstrap layout for…
2017-02-14 17:28:03 +01:00
Simon Lehericey
5359c046e6 Clean grid usage 2017-02-14 17:12:44 +01:00
Simon Lehericey
3b827fa5e3 Remove specific cerfa in favor of default enclosed documents 2017-02-14 16:26:25 +01:00
Mathieu Magnin
11c793a60c Remove custom button code, use bootstrap classes 2017-02-14 16:23:48 +01:00
Mathieu Magnin
6c41cbcc5e Clean css 2017-02-14 16:20:52 +01:00
Mathieu Magnin
1e3c5bf14a Fix engagement field 2017-02-14 15:23:39 +01:00
Mathieu Magnin
f60098311e Fix hidden checkbox bug, address field : full width 2017-02-14 14:55:08 +01:00
Mathieu Magnin
b08a4c5091 Fix style for checkbox and radios 2017-02-14 14:34:00 +01:00
Mathieu Magnin
308a037f19 Add clickable links in champ description and use bootstrap layout for forms 2017-02-14 11:13:48 +01:00
Xavier J
5d733c11fd Delete references @opensimplif 2017-02-13 15:46:28 +01:00
Xavier Julien
3c6ae2d005 Merge pull request #14 from sgmap/customizable-emails
Customizable emails
2017-02-13 15:20:04 +01:00
Mathieu Magnin
5613b896b1 Gestionnaire can archive dossier 2017-02-08 17:35:28 +01:00
Mathieu Magnin
82546a3ad4 Fix merge error 2017-02-08 15:32:49 +01:00
Mathieu Magnin
f15e9ec7da In dev mode, demo buttons link to localhost 2017-02-07 18:12:25 +01:00
Mathieu Magnin
566fd8bc74 Add lien demarche to type de piece justificative 2017-02-07 18:12:25 +01:00
Xavier J
5edd16c30f Fix indentation 2017-02-07 17:52:56 +01:00
Xavier J
7cd08ec3f9 Merge branch 'develop' into print_css_for_dossier_show
# Conflicts:
#	app/views/dossiers/_messagerie.html.haml
2017-02-07 17:38:02 +01:00
Mathieu Magnin
749baedf43 Replace administration with services instructeurs 2017-02-01 18:05:58 +01:00
Mathieu Magnin
e99746639b Merge branch 'send_user_notification_when_invite_send_a_message' into develop 2017-02-01 17:01:34 +01:00
Mathieu Magnin
91bd058106 Some fixes after review 2017-02-01 15:58:56 +01:00
Mathieu Magnin
34d05e4d9e Improve the print css for the dossier/show 2017-02-01 14:24:24 +01:00
Mathieu Magnin
ef9012cd82 Add lien cerfa vierge in the modification popup 2017-01-31 17:58:44 +01:00
Mathieu Magnin
37d31fae7b Rename formulaire to formulaire de demande 2017-01-31 11:45:29 +01:00
Mathieu Magnin
38e8acf285 Change some wordings and clean some templates 2017-01-31 10:46:20 +01:00
Mathieu Magnin
c7934b2f97 Send a mail to usager if somebody else wrote a new commentaire on his dossier 2017-01-30 15:17:45 +01:00
Mathieu Magnin
b40193e7b5 New customizable mail : mail_validated, new balise --lien_dossier-- 2017-01-26 12:12:52 +01:00
Mathieu Magnin
2bc5ee88f7 Change controller name according to model name, add simple_form 2017-01-24 15:53:42 +01:00
Mathieu Magnin
0e5c90cb0c Real index and edit for mail_templates 2017-01-24 10:19:42 +01:00
JC
4880101202 Fixing nomethoderror for opensimplif 2017-01-23 17:18:57 +01:00
Mathieu Magnin
7e24adbca0 Add mail preview and small fix 2017-01-23 15:49:19 +01:00
Mathieu Magnin
c41c36b4d1 Fix typo 2017-01-19 12:07:55 +01:00
Mathieu Magnin
52bf1d1ea2 Fix typos 2017-01-19 11:58:38 +01:00
Mathieu Magnin
2e3cb7a861 Cleaning HAML 2017-01-18 15:34:03 +01:00
Mathieu Magnin
d5e4f45d7d Add xray-rails in dev mode 2017-01-18 13:59:14 +01:00
Xavier J
f5f5ef1a0d Badge count invites by dossiers 2017-01-12 17:02:30 +01:00
Xavier J
6612e56da2 Mask section left panel is user does not have any dossier 2017-01-11 15:22:24 +01:00
Xavier J
bc71754e87 Add tool change dossier state 2017-01-10 17:29:38 +01:00
Xavier J
12af46a22a Fix invite dossier validated recapitulative show 2017-01-10 15:04:13 +01:00
Xavier J
23df8a2348 - Ajust TPS for OpenSimplif
- Create /simplifcations routes for OpenSimplifController
2017-01-09 17:12:11 +01:00
Xavier J
32378405ed Fix smart listing usage with new admin list presentation 2017-01-09 12:00:39 +01:00
Xavier J
c815ec5e82 Add tab for follow dossier in gestionnaire dashboard 2017-01-05 19:07:01 +01:00
Xavier J
ab02fe48c3 Force state dossier in files lists on gestionnaire board 2017-01-05 18:01:53 +01:00
Xavier J
99e6749c96 Fix invite to access a files 2017-01-04 18:03:03 +01:00
Xavier J
6f31a4d7b7 Fix logo TPS with 2017-01-03 14:53:56 +01:00
Xavier J
2750319f77 Fix some tests 2017-01-03 11:32:21 +01:00
Xavier J
02d7dfb1dc Add News on footer 2017-01-03 10:47:07 +01:00
Xavier J
5eeb91ec60 Delete last GithubRelease 2017-01-03 10:43:04 +01:00
Xavier J
cbb5737fdf new demo link on home page 2017-01-03 10:40:09 +01:00
Xavier J
fbeb503d9e Reactive Beta Headband 2017-01-03 10:26:47 +01:00
Xavier J
2e04760d10 Reactive Github version on home page 2017-01-03 10:24:58 +01:00
Xavier J
c122a64237 Ajust count notification for procedure left panel in back office gestionnaire 2017-01-02 18:27:01 +01:00
Xavier J
70fcaf281f New landing page 2017-01-02 18:07:04 +01:00
JC
ac85392454 Css for index dossier count, using method in dossier model to get unreaded notification count 2017-01-02 16:45:03 +01:00
JC
620a8559dd Changing css for index dossier counting, wording 2017-01-02 16:07:25 +01:00
Xavier J
a680eaed1c Change word « Commentaire » to « Message » into Mailer
Add not reply at this mail.
2017-01-02 15:29:46 +01:00
JC
442dd5b7b6 Adding facade dossiers_unread_notifications (last) 2017-01-02 15:25:06 +01:00
Xavier J
9ed1fc5125 Change libelle message header section 2017-01-02 15:23:05 +01:00
JC
983cec659b Adding dossiers suivis modifiés to tease informations about new notifications for gestionnaire 2017-01-02 14:39:27 +01:00
JC
dc0d206d88 Changing dossier en cours, for dossiers suivis, in dossier index 2017-01-02 14:17:30 +01:00
JC
b9e2c52c0b Removed left pannel information about notifications in index 2017-01-02 14:16:05 +01:00
JC
c2e8f7ba31 Fix case for submitted dossiers, notification font awsome 2017-01-02 14:06:51 +01:00
JC
f407f3a266 Need refactoring on dossier_show rendered partials 2017-01-02 14:05:31 +01:00
JC
fdf6efafb2 Display hist for pieces justificatives only if multiple files uploaded 2017-01-02 11:44:21 +01:00
JC
3ad0d1e9cd Add css for received dossier, show up to gestionnaire 3 buttons green, orange, red to switch dossier in final states 2017-01-02 11:24:21 +01:00
JC
c4f231d04e Layout for dossier show/index notifications fa (icon) 2017-01-02 10:51:12 +01:00
Xavier J
4a1a23d1d7 Add per page link for smart listing User, Admin and Accompagnateur for follow files 2017-01-02 10:48:47 +01:00
JC
e131442084 Adding fa to notfications types in dossier show 2017-01-02 10:36:32 +01:00
JC
aa2d2ad924 No notification message, when gestionnaire on index 2016-12-28 12:20:34 +01:00
JC
9e88a0d889 Display action renseigner un siret when not gestionnaire logged and dossier in states draft, replied, initiated 2016-12-28 12:06:37 +01:00
JC
6dd4736f9d Margin credentials and champs in dossier show 2016-12-28 11:55:39 +01:00
Xavier J
12edb06a02 Merge branch 'notifications' into develop 2016-12-27 16:03:33 +01:00
JC
fb737df463 Both index and show have notification on there left pannels 2016-12-27 15:26:49 +01:00
Xavier J
c01132c788 Delete old attr in database 2016-12-27 11:57:34 +01:00
Xavier J
4d765d3b46 Past all notification to read when gestionnaire is on back office dossier show 2016-12-27 11:23:19 +01:00
JC
cea14845d2 Start backoffice dossier index menu, enable switch between procedures and notifications in left-pannel 2016-12-27 11:15:24 +01:00
Xavier J
e37012dce6 Add badge for new files in procedure list for gestionnaire 2016-12-27 11:06:09 +01:00
Xavier J
ce5bf8d622 Initialize fonction « unread_notifications » in DossierListFacade 2016-12-27 10:47:23 +01:00
JC
9788118229 Adapt listing for notifications, according champ or pieces 2016-12-26 17:59:08 +01:00
JC
f0d0bfc427 Listing updated champs, saving only champs changed 2016-12-26 17:55:31 +01:00
JC
45d5177d52 Prepend notification message for champs and piece_justificative 2016-12-26 17:36:12 +01:00
Xavier J
153c472ef6 Add notifications into procedure list on back office report 2016-12-26 17:25:59 +01:00
JC
02ce392ff3 No notifications result in displayed message 2016-12-26 17:24:40 +01:00
JC
42915979da Notifications are shown in backoffice dossier show, limit 5 2016-12-26 17:18:45 +01:00
JC
a727c5146f Cannot have the right feature test about invites, both side User and Gestionnaire 2016-12-26 14:16:08 +01:00
JC
4c9c898a69 Feature test about clonning procedures 2016-12-26 10:56:57 +01:00
Xavier J
263d85ccee Merge branch 'develop' into notifications
# Conflicts:
#	app/views/backoffice/dossiers/_list.html.haml
2016-12-26 10:53:05 +01:00
Xavier J
31653ff553 Add everywhere col-sm-X and col-xs-X 2016-12-23 16:58:06 +01:00
JC
2908460c16 Feature test for gestionnaire, index and show (only filtering not tested) 2016-12-23 14:46:50 +01:00
Xavier J
c533bb0a88 TEST : First implementation of notification with Action Cable : alert message 2016-12-22 22:27:02 +01:00
Xavier J
f98bb90f08 Bootstrap Action Cable and Unicorn 2016-12-22 21:49:31 +01:00
Xavier J
07495ff9ba Ajust UI for notifications 2016-12-22 21:25:55 +01:00
Xavier J
044d258c69 Merge branch 'develop' into notifications 2016-12-22 11:59:34 +01:00
Xavier J
9eb6ed3a7c Add champs private in procédure information page 2016-12-22 11:50:03 +01:00
Xavier J
cd7b7e4055 - Fix display private form
- Refacto code private form
2016-12-22 11:39:44 +01:00
Xavier J
d4522ae82e Refacto code in Récapitulatif view 2016-12-22 10:55:27 +01:00
Xavier J
76757b1d22 Fix bug display « PIÈCES JOINTES » header section 2016-12-22 10:52:04 +01:00
Xavier J
727c263f72 - Fix bug prévisualisation header
- Fix bug header section visualization
2016-12-22 10:36:18 +01:00
Xavier J
a681564b39 Add notification table and model 2016-12-21 17:26:31 +01:00
Xavier J
b952b0239c Update landing page 2016-12-21 15:54:23 +01:00
Xavier J
20a4febecc Adapt UI list for procedure list in admin interface. 2016-12-21 11:26:33 +01:00
JC
646fc37daf Adding feature tests for Accompagnateur, continue on page features, then on dossier show 2016-12-20 17:26:54 +01:00
Xavier J
e258118825 Reactive cartographie 2016-12-20 14:48:09 +01:00
JC
39a023b3e2 Features tests about user: index of dossiers, sorting and using pagination 2016-12-20 11:58:29 +01:00
Xavier J
addeaab744 Review UI procedure construction for Administrateur 2016-12-19 19:07:57 +01:00
JC
04a8632bda Merge branch 'develop_v2' into develop 2016-12-19 17:17:10 +01:00
JC
691f061828 Features tests about user: create and edit dossier 2016-12-19 17:16:07 +01:00
Xavier J
0563ae1090 Fix CSS for default data block Infos 2016-12-19 16:31:18 +01:00
Xavier J
33bfe4a29c Delete un-use code 2016-12-16 14:40:41 +01:00
Xavier J
bc4e3860be Fix all tests 2016-12-14 18:41:33 +01:00
JC
4f7bcba8a3 Adding feature test for procedure_creation 2016-12-14 17:15:10 +01:00
Xavier J
7bf58388fa Update landing page 2016-12-07 18:08:06 +01:00
Xavier J
414a701b03 Dynamic switch button (User, Gestionnaire, Administrateur) 2016-12-07 18:00:27 +01:00
JC
e228f20684 Adding white back to some views 2016-12-07 17:55:42 +01:00
Xavier J
72ebacf3cc Remove admin connection link on user connection page 2016-12-07 17:38:19 +01:00
JC
e10bd08800 2nd round about css and some adjustements: message/pj empty validation, margins, link_to div inclusion and more 2016-12-07 16:59:35 +01:00
JC
5915a2b7d5 Delete pop menu for sign_out, also count dossiers on user side 2016-12-07 16:27:43 +01:00
Xavier J
3153eeaf01 Fix bug empty 2016-12-07 15:53:26 +01:00
Xavier J
6f731f700f Fix description view for champs and private champs 2016-12-07 15:44:28 +01:00
JC
16bdd1666b Fix display in projet-name 2016-12-07 15:19:49 +01:00
JC
6f019f9a0f Time to launch on staging 2016-12-07 14:44:10 +01:00
Xavier J
dc8e936ee5 Landing page TPS V2 progression 2016-12-07 14:39:06 +01:00
JC
5c93920f74 Mutualize all informations in dossier_show partial, now work on css 2016-12-07 13:58:00 +01:00
Xavier J
746d69796e Remove has-error class on admin views 2016-12-07 11:51:26 +01:00
JC
004e8de3f9 Ok, big css work now 2016-12-06 16:29:52 +01:00
JC
6d8d8470d8 Need to test UI 2016-12-06 15:36:04 +01:00
JC
029fb1faec Continue working on css, display carto (buggy), now adding private fields 2016-12-06 15:22:57 +01:00
JC
f0d5b5dc25 Need to add carto body, and then private field block 2016-12-06 15:17:18 +01:00
JC
e367cba480 Added condition to show renseigner un siret action in dossiers#show 2016-12-06 14:41:50 +01:00
JC
7058fde758 First step about user registration is safe (CSS) 2016-12-06 13:56:33 +01:00
JC
9bf475e1f3 Creating test environnement with new procedure showing each stage, I'll rework each screen till end of new user process 2016-12-06 13:24:39 +01:00
JC
c8f176de74 Using carto block, need to add css classes even if empty + need to refactor some of backoffice/dossiers/show Vs users/recapitulatif/show + then continue on document block and add a siren button on construct dossier 2016-12-06 13:14:06 +01:00
JC
41ebb648ef Having editer action for construct dossier, now need the carto default_block to be shown 2016-12-06 13:06:34 +01:00
JC
02f913afdf Now rework the action interface for dossiers in their show 2016-12-06 12:51:02 +01:00
Xavier J
30d5323d7e New UI for description dossier in user view 2016-12-05 19:30:58 +01:00
Xavier J
9f4e4a6b65 New UI for procédure list on admin view 2016-12-05 18:11:18 +01:00
Xavier J
4c2dd0ede1 Fix out of ranch error on search 2016-12-05 16:57:40 +01:00
JC
0451ae0540 Using css truncation with overflow: hidden; 2016-12-05 16:33:09 +01:00
JC
1449a1dc19 Reworked en-cours css for dossiers#index user side, counting exact 'en cours' dossiers 2016-12-05 16:23:13 +01:00
JC
94373094fa Adding default welcome message, default opening messages body while no commentaires 2016-12-05 16:01:13 +01:00
JC
c03de66137 Extract dynamics involved constant to fit with utils in fr/en 2016-12-05 15:30:21 +01:00
JC
17e5800487 Add feature flag OpenSimplif for comments per field 2016-12-05 15:24:07 +01:00
JC
5556775ee9 Adding right caret class to navbar options for right pannel modal, also changing callback from hover sign_out, to use mouseover instead 2016-12-05 15:14:39 +01:00
JC
df36b9bd35 Removing 'INDIVIDU' from entreprise default block, from both gestionnaire/user dossiers#show 2016-12-05 15:04:42 +01:00
JC
2e9de46a1c Fix js for sign_out hover displaying credentials, add hidden to tips div into left_pannel dossiers#show 2016-12-05 14:53:22 +01:00
JC
271ce62476 Adding logout information for sign_out hover, changing colors for links 2016-12-05 14:45:00 +01:00
JC
b698046e1e Adding layout for credentials, this dropdown is shown when you pass hover sign_out button. It display email informations about the current gestionnaire/user 2016-12-05 14:06:43 +01:00
Xavier J
92e8740ee3 New CGU left panel 2016-12-05 11:45:30 +01:00
JC
52631a39de Adding fixed-right css class for close btn on right pan (from dossiers#index, the cool one, for field selection) 2016-12-05 11:34:56 +01:00
JC
e24008bae4 font-size increased for options in download menu (dossiers#index), adding caret to display dropdown 2016-12-05 11:27:26 +01:00
JC
27cc62ea1e Working on dossiers#show recapitulatif for users 2016-12-02 16:33:36 +01:00
Xavier J
0c90c2c122 Add unsupport navigator banner 2016-12-02 16:04:23 +01:00
JC
6b1c7b15ee Starting with dossiers#show as User 2016-12-02 12:06:01 +01:00
JC
4717d72dde Using active css class to display which procedure is selected on dossiers#index 2016-12-02 11:25:09 +01:00
JC
62f64d2bea Working on dossiers#show 2016-12-02 10:39:28 +01:00
Xavier J
418b5faa52 New user tableau de bord UI 2016-12-01 19:43:56 +01:00
Xavier J
ef5a005b35 Add switch button if devise account have user and gestionnaire role. 2016-12-01 18:35:51 +01:00
Xavier J
d2a221ee40 Fix admin log out navbar style 2016-12-01 13:21:56 +01:00
Xavier J
bca0292fc4 Connexion and sign out user navbar style 2016-12-01 13:01:00 +01:00
Xavier J
b779c71cb6 Gestionnaire sign out css 2016-12-01 12:37:56 +01:00
Xavier J
5c61733199 Display left panel only if layout file exist 2016-12-01 12:19:22 +01:00
Xavier J
0da13454f7 Merge branch 'develop' into develop_v2 2016-12-01 11:06:54 +01:00
Xavier J
5ab277dda9 Fix dropdown list partial render 2016-12-01 10:59:42 +01:00
Xavier J
c682387a39 First change connexion navbar 2016-12-01 10:54:25 +01:00
JC
4048855aa3 expand procedure list to full height 2016-11-30 13:42:19 +01:00
JC
aaf5273b12 Style on procedure elements 2016-11-30 13:36:44 +01:00
JC
06ee5726ed Fixing css on split-hr-left 2016-11-30 11:22:29 +01:00
Xavier J
ea18a6f7dd Ajust global css 2016-11-30 11:04:50 +01:00
JC
409ce10c65 Adding tips to left pannel for dossiers#show 2016-11-29 16:39:06 +01:00
JC
53f4c52435 Have limited display height for messages on dossiers#show 2016-11-29 16:26:06 +01:00
JC
53692be01d Css on left-pannel action for dossiers#show 2016-11-29 16:03:59 +01:00
JC
67091f995b Changing css index filters dossiers#index 2016-11-29 15:47:58 +01:00
JC
f66b593596 Continue css upon dossiers#show, doing procedure libelle 2016-11-29 14:56:24 +01:00
JC
3772fee85f Dossier content displayed by default on dossiers#show 2016-11-29 14:46:09 +01:00
Xavier J
1a90ed3fa3 Search input only for gestionnaire 2016-11-29 11:49:40 +01:00
Xavier J
2c96f15e93 Display search input on all pages 2016-11-29 11:45:30 +01:00
Xavier J
752ae24c9f New search UX 2016-11-29 09:56:11 +01:00
JC
a1242bb55a Merge branch 'develop_v2' of github.com:sgmap/tps into develop_v2 2016-11-28 18:34:39 +01:00
JC
4a5c053ae5 Continue on dossier#show 2016-11-28 18:34:31 +01:00
Xavier J
53b0b9ee63 Fix bug right preference panel 2016-11-28 16:49:50 +01:00
JC
fda8cac51c Finished navbar for dossiers#show, need body: construct dossier 2016-11-28 15:56:38 +01:00
JC
ceff884751 Merge branch 'develop_v2' of github.com:sgmap/tps into develop_v2 2016-11-28 15:22:11 +01:00
JC
cb5b6651d5 Working on navbar 2016-11-28 15:22:00 +01:00
Xavier J
b4fc5a6019 Fix filter popup place 2016-11-28 15:21:16 +01:00
Xavier J
fbfbe68295 Adapt JS smart listing 2016-11-28 14:43:46 +01:00
Xavier J
178f0f88c1 - Delete page « Tous les dossiers »
- Fix follow tab
2016-11-28 14:38:33 +01:00
Xavier J
f4b483976c Add default navbar and left panel 2016-11-28 10:15:11 +01:00
JC
74809b33ce Keep working on dossier Show, need actions to be in navbar, adjust flash messages too, then construct dossier 2016-11-25 16:25:54 +01:00
JC
ecb551e18d Prevent further clicks on submit buttons 2016-11-25 15:29:09 +01:00
JC
f978455642 Add commentaire joined files (pieces justificatives) direct into messages block 2016-11-25 15:01:03 +01:00
JC
d974040540 Starting left_pannel and navbar for dossiers show 2016-11-25 12:53:37 +01:00
JC
87a8b68b36 Finished basic commentaire/messages block for dossiers show 2016-11-25 12:20:08 +01:00
JC
1172987d8a Merge branch 'develop_v2' of github.com:sgmap/tps into develop_v2 2016-11-25 11:09:08 +01:00
JC
e6a01e9212 Got last message showed upon messages, adding condition to toggle out this last message on lick 2016-11-25 11:08:58 +01:00
Xavier J
eb75d9b337 Merge branch 'develop' into develop_v2 2016-11-25 10:49:28 +01:00
Xavier J
97c2be07ea Change wording submit and receive action 2016-11-25 10:46:08 +01:00
JC
1c1942063b Counting messages 2016-11-25 10:11:11 +01:00
Xavier J
58df3c3a75 - Continue development Tableau de bord
- Optimize toggle block
2016-11-24 19:33:34 +01:00
JC
09fb3d4634 Pursuie over body animation with carets 2016-11-23 17:30:55 +01:00
JC
570b22c60f Add google_analytics partial in layout 2016-11-23 16:15:00 +01:00
Xavier J
d09a47ae23 First iteration navbar tableau de bord 2016-11-23 15:21:42 +01:00
JC
e35c1f8757 Up limit for export form 200 to 400 2016-11-23 11:31:00 +01:00
JC
37b5e3fc48 Up limit for export form 200 to 400 2016-11-23 11:29:56 +01:00
JC
966febca68 Centering show-block, need to merge css into develop°v2 2016-11-23 11:26:05 +01:00
JC
de9753ae69 Need to anime accordeon, and check if width + margin % is the solution 2016-11-23 10:59:48 +01:00
JC
750d81e70b Working on css for dossier#show body 2016-11-22 17:32:00 +01:00
JC
c5e0f0a780 Extract css for sign_in sign_out from navbar 2016-11-22 16:32:50 +01:00
JC
5b61d41030 layouts for dossiers show 2016-11-22 16:10:01 +01:00
JC
4f9bcdd225 Awsome struct to share layouts between controllers and there methods 2016-11-22 16:03:32 +01:00
JC
55eb8397d2 Fixing footer and push left to center on after wrap 2016-11-22 11:33:08 +01:00
JC
3627a18420 Set navbar options from before_action 2016-11-21 17:30:28 +01:00
JC
e9eeb0b4ba Sacrifice 1 bootstrap col unit to get disconnect preview (under ruban) 2016-11-21 16:57:42 +01:00
JC
3a82725cbd Fix css for download dossiers buttons 2016-11-21 16:49:59 +01:00
JC
ef9adf52cb Loading variables from controller to get several uniq layout to display 2016-11-21 16:45:12 +01:00
JC
2d355bd6a0 Working on left-pannel, include footer after main-container 2016-11-21 16:13:19 +01:00
JC
23ef3e896a Done with navbar 2016-11-21 15:31:03 +01:00
JC
0db63f33c0 Working on navbar, will put fake content to get css sizes 2016-11-21 15:04:16 +01:00
JC
b62587f9ab Split footer and flash messages in layouts 2016-11-21 14:19:15 +01:00
JC
f5ec476416 New application layout struct for pages 2016-11-21 14:12:59 +01:00
JC
1fe76b8c3b Add google_analytics partial in layout 2016-11-21 10:53:50 +01:00