Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
ac04263c
Commit
ac04263c
authored
Jul 23, 2021
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Plain Diff
slapos_jio: do not display the authentication form if user is not anonymous
See merge request
nexedi/slapos.core!318
parents
468b503b
87a324e7
Pipeline
#16709
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/login_form.zpt
...ateItem/portal_skins/slapos_hal_json_style/login_form.zpt
+9
-2
No files found.
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/login_form.zpt
View file @
ac04263c
...
@@ -7,7 +7,8 @@
...
@@ -7,7 +7,8 @@
<link
rel=
"stylesheet"
href=
"zocial.min.css"
>
<link
rel=
"stylesheet"
href=
"zocial.min.css"
>
</head>
</head>
<body
tal:define=
"form_action string:WebSite_login;"
>
<body
tal:define=
"form_action string:WebSite_login;
portal here/getPortalObject"
>
<div
data-role=
'page'
>
<div
data-role=
'page'
>
<div
data-gadget-scope=
'header'
>
<div
data-gadget-scope=
'header'
>
...
@@ -39,7 +40,13 @@
...
@@ -39,7 +40,13 @@
</tal:block>
</tal:block>
</section>
</section>
</div>
</div>
<section>
<section
tal:condition=
"not: portal/portal_membership/isAnonymousUser"
>
<p
i18n:domain=
"ui"
i18n:translate=
""
>
It seems you're already authenticated.
</p>
<p><a
tal:condition=
"exists: request/came_from"
tal:attributes=
"href request/came_from"
>
Go back
</a></p>
</section>
<section
tal:condition=
"portal/portal_membership/isAnonymousUser"
>
<form
method=
"post"
tal:attributes=
"action python: '%s/' % context.absolute_url()"
>
<form
method=
"post"
tal:attributes=
"action python: '%s/' % context.absolute_url()"
>
<div
class=
"ui-field-contain"
>
<div
class=
"ui-field-contain"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment