modfiche visualizzazione rif
This commit is contained in:
parent
728fa373b2
commit
1f7df9280b
|
@ -925,7 +925,7 @@ $(document).ready(function() {
|
|||
}
|
||||
|
||||
drawMinimap("#" + minimapid, false)
|
||||
/*console.log (commentsSQL)*/
|
||||
console.log (commentsSQL)
|
||||
}
|
||||
|
||||
|
||||
|
@ -1056,14 +1056,14 @@ $(document).ready(function() {
|
|||
if (comments.RapportoCommentoCommentatoreText != null && comments.RapportoCommentoCommentatoreText != "nan") {
|
||||
createModuleCommentatore(collapseCardBody, comments.RapportoCommentoCommentatoreText, "5", id, pos)
|
||||
}
|
||||
if (comments.frammentoNota != null && comments.frammentoNota != "nan" && comments.annotazione != null && comments.annotazione != "nan") {
|
||||
createModuleFrammAnnot(collapseCardBody, removeHtmlTags(comments.frammentoNota), removeHtmlTags(comments.annotazione), "6", id, pos)
|
||||
if (comments.frammentoNota != null && comments.frammentoNota != "nan" && comments.Annotazione != null && comments.Annotazione != "nan") {
|
||||
createModuleFrammAnnot(collapseCardBody, removeHtmlTags(comments.frammentoNota), removeHtmlTags(comments.Annotazione), "6", id, pos)
|
||||
} else {
|
||||
if (comments.frammentoNota != null && comments.frammentoNota != "nan") {
|
||||
createModule(collapseCardBody, "Nota: ", removeHtmlTags(comments.frammentoNota), "6", id, pos)
|
||||
}
|
||||
if (comments.annotazione != null && comments.annotazione != "nan") {
|
||||
createModule(collapseCardBody, "Nota completa: ", removeHtmlTags(comments.annotazione), "7", id, pos)
|
||||
if (comments.Annotazione != null && comments.Annotazione != "nan") {
|
||||
createModule(collapseCardBody, "Nota completa: ", removeHtmlTags(comments.Annotazione), "7", id, pos)
|
||||
}
|
||||
}
|
||||
if (comments.NotaFonteCitazione != null && comments.NotaFonteCitazione != "nan" && comments.NotaFonteCitazione != "") {
|
||||
|
@ -1128,8 +1128,8 @@ $(document).ready(function() {
|
|||
collapseButton.appendTo(buttons);
|
||||
//closeButton.appendTo(buttons);
|
||||
|
||||
if (comments.commentario != null) {
|
||||
rigaNota.append('<b>Commentatore:</b> <i>' + comments.commentario + '</i><br>');
|
||||
if (comments.Commentario != null) {
|
||||
rigaNota.append('<b>Commentatore:</b> <i>' + comments.Commentario + '</i><br>');
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue