Commit graph

610 commits

Author SHA1 Message Date
Pierre de La Morinerie
f8a1911625 profile: display profile page even for single-role users 2019-07-10 11:31:09 +02:00
simon lehericey
d68d2be798 Profil: accessible to all roles 2019-07-09 11:55:17 +02:00
Chaïb Martinez
94d340d25c Remove phone number
Add chat link

Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-08 14:32:55 +02:00
Chaïb Martinez
eccd456325 Add crisp
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-06-05 17:41:47 +02:00
Paul Chavard
348b15f595 Put devtools behind feature flags 2019-05-15 18:10:25 +02:00
Paul Chavard
2817e571e8 Remove unused sendinblue import 2019-05-15 16:00:12 +02:00
Paul Chavard
9725f2a418 Enable new champs editor for all 2019-05-14 16:18:29 +02:00
Paul Chavard
3446782cd0 Remove deprecated editor 2019-05-14 16:18:29 +02:00
Chaïb Martinez
3004f96cf5 Add video and webinar URLs to admin pages
Fix #3850

Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-05-13 17:47:02 +02:00
Nicolas Bouilleaud
8d84dba3f2 Link to multi-admin settings from the left panel
refs #1626
2019-05-06 16:19:08 +02:00
clemkeirua
64b858ef19 handle Gon + add report-uri URL 2019-05-06 10:07:51 +02:00
Paul Chavard
2f633b5d23 Load leaflet from a separate chunk 2019-05-02 14:10:48 +02:00
Mathieu Magnin
b3f3106888 [Fix #3064] Change logo size 2019-04-11 11:03:13 +02:00
Mathieu Magnin
9c6c11027c [Fix #3064] Add service footer on notification emails 2019-04-11 11:03:13 +02:00
Mathieu Magnin
60d66f0422 [Fix #3064] Add logo and cancel link on preview 2019-04-11 11:03:13 +02:00
Mathieu Magnin
7e551a9d8d [Fix #3064] If procedure has logo, then display it in emails 2019-04-11 11:03:13 +02:00
Mathieu Magnin
e91b412254 [Fix #3064] Use a different layout for state notifications emails 2019-04-11 11:03:12 +02:00
Pierre de La Morinerie
adefd26413 procedure_context: hide the description on auth pages 2019-04-03 17:14:48 +02:00
Pierre de La Morinerie
e896310e34 procedure_context: display the procedure description on small screens
Fix #3658
2019-04-03 17:14:48 +02:00
Paul Chavard
e71cdcd12c Move all the trackers to a separate js pack 2019-04-02 17:33:53 +02:00
Frederic Merizen
cbec49aa0f Revert "Revert "Redesign admin roles menu"" 2019-03-28 14:01:47 +01:00
Pierre de La Morinerie
1daf523695 layout: extract part of the header to a partial 2019-03-28 11:36:24 +01:00
Pierre de La Morinerie
d267d782b8 help: add administration contact on /commencer pages 2019-03-28 11:36:24 +01:00
Pierre de La Morinerie
e6351b5b1c help: move all partials to shared/help 2019-03-28 11:36:24 +01:00
Pierre de La Morinerie
97af31d54f app: rename references to betagouv/tps
Github has an automatic redirection, but better be clean.
2019-03-26 11:10:30 +01:00
Pierre de La Morinerie
30d11e0dac app: rename new_gestionnaire to gestionnaires 2019-03-26 10:48:59 +01:00
Chaïb Martinez
dc220dc362 lint fix
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-03-25 17:03:45 +01:00
Chaïb Martinez
bad5822bf3 Remove useless variable
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-03-25 17:03:45 +01:00
Chaïb Martinez
dae51ced74 Add Sendinblue js tracking for admin logged users
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-03-25 17:03:45 +01:00
Chaïb Martinez
9968d24af6 Remove old sendinblue interface through JavaScript [fix #3622]
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-03-25 17:03:45 +01:00
Chaïb Martinez
f229688988 Add sendinblue JS
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-03-25 17:03:45 +01:00
Pierre de La Morinerie
ded5b70444 app: rename new_user to users 2019-03-25 10:56:39 +01:00
Pierre de La Morinerie
20bff93f0d header: make the header even narrower on mobile
This ensures that the help button is displayed on mobile devices.
2019-03-20 11:06:54 +01:00
Pierre de La Morinerie
69580288a4 help: add a custom help dropdown in gestionnaire context 2019-03-20 11:06:54 +01:00
Pierre de La Morinerie
549b17f75e help: add a custom help dropdown in dossier context 2019-03-20 11:06:54 +01:00
Pierre de La Morinerie
69a6f1bd79 header: add a link to the Help in the navigation bar 2019-03-20 10:42:57 +01:00
Paul Chavard
93ceb79dd1 An admin should always have access to the service of it’s procedures 2019-03-12 11:59:01 +01:00
Mathieu Magnin
44f28ec565 Remove feature flag for publish draft 2019-03-12 11:26:07 +01:00
Pierre de La Morinerie
f14ddccbe8 header: improve available width on narrow viewports 2019-03-11 16:06:15 +01:00
Pierre de La Morinerie
dce83aef7c footer: rename "FAQ" to "Help" 2019-03-11 15:54:34 +01:00
Chaïb Martinez
b6552f45ab [fix #3542] Fix https bug in matomo
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-03-08 17:44:07 +01:00
maatinito
55f17f64a4 Use predefined constants instead of values for URLs, mails 2019-03-08 17:06:56 +01:00
pedong
d8f48edbed [fix #3521] del fix height for image in the mail 2019-03-08 16:49:32 +01:00
Frederic Merizen
ceb354963e Remove old sendinblue interface through JavaScript 2019-03-08 16:33:28 +01:00
Frederic Merizen
fc38880155 Move sendinblue client key to configuration file
This is not a secret (it's sent to the client as part of the JS anyway) so it's
not a big deal that it was on the public repository but it's still better to
have it be configurable.
2019-03-08 16:33:28 +01:00
Frederic Merizen
a8ce11a4d2 Add rel=noopener to links with target=_blank
http://support.detectify.com/customer/portal/articles/2792257-external-links-using-target-_blank-
2019-03-05 18:25:26 +01:00
Frederic Merizen
083698a487
Revert "Redesign admin roles menu" 2019-02-26 17:51:26 +01:00
Chaïb Martinez
221ed952d1 Redesign admin roles menu 2019-02-21 14:53:49 +01:00
Chaïb Martinez
b532d6521e Add switch account type layout
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-02-21 14:53:49 +01:00
Chaïb Martinez
97fda013c0 Minor texte changes
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-02-21 14:53:49 +01:00
Chaïb Martinez
e29415d401 remove switch button
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-02-21 14:53:49 +01:00
Chaïb Martinez
2e2424ec3f Minor html/css change 2019-02-21 14:53:49 +01:00
philemon95
ab72846612 Update _footer.html.haml 2019-02-19 17:55:55 +01:00
philemon95
15e055ff3a add of links to FAQ + gitbook 2019-02-19 17:55:55 +01:00
Pierre de La Morinerie
2deb34ce33 matomo: fix JS error when timing data are not available
Happened when navigating on IE 11 for some reason.
2019-02-13 15:51:10 +01:00
Pierre de La Morinerie
b177df477e analytics: send Matomo event when navigating using Turbolinks 2019-01-23 16:31:36 +01:00
Chaïb Martinez
51877c2247 Minor sendinblue tracking change 2019-01-17 14:52:18 +01:00
Chaïb Martinez
72ec0a98f7 Minor sendinblue tracking change 2019-01-17 14:52:18 +01:00
Mathieu Magnin
306632f169 Add Test et publication on tab title 2019-01-17 14:04:59 +01:00
Mathieu Magnin
a4ddec6dff Wording : Démarche en brouillon => Démarche en test 2019-01-17 14:04:58 +01:00
Mathieu Magnin
2355cdeeae Demarches Actives -> Publiées 2019-01-17 14:04:58 +01:00
Paul Chavard
41c9b21509 Use new editor 2019-01-17 11:20:31 +01:00
Pierre de La Morinerie
62ee710382 sign_in: remove hack for displaying the procedure context
Before there was no way to display the informations about a procedure
without having a dossier. Thus an empty dossier was created.

Now we can display the informations of a procedure using a @procedure
instance variable, so we can move this hack away.
2019-01-16 14:25:12 +01:00
Pierre de La Morinerie
5d6005dbe9 views: make dossier optional on procedure_footer
This allow displaying the procedure footer even when
there is no dossier yet
2019-01-16 14:25:12 +01:00
Pierre de La Morinerie
d36696442b layouts: migrate sign_in to the shared layout 2019-01-16 14:25:12 +01:00
Pierre de La Morinerie
13f1d4c7d9 views: rename dossier_footer to procedure_footer 2019-01-16 14:25:12 +01:00
simon lehericey
a197285742 [fix #2612] Admin: add missing steps to admin UI 2019-01-09 16:25:00 +01:00
Pierre de La Morinerie
0a7b061e70 layouts: move the procedure_context CSS to its own stylesheet 2019-01-07 15:40:19 +01:00
Pierre de La Morinerie
e25bd7139f layouts: use a common procedure_context layout for the demarche overview 2019-01-07 15:39:58 +01:00
Pierre de La Morinerie
5a36546485 layouts: rename "application" to "application_old" 2019-01-07 12:17:05 +01:00
Chaïb Martinez
144bc86cd0 Add sendinblue tracking in admin backoffice pages 2019-01-07 10:27:50 +01:00
Chaïb Martinez
0452a3046c Add sendinblue tracking in admin backoffice pages 2019-01-07 10:27:50 +01:00
Chaïb Martinez
b04de622c6 Add sendinblue js 2019-01-07 10:27:50 +01:00
gregoirenovel
c66342aa2f Add a CTA in the header on the registration page 2019-01-07 08:52:51 +01:00
gregoirenovel
65798feba3 Unify code 2019-01-07 08:12:52 +01:00
gregoirenovel
382a50abcf Reorder the admin sidebar links 2019-01-07 08:12:52 +01:00
gregoirenovel
9c130c41da Remove ProcedureDecorator 2019-01-03 12:08:25 +01:00
Chaïb Martinez
1a7d0f2e12 Remove mailto contact DS into admin header 2018-12-26 14:43:34 +01:00
maatinito
a1a11adb83 [#325] Make the notification layout inherit from the general layout 2018-12-20 16:21:27 +01:00
maatinito
d80bf601e1 [#325] Add support for a footer in layout.html.erb 2018-12-20 16:21:27 +01:00
maatinito
f51cdd0e48 Add a partial for the emails' signature 2018-12-20 11:20:10 +01:00
Chaïb Martinez
408ee31595 Add Sendinbue subscribe form
Remove Mailjet newsletter subscribe popin
2018-12-19 12:35:22 +01:00
Chaïb Martinez
80133601c7 Add Matomo tracking code for logged usagers 2018-12-06 19:44:50 +01:00
Pierre de La Morinerie
ea8bc0c961 mailers: improve notification layout 2018-11-27 15:51:26 +01:00
gregoirenovel
e8c24c27e5 [Fix #110] Remove any reference left to facades 2018-11-22 11:25:55 +01:00
Chaïb Martinez
3187b5b05a Add Matomo tracking code 2018-11-07 17:34:10 +01:00
Paul Chavard
a7de2e68ed Refactor types_de_champ views to use service instead of facade 2018-11-07 11:36:10 +01:00
Paul Chavard
6e4d111e09 Refactor and fix procedure update error handling 2018-10-30 15:59:37 +01:00
simon lehericey
2238e5bd9f Time.now => Time.zone.now 2018-10-26 10:10:20 +00:00
Chaïb Martinez
f47aab8ce6 Improve the help CTA message for instructeurs 2018-10-18 18:38:04 +02:00
gregoirenovel
0ae8c1d719 [Fix #2880] Do not show our phone number to instructeurs 2018-10-18 18:38:04 +02:00
Chaïb Martinez
e0ea605460 [Fix #2877] Modification du titre contact dans le menu instructeur 2018-10-18 18:27:36 +02:00
Chaïb Martinez
a8b40c4a18 Modification du texte dans le header admin. Ajout du tel et de l'email de de support 2018-10-18 15:31:59 +02:00
Chaïb Martinez
baca93dc38 Rename the Informations tab to Publication 2018-10-03 16:03:43 +02:00
Pierre de La Morinerie
36c1aa118d dossier: remove RecapitulatifController
And add a redirection to the new URLs.
2018-10-02 15:42:29 +02:00
Pierre de La Morinerie
d476953108 dossier: remove Invites view 2018-10-02 14:40:47 +02:00
Pierre de La Morinerie
cd938b4c36 dropdown: refactor to make the button an actual button 2018-09-27 17:43:08 +02:00
Pierre de La Morinerie
c79c1a2636 carto: update link to dossier 2018-09-27 17:22:59 +02:00
Pierre de La Morinerie
40cf7ebdcb mailers: update links to messagerie 2018-09-27 17:22:59 +02:00
simon lehericey
bd04972f65 Profile: move to new design 2018-09-27 10:14:32 +02:00
simon lehericey
f115658d55 OH ! 2018-09-27 10:14:32 +02:00
gregoirenovel
89deb93e1d Remove marianne_small.png 2018-09-24 12:16:58 +02:00
Paul Chavard
539f15af92 Fix new lines in confirm dialogs 2018-09-19 14:45:10 +02:00
Paul Chavard
bfe7240235 Fix event bubbling on Mobile Safari 2018-09-13 09:19:09 +02:00
gregoirenovel
00ecae5f93 Procédure → Démarche 2018-09-05 15:46:24 +02:00
lucien mollard
b2f2e75f43 mailer: add layout for notifications emails 2018-09-05 15:31:08 +02:00
gregoirenovel
e927f56e0d Use a proper HAML comment 2018-09-03 11:41:25 +02:00
gregoirenovel
bdb961f280 Rename support-navigator-banner to outdated-browser-banner 2018-09-03 11:41:03 +02:00
gregoirenovel
1b545123fa Improve the outdated browser support banner style
- In the new design, it is now at the top of the
  page
- In the new design, it no longer covers up the UI
- In the new design, the text is now left-aligned
  which makes it easier to read
- In the new design, its height has been reduced
  which makes it less annoying
2018-09-03 11:35:08 +02:00
Paul Chavard
7ac4dc355f Add default dossier_id to contact form on dossier pages 2018-08-30 15:12:50 +01:00
gregoirenovel
c015365057 Fix case typos 2018-08-30 14:23:45 +02:00
gregoirenovel
3662b82039 accompagnateur → instructeur 2018-08-29 23:09:08 +02:00
Paul Chavard
509613afe6 Use contact_link helper instead of mailto 2018-08-29 16:08:01 +01:00
gregoirenovel
a86e3a3156 Don’t change a button’s text when disabled after click 2018-08-23 10:59:11 +02:00
gregoirenovel
e6442436ba Remove a space before a final period 2018-08-22 11:23:06 +02:00
gregoirenovel
af56e73572 Open the browser-update.org link in a new tab 2018-08-22 11:21:00 +02:00
gregoirenovel
0b7060d48b Improve the outdated browser message 2018-08-22 11:21:00 +02:00
gregoirenovel
e0bb0ac7b6 Use the proper product name 2018-08-21 18:05:09 +02:00
Paul Chavard
f4f3a302b9 Do not rely on rails env to detect staging 2018-08-21 15:43:06 +02:00
Paul Chavard
541df2d961 Add support for in browser sentry 2018-08-13 11:44:32 +02:00
Paul Chavard
8bf5dedd80 Ruby helpers for js.erb responses 2018-08-13 08:34:10 +02:00
Pierre de La Morinerie
b4f8c69d89 browsers: add comment to minimum browsers version rules 2018-08-06 15:13:06 +02:00
Pierre de La Morinerie
a9ddadfdd2 browsers: remove IE-specific browser detection
- It doesn't work in IE >=10 (as support for conditionnal comments was
  removed)
- It is redundant with our all-browsers detection anyway
2018-08-06 15:13:06 +02:00
Pierre de La Morinerie
c73da9d299 browsers: make outdated browser message more actionnable 2018-08-06 15:00:12 +02:00
Pierre de La Morinerie
1ca2ca9121 invite: support remote forms
This allows to keep the draft content when inviting a new user.
2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
9541e781bb invite: rename 'email' to 'invite_email' 2018-08-01 17:41:12 +02:00
Paul Chavard
78a9365fe1 Package mailjet widget with webpack 2018-08-01 16:54:39 +02:00
Pierre de La Morinerie
01cdd910df invite: don't display email of following accompagnateurs
We don't want the individual contact of Accompagnateurs to be displayed, for privacy reasons.
2018-08-01 13:48:58 +02:00
Pierre de La Morinerie
b7382375e2 specs: fix disabling jQuery animations during tests 2018-08-01 11:46:04 +02:00
Paul Chavard
bf7c023380 Add webpacker and use it for new_design 2018-07-25 15:14:06 +02:00
gregoirenovel
ed436bfe77 [Fix #2260] Add a search field in the usager UI 2018-07-17 17:26:42 +02:00
Pierre de La Morinerie
d2eb597380 admin: fix Procédures pluralization and accent 2018-07-09 11:40:13 +02:00
Pierre de La Morinerie
b4b533f0c5 dossiers: change all links to use the new user dossiers list 2018-07-02 13:58:58 +02:00
Mathieu Magnin
fee961ea1e In dev env, load xray 2018-06-27 14:20:15 +02:00
Pierre de La Morinerie
d77530b6a6 dossiers: move link back to the old ui 2018-06-27 11:37:06 +02:00
Pierre de La Morinerie
f242c73974 dossiers: make link in the header point to the new UI 2018-06-26 18:04:04 +02:00
Pierre de La Morinerie
a569a566fc header: use active_link_to for setting the active class on links 2018-06-26 18:04:04 +02:00
Pierre de La Morinerie
956c3fe36c Replace hardcoded phone numbers by a CONTACT_PHONE constant 2018-06-25 11:51:15 +02:00
Pierre de La Morinerie
51e256e122 header: fix link to the contact email 2018-06-25 11:26:45 +02:00
Pierre de La Morinerie
755600acf4 layout: move the landing footer to its own file 2018-06-19 16:23:43 +02:00
Frederic Merizen
fd10310cbf [Fix #1568] Use new procedure preview 2018-06-19 12:42:46 +02:00
Mathieu Magnin
e05fb2d0ae Allow dossier deletion if instruction has not started 2018-06-19 10:05:00 +02:00
gregoirenovel
6be05e8fc5 Add a local variable to the bizdev_signature partial 2018-06-01 20:48:50 +02:00
gregoirenovel
b82ed65568 [Fix #885] Convert .text.erb to .html.haml 2018-06-01 17:14:48 +02:00
gregoirenovel
23931a7591 Remove the contact_email locale 2018-06-01 00:00:11 +02:00
gregoirenovel
185f08f63e Add constants for email addresses 2018-06-01 00:00:11 +02:00
gregoirenovel
4e9565a5df Adds User#owns? 2018-05-31 14:39:43 +02:00
gregoirenovel
661010100d [Fix #1536] Remove stringupcasepatch 2018-05-31 11:49:25 +02:00
gregoirenovel
dc045bdefb [Fix #1808] Use &. where possible 2018-05-31 11:49:25 +02:00
Mathieu Magnin
b68563f45f Only dossier owner can see delete button 2018-05-30 18:01:36 +02:00