|
@@ -132,22 +132,22 @@ $(document).ready(function () {
|
|
|
|
|
|
function checkEmpty() {
|
|
|
if ($("#Man-Made_Object").is(':empty')) {
|
|
|
- var message = '<p class="no-results">Nessun <span>Oggetto Fisico</span> trovato</p>';
|
|
|
+ var message = '<p class="no-results">No <span>Physical object</span> found</p>';
|
|
|
$('#Man-Made_Object').append(message);
|
|
|
}
|
|
|
|
|
|
if ($("#Information_Object").is(':empty')) {
|
|
|
- var message = '<p class="no-results">Nessun <span>Oggetto Informativo</span> trovato</p>';
|
|
|
+ var message = '<p class="no-results">No <span>Text</span> found</p>';
|
|
|
$('#Information_Object').append(message);
|
|
|
}
|
|
|
|
|
|
if ($("#Person").is(':empty')) {
|
|
|
- var message = '<p class="no-results">Nessuna <span>Persona</span> trovata</p>';
|
|
|
+ var message = '<p class="no-results">No <span>Person</span> found</p>';
|
|
|
$('#Person').append(message);
|
|
|
}
|
|
|
|
|
|
if ($("#Place").is(':empty')) {
|
|
|
- var message = '<p class="no-results">Nessun <span>Luogo</span> trovato</p>';
|
|
|
+ var message = '<p class="no-results">No <span>Place</span> found</p>';
|
|
|
$('#Place').append(message);
|
|
|
}
|
|
|
}
|
|
@@ -274,7 +274,7 @@ function MMO_handle_json(json) {
|
|
|
object_type = "object";
|
|
|
object_button += '<button type="button" id="' + value['subject']['value'] +
|
|
|
'" class="object btn btn-default" alt="oggetto" title="' + value['label']['value'] +
|
|
|
- '"><i class="fa fa-book"></i><p class="btn-text">Object</p></button>';
|
|
|
+ '"><i class="fa fa-book"></i><p class="btn-text">Physical object</p></button>';
|
|
|
}
|
|
|
|
|
|
object += /*INIZIO DIV*/ '<div class="row res"><div class="col-8">' + graph_name + '<br />' +
|
|
@@ -298,7 +298,7 @@ function MMO_handle_json(json) {
|
|
|
$('#n_mmo').append(n_oggetto);
|
|
|
if (n_oggetto == 0) {
|
|
|
$('#Man-Made_Object').text("");
|
|
|
- var message = '<p id="no_mmo" class="no-results">Nessun <span>Oggetto Fisico</span> trovato</p>';
|
|
|
+ var message = '<p id="no_mmo" class="no-results">No <span>Physical object</span> found</p>';
|
|
|
$('#Man-Made_Object').append(message);
|
|
|
} else {
|
|
|
$('#no_mmo').remove("");
|
|
@@ -395,7 +395,7 @@ function InfObj_handle_json(json) {
|
|
|
link_type = "object";
|
|
|
infObject_button += '<button type="button" id="' + value['Physical_Object']['value'] +
|
|
|
'" class="object btn btn-default" alt="oggetto" title="' + value['label']['value'] +
|
|
|
- '"><i class="fa fa-book"></i><p class="btn-text">Object</p></button>';
|
|
|
+ '"><i class="fa fa-book"></i><p class="btn-text">Physical object</p></button>';
|
|
|
}
|
|
|
|
|
|
//'<div class="row res"><div class="col-8"><p>' + graph_name + '<br />' +
|
|
@@ -424,7 +424,7 @@ function InfObj_handle_json(json) {
|
|
|
$('#n_io').append(n_oggetto);
|
|
|
if (n_oggetto == 0) {
|
|
|
$('#Information_Object').text("");
|
|
|
- var message = '<p id="no_io" class="no-results">Nessun <span>Testo</span> trovato</p>';
|
|
|
+ var message = '<p id="no_io" class="no-results">No <span>Text</span> found</p>';
|
|
|
$('#Information_Object').append(message);
|
|
|
} else {
|
|
|
$('#no_io').remove("");
|
|
@@ -524,7 +524,7 @@ function Place_handle_json(json) {
|
|
|
$('#n_pl').append(n_oggetto);
|
|
|
if (n_oggetto == 0) {
|
|
|
$('#Place').text("");
|
|
|
- var message = '<p id="no_pl" class="no-results">Nessun <span>Luogo</span> trovato</p>';
|
|
|
+ var message = '<p id="no_pl" class="no-results">No <span>oPlace</span> found</p>';
|
|
|
$('#Place').append(message);
|
|
|
} else {
|
|
|
$('#no_pl').remove("");
|