mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 23:36:41 +02:00
change number to numbered for domain-server settings
This commit is contained in:
parent
fb8c5c3bf0
commit
f4eddbc93b
2 changed files with 6 additions and 6 deletions
|
@ -65,7 +65,7 @@
|
||||||
"type": "table",
|
"type": "table",
|
||||||
"label": "Allowed Users",
|
"label": "Allowed Users",
|
||||||
"help": "A list of usernames for the High Fidelity users you want to allow into your domain. Users not found in this list will not be allowed to connect.",
|
"help": "A list of usernames for the High Fidelity users you want to allow into your domain. Users not found in this list will not be allowed to connect.",
|
||||||
"number": false,
|
"numbered": false,
|
||||||
"can_add": true,
|
"can_add": true,
|
||||||
"can_delete": true,
|
"can_delete": true,
|
||||||
"key": {
|
"key": {
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
"type": "table",
|
"type": "table",
|
||||||
"label": "Zones",
|
"label": "Zones",
|
||||||
"help": "In this table you can define a set of zones in which you can specify various audio properties.",
|
"help": "In this table you can define a set of zones in which you can specify various audio properties.",
|
||||||
"number": false,
|
"numbered": false,
|
||||||
"can_add": true,
|
"can_add": true,
|
||||||
"can_delete": true,
|
"can_delete": true,
|
||||||
"key": {
|
"key": {
|
||||||
|
|
|
@ -302,8 +302,8 @@ function makeTable(setting, setting_name, setting_value) {
|
||||||
var row_num = 1
|
var row_num = 1
|
||||||
_.each(setting_value, function(row, name) {
|
_.each(setting_value, function(row, name) {
|
||||||
html += "<tr class='row-data' name='" + setting_name + "." + name + "'>"
|
html += "<tr class='row-data' name='" + setting_name + "." + name + "'>"
|
||||||
if (setting.number === true) {
|
if (setting.numbered === true) {
|
||||||
html += "<td class='number'>" + row_num + "</td>"
|
html += "<td class='numbered'>" + row_num + "</td>"
|
||||||
}
|
}
|
||||||
html += "<td class='key'>" + name + "</td>"
|
html += "<td class='key'>" + name + "</td>"
|
||||||
_.each(setting.columns, function(col) {
|
_.each(setting.columns, function(col) {
|
||||||
|
@ -334,8 +334,8 @@ function makeTable(setting, setting_name, setting_value) {
|
||||||
|
|
||||||
function makeTableInputs(setting) {
|
function makeTableInputs(setting) {
|
||||||
var html = "<tr class='inputs'>"
|
var html = "<tr class='inputs'>"
|
||||||
if (setting.number === true) {
|
if (setting.numbered === true) {
|
||||||
html += "<td class='number'></td>"
|
html += "<td class='numbered'></td>"
|
||||||
}
|
}
|
||||||
html += "<td class='key' name='" + setting.key.name + "'>\
|
html += "<td class='key' name='" + setting.key.name + "'>\
|
||||||
<input type='text' class='form-control' placeholder='" + (_.has(setting.key, 'placeholder') ? setting.key.placeholder : "") + "' value=''>\
|
<input type='text' class='form-control' placeholder='" + (_.has(setting.key, 'placeholder') ? setting.key.placeholder : "") + "' value=''>\
|
||||||
|
|
Loading…
Reference in a new issue