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
Titouan Soulard
slapos.core
Commits
aac8ae4d
Commit
aac8ae4d
authored
Sep 12, 2023
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_panel: simplify configuration by not requiring to fill the hateoas url in the preferences
parent
2a802572
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
master/bt5/slapos_panel/ActionTemplateItem/portal_types/Project/add_slapos_compute_node_token.xml
...em/portal_types/Project/add_slapos_compute_node_token.xml
+2
-2
master/bt5/slapos_panel/SkinTemplateItem/portal_skins/slapos_panel/Project_addSlapOSComputeNodeToken.py
...l_skins/slapos_panel/Project_addSlapOSComputeNodeToken.py
+1
-1
No files found.
master/bt5/slapos_panel/ActionTemplateItem/portal_types/Project/add_slapos_compute_node_token.xml
View file @
aac8ae4d
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_
jio_fast_input
</string>
<string>
action_type/object_
onlyjio_action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_
jio_fast_input
</string>
</value>
<value>
<string>
object_
onlyjio_action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
master/bt5/slapos_panel/SkinTemplateItem/portal_skins/slapos_panel/Project_addSlapOSComputeNodeToken.py
View file @
aac8ae4d
...
...
@@ -17,7 +17,7 @@ if slapos_master_api is None:
# This url is only used to call 1 (one) python script.
# it could be whatever url able to reach erp5
slapos_master_web_url
=
portal
.
portal_preferences
.
getPreferredHateoasUrl
(
None
)
slapos_master_web_url
=
portal
.
portal_preferences
.
getPreferredHateoasUrl
(
web_site
.
absolute_url
()
)
if
slapos_master_web_url
is
None
:
return
context
.
Base_redirect
(
keep_items
=
{
...
...
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