Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFS Gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
firmware
FFS 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
No related branches found
Branches containing commit
No related tags found
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.
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