More fixes

This commit is contained in:
Luis Fernando Molina committed 2020-12-28 14:21:42 +01:00
1 parent 87eb9941ef
commit 1e64047175
3 files changed
+51 -7

No files matched your search

@@ -3,8 +3,8 @@
"pageNumber": "2",
"type": "Docs Page Category",
"definition": {
"text": "The Docs have 3 different categories of pages. Node, Concept and Topic.",
"updated": 1609150759942
"text": "The Docs have 3 different categories of pages. Node, Concept and Topic. Each of them is a collection of pages users can read.",
"updated": 1609161546617
},
"paragraphs": [
{
@@ -27,7 +27,16 @@
},
{
"style": "Success",
"text": "Check the command syntax for a detailed list of parameters required."
"text": " Check the command syntax for a detailed list of parameters required.",
"updated": 1609160562426
},
{
"style": "Text",
"text": " "
},
{
"style": "Text",
"text": ""
},
{
"style": "Anchor",
@@ -47,8 +56,42 @@
"text": "Check that you typed the Project name correctly. Project names are key-sensitive."
},
{
"style": "Text",
"text": "3"
"style": "Anchor",
"text": "Anchor Category Not Valid",
"updated": 1609160863036
},
{
"style": "Title",
"text": "Category not valid",
"updated": 1609160881861
},
{
"style": "Error",
"text": "The category you have specidied is not a valid Docs Page Category.",
"updated": 1609160924575
},
{
"style": "Success",
"text": " Valid categories are: Node, Concept and Topic. This parameter is key-sensitive.",
"updated": 1609161108040
},
{
"style": "Anchor",
"text": "Anchor Page Not Found",
"updated": 1609161391540
},
{
"style": "Title",
"text": "Page not found"
},
{
"style": "Error",
"text": "The Docs Page Name you have specified could not be found in the collection of pages of the Docs Page Category you provided."
},
{
"style": "Success",
"text": "Double check that the Docs Page Name is spelled correctly and that it belongs to the Docs Page Category provided. ",
"updated": 1609161473688
},
{
"style": "Text",
@@ -1030,12 +1030,12 @@ function newSuperalgosDocSpace() {
break
}
default: {
renderCommandResultsPage(["Syntax Error. Expected <b>Node</b>, <b>Concept</b> or <b>Topic</b>. Found <b>" + category + "</b>"])
navigateTo('Superalgos', 'Topic', 'Docs Command Errors', 'Anchor Category Not Valid')
return
}
}
if (docsSchemaDocument === undefined) {
renderCommandResultsPage([category + " <b>" + type + "</b> does not exist."])
navigateTo('Superalgos', 'Topic', 'Docs Command Errors', 'Anchor Page Not Found')
return
}
if (docsSchemaDocument.paragraphs === undefined) {
@@ -2922,6 +2922,7 @@ function newSuperalgosDocSpace() {
role = 'role="alert"'
key = key + '-error'
innerHTML = getTextBasedOnLanguage(paragraph)
innerHTML = addToolTips(innerHTML)
innerHTML = innerHTML + addWarningIfTranslationIsOutdated(paragraph)
break
}