From a14aa04a6c0f1af66db0fc1a3c5f9174693f9208 Mon Sep 17 00:00:00 2001 From: "arnaud.morvan@camptocamp.com" Date: Wed, 19 Sep 2018 18:16:23 +0200 Subject: [PATCH] Show login form when restricted layers in permalink --- contribs/gmf/apps/desktop/index.html.ejs | 4 ++- contribs/gmf/apps/desktop_alt/index.html.ejs | 1 + contribs/gmf/apps/mobile/index.html.ejs | 1 + contribs/gmf/apps/mobile_alt/index.html.ejs | 1 + .../gmf/src/authentication/component.html | 5 +++ contribs/gmf/src/authentication/component.js | 11 +++++- .../src/controllers/AbstractAppController.js | 34 +++++++++++++++++++ contribs/gmf/src/permalink/Permalink.js | 25 +++++++++++++- 8 files changed, 79 insertions(+), 3 deletions(-) diff --git a/contribs/gmf/apps/desktop/index.html.ejs b/contribs/gmf/apps/desktop/index.html.ejs index 20c10b927bb8..3e0d1442a6d8 100644 --- a/contribs/gmf/apps/desktop/index.html.ejs +++ b/contribs/gmf/apps/desktop/index.html.ejs @@ -100,7 +100,9 @@ {{'Login' | translate}} × - +
diff --git a/contribs/gmf/apps/desktop_alt/index.html.ejs b/contribs/gmf/apps/desktop_alt/index.html.ejs index 3a5b6d4ce195..7d9f85a19a52 100644 --- a/contribs/gmf/apps/desktop_alt/index.html.ejs +++ b/contribs/gmf/apps/desktop_alt/index.html.ejs @@ -103,6 +103,7 @@ ×
diff --git a/contribs/gmf/apps/mobile/index.html.ejs b/contribs/gmf/apps/mobile/index.html.ejs index 1bb2e5c9cfc1..489aa1ade621 100644 --- a/contribs/gmf/apps/mobile/index.html.ejs +++ b/contribs/gmf/apps/mobile/index.html.ejs @@ -152,6 +152,7 @@ diff --git a/contribs/gmf/apps/mobile_alt/index.html.ejs b/contribs/gmf/apps/mobile_alt/index.html.ejs index a7aa8caf8db3..5a4b959cabfd 100644 --- a/contribs/gmf/apps/mobile_alt/index.html.ejs +++ b/contribs/gmf/apps/mobile_alt/index.html.ejs @@ -160,6 +160,7 @@ diff --git a/contribs/gmf/src/authentication/component.html b/contribs/gmf/src/authentication/component.html index a213b578630c..bd9314a841a8 100644 --- a/contribs/gmf/src/authentication/component.html +++ b/contribs/gmf/src/authentication/component.html @@ -107,6 +107,11 @@