Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
6d98654e
Commit
6d98654e
authored
5 years ago
by
Tim van Dijen
Browse files
Options
Downloads
Patches
Plain Diff
Move preprodwarning to login-template; Closes #1035
parent
6a3b3e92
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/core/templates/loginuserpass.twig
+9
-0
9 additions, 0 deletions
modules/core/templates/loginuserpass.twig
templates/base.twig
+2
-11
2 additions, 11 deletions
templates/base.twig
with
11 additions
and
11 deletions
modules/core/templates/loginuserpass.twig
+
9
−
0
View file @
6d98654e
...
...
@@ -7,6 +7,15 @@
{%
endblock
%}
{%
block
content
%}
{%
-
if
not
isProduction
%}
<div
class=
"message-box warning"
>
{%
trans
%}
You are now accessing a pre-production system. This authentication setup
{#- #}
is for testing and pre-production verification only. If someone sent you
{#- #}
a link that pointed you here, and you are not
<i>
a tester
</i>
you
{#- #}
probably got the wrong link, and should
<b>
not be here
</b>
.
{%
endtrans
%}
</div>
{%
endif
-
%}
{%
if
errorcode
-
%}
<div
class=
"pure-g"
>
<div
class=
"pure-u-1"
>
...
...
This diff is collapsed.
Click to expand it.
templates/base.twig
+
2
−
11
View file @
6d98654e
...
...
@@ -22,21 +22,12 @@
<div
id=
"content"
>
<div
class=
"wrap"
>
{%
-
if
not
isProduction
%}
<div
class=
"message-box warning"
>
{%
trans
%}
You are now accessing a pre-production system. This authentication setup
{#- #}
is for testing and pre-production verification only. If someone sent you
{#- #}
a link that pointed you here, and you are not
<i>
a tester
</i>
you
{#- #}
probably got the wrong link, and should
<b>
not be here
</b>
.
{%
endtrans
%}
</div>
{%
endif
-
%}
{%
-
block
contentwrapper
%}
{%
-
block
content
%}{%
endblock
%}
{%
-
endblock
contentwrapper
%}
</div>
</div>
<!-- content -->
</div>
</div>
<!-- content -->
<div
id=
"push"
></div>
</div>
<!-- layout -->
<div
id=
"foot"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment