mirror of
https://git.proxmox.com/git/pmg-docs
synced 2025-08-11 15:43:57 +00:00
api-viewer: whitespace, indentation and typo fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
509eaa9290
commit
ab3ca2634d
@ -189,9 +189,9 @@ Ext.onReady(function() {
|
|||||||
|
|
||||||
if (info.returns) {
|
if (info.returns) {
|
||||||
|
|
||||||
var retinf = info.returns;
|
var retinf = info.returns;
|
||||||
var rtype = retinf.type;
|
var rtype = retinf.type;
|
||||||
if (!rtype && retinf.items)
|
if (!rtype && retinf.items)
|
||||||
rtype = 'array';
|
rtype = 'array';
|
||||||
if (!rtype)
|
if (!rtype)
|
||||||
rtype = 'object';
|
rtype = 'object';
|
||||||
@ -225,9 +225,9 @@ Ext.onReady(function() {
|
|||||||
if (info.permissions.user) {
|
if (info.permissions.user) {
|
||||||
if (!info.permissions.description) {
|
if (!info.permissions.description) {
|
||||||
if (info.permissions.user === 'world') {
|
if (info.permissions.user === 'world') {
|
||||||
permhtml += "Accessible without any authententification.";
|
permhtml += "Accessible without any authentication.";
|
||||||
} else if (info.permissions.user === 'all') {
|
} else if (info.permissions.user === 'all') {
|
||||||
permhtml += "Accessible by all authententicated users.";
|
permhtml += "Accessible by all authenticated users.";
|
||||||
} else {
|
} else {
|
||||||
permhtml += 'Onyl accessible by user "' +
|
permhtml += 'Onyl accessible by user "' +
|
||||||
info.permissions.user + '"';
|
info.permissions.user + '"';
|
||||||
|
Loading…
Reference in New Issue
Block a user