Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
ffbs-gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ffbs
ffbs-gluon
Commits
a3a8d962
Unverified
Commit
a3a8d962
authored
5 years ago
by
Matthias Schiffer
Browse files
Options
Downloads
Patches
Plain Diff
gluon-web-node-role: fix node role list
Fixes:
4249d65a
("treewide: fix luacheck warnings") Closes: #1851
parent
e3bdfeef
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/gluon-web-node-role/luasrc/lib/gluon/config-mode/model/admin/noderole.lua
+1
-1
1 addition, 1 deletion
...ole/luasrc/lib/gluon/config-mode/model/admin/noderole.lua
with
1 addition
and
1 deletion
package/gluon-web-node-role/luasrc/lib/gluon/config-mode/model/admin/noderole.lua
+
1
−
1
View file @
a3a8d962
...
...
@@ -18,7 +18,7 @@ s = f:section(Section, nil, translate(
o
=
s
:
option
(
ListValue
,
"role"
,
translate
(
"Role"
))
o
.
default
=
role
for
_
,
role_value
in
ipairs
(
site
.
roles
.
list
())
do
o
:
value
(
role
,
site_i18n
.
translate
(
'gluon-web-node-role:role:'
..
role_value
))
o
:
value
(
role
_value
,
site_i18n
.
translate
(
'gluon-web-node-role:role:'
..
role_value
))
end
function
o
:
write
(
data
)
...
...
This diff is collapsed.
Click to expand it.
shoragan
@shoragan
mentioned in commit
4942602f
·
5 years ago
mentioned in commit
4942602f
mentioned in commit 4942602f7deeeac5931a2e177d13c2f121119853
Toggle commit list
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