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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos.core
Commits
9e4de5a2
Commit
9e4de5a2
authored
Aug 24, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify.
form_id was dirty hack. Improve the message.
parent
dc62c584
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/login_form.xml
...emplateItem/portal_skins/vifib_jauks_theme/login_form.xml
+1
-4
master/bt5/vifib_web/bt/revision
master/bt5/vifib_web/bt/revision
+1
-1
No files found.
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/login_form.xml
View file @
9e4de5a2
...
...
@@ -55,10 +55,7 @@
<h1
i18n:translate=
""
i18n:domain=
"ui"
>
Log in
</h1>
\n
</tal:block>
\n
<tal:block
tal:condition=
"python: request.get(\'came_from\', None) is not None"
>
\n
<h1
i18n:translate=
""
i18n:domain=
"ui"
>
You do not have enough permissions to access this page.
</h1>
\n
</tal:block>
\n
<tal:block
tal:condition=
"python: request.get(\'form_id\', None) is not None"
>
\n
<tal:block
tal:define=
"came_from python: request.set(\'came_from\', \'/\'.join([here.getWebSiteValue().absolute_url(), request.get(\'form_id\', None)]))"
></tal:block>
\n
<h1
i18n:translate=
""
i18n:domain=
"ui"
>
Please login before continue.
</h1>
\n
</tal:block>
\n
<tal:block
tal:condition=
"python: request.get(\'came_from\', None) is not None"
>
\n
<tal:block
tal:define=
"dummy python: request.RESPONSE.setCookie(\'redirect_after_login\', request.get(\'came_from\'), path=\'/\')"
></tal:block>
\n
...
...
master/bt5/vifib_web/bt/revision
View file @
9e4de5a2
402
\ No newline at end of file
403
\ No newline at end of file
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