Commit graph

1380 commits

Author SHA1 Message Date
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
gregoirenovel
f67aa63766 [Fix #285] Use a has_many through for Gestionnaire#dossiers_follow 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
gregoirenovel
8ba55a0d5d Mutualize the email address in a localised string 2017-05-12 16:53:03 +02:00
gregoirenovel
8a5420301c Add Commentaire#notify to dispatch notifications 2017-05-12 16:31:03 +02:00
gregoirenovel
1235fce34a Refactor Commentaire#notify_user 2017-05-12 16:31:02 +02:00
gregoirenovel
c07b83b266 Commentaire#notify_user_with_mail -> #notify_user 2017-05-12 16:31:02 +02:00
gregoirenovel
9c3cde2b2e Move CommentairesController#notify_user_user_with_mail to Commentaire 2017-05-12 16:31:02 +02:00
gregoirenovel
cae3e1f420 Commentaire#internal_notification => #notify_gestionnaires 2017-05-12 16:31:02 +02:00
Mathieu Magnin
58abd9eaf1 Fix #276 Rewrite #dossiers_with_notifications_count_for_procedure and add tests 2017-05-12 15:42:33 +02:00
Mathieu Magnin
8f5fdfa81f Rename dossier_with_notification_for 2017-05-12 15:42:33 +02:00
gregoirenovel
70f637f088 [Fix #198] Add a Commentaire when we send a Notification email to a user 2017-05-12 14:03:48 +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
gregoirenovel
84ae1a0c0b Change the email address we send emails with
Also add a display name, so that we don't show
just a dumb email address
2017-05-12 13:50:42 +02:00
gregoirenovel
e14d1a6c15 Remove useless from parameter in mailers
We already defined a default one in
ApplicationMailer
2017-05-12 13:50:41 +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
07dfec9236 Clean: remove dead code 2017-05-11 12:45:01 +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
029186fdf7 Css: fix color import 2017-05-09 12:18:52 +02:00
Simon Lehericey
bf68814f7a Css: add alert css to new style 2017-05-09 11:59:21 +02:00
Simon Lehericey
2668b036b4 Css: add center class in new style 2017-05-05 14:59:00 +02:00
Simon Lehericey
a26965f41b Cable: remove useless js logic 2017-05-05 14:37:59 +02:00
Simon Lehericey
9d16c0365a Notification: remove useless notification system 2017-05-05 14:08:36 +02:00
gregoirenovel
02a8cf3fe1 Use the initialisation date for the cumulative dossiers
We want to show when dossiers were published, not
created
2017-05-05 12:03:54 +02:00
gregoirenovel
06714b5fc3 Add a date_attribute argument to StatsController#cumulative_hash 2017-05-05 12:03:53 +02:00
gregoirenovel
dbf891b333 Use the initialisation date for the dossiers 30 days flow
We want to show when dossiers were published, not
created
2017-05-05 12:03:53 +02:00
gregoirenovel
c7999b9691 Add a date_attribute argument to StatsController#thirty_days_flow 2017-05-05 12:03:53 +02:00
Simon Lehericey
dc371b83b8 CSS: add new application layout + CSS
Without bootstrap!
2017-05-04 18:24:57 +02:00
Simon Lehericey
aee17c5b19 CSS: CSS filenames should not contain dashes 2017-05-04 18:24:39 +02:00
Simon Lehericey
e7383c7c85 CSS: add Meyer's reset.scss 2017-05-04 18:24:14 +02:00
Simon Lehericey
38dcf5c74d Application.scss: replace require_tree by explicit import
Change needed for futur new_application.scss and corresponding style
2017-05-04 18:23:55 +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
2582b44f07 [Fix #204] Add the date_de_decision tag 2017-05-04 16:17:53 +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
30cf475485 Add missing brackets in mail_template_concern.rb 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
f389bbeb53 Fix indentation in mail_template_concern.rb 2017-05-04 16:17:38 +02:00