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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
darkbit
ffbs-gluon
Commits
78e676d1
Commit
78e676d1
authored
3 years ago
by
Kasalehlia
Browse files
Options
Downloads
Patches
Plain Diff
config-mode: fix contact info script
parent
be8bfb01
Branches
v2018.2.x-ffbs
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/gluon-config-mode-contact-info/luasrc/lib/gluon/config-mode/wizard/0500-contact-info.lua
+2
-5
2 additions, 5 deletions
...luasrc/lib/gluon/config-mode/wizard/0500-contact-info.lua
with
2 additions
and
5 deletions
package/gluon-config-mode-contact-info/luasrc/lib/gluon/config-mode/wizard/0500-contact-info.lua
+
2
−
5
View file @
78e676d1
return
function
(
form
,
uci
)
local
pkg_i18n
=
i18n
'gluon-config-mode-contact-info'
local
site_i18n
=
i18n
'gluon-site'
if
uci
.
get
(
"parker"
,
"owner"
)
==
nil
then
uci
.
set
(
"parker"
,
"owner"
,
"owner"
)
end
local
help
=
site_i18n
.
_translate
(
"gluon-config-mode:contact-help"
)
or
pkg_i18n
.
translate
(
'Please provide your contact information here to allow others to contact '
...
...
@@ -22,8 +18,9 @@ return function(form, uci)
o.datatype = '
minlength
(
1
)
'
o.optional = true
function o:write(data)
uci:section("parker","owner","owner")
uci:set("parker", "owner", "contact", data)
end
return {'
gluon
-
node
-
info
'}
return {'
parker
'}
end
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