Tras confirmar un caso positivo de dengue en un estudiante de la Unidad Educativa Juan XXIII, de la ciudad de Tarija, este miércoles 1 de marzo se determinó suspenden las labores escolares.
Nicolás Ramírez Flores, director de la Unidad Educativa, informó a Play Noticias que la suspensión de las clases se realizó a pedido de la Junta Escolar, luego que en la pasada jornada alrededor de 8 estudiantes presentaron sintomatología relacionada al dengue. Asimismo, se confirmó mediante laboratorio un caso positivo en un menor de edad.
Ante la situación, de acuerdo al mismo medio, la Unidad de Gestión de Riesgos se hizo presente en inmediaciones de la institución para proceder con el respectivo fumigado de la zona.
Las autoridades en salud instan a la ciudadanía a no dejar agua estancada o acumulada en los recipientes existentes en los hogares, a fin de evitar la procreación del mosquito transmisor del dengue.
Información en desarrollo…
Apoya al periodismo independiente
Tienes acceso libre a 200 notas al mes. Para tener acceso ilimitado y muchos beneficios más adquiere tu Suscripción Digital. Comienza tu prueba gratis ahora
¿Ya estás suscrita/o? No olvides iniciar sesión
Si te interesa una suscripción corporativa o institucional llámanos al (+591) 78259007
${ comment.subscriber_fullname }
${ comment.created }
${(comment.subscriber_id == 0) ? « : «}
${(comment.message == ») ? `Et quia velit dolorum tempore dignissimos beatae. At aperiam quia qui alias eum. Architecto atque eaque et reprehenderit aliquam et`: comment.message.trim()}
${(comment.comments_count > 0)?`
`:«}
${(parentId == null) ? «: «}
`;
}
var truncate = function(elem, limit) {
if (!elem || !limit) return;
var totalWords = elem.split(‘ ‘).length;
return (totalWords > limit) ? true : false;
};
var viewMore = function(selector) {
commentBody = document.querySelector(selector + ‘ .uk-comment-body’).classList.remove(‘text-truncate’);
commentBody = document.querySelector(selector + ‘ .comment-tool .text-view-more’).classList.add(‘uk-hidden’);
};
var parentComment = null;
var modal = null;
var textarea = null;
var btnSendResponse = document.querySelector(‘#modal-add-comment #btn-send-message’);
var showModalResponseComment = function(parent, parentId) {
btnSendResponse.querySelector(‘div’).style.display = ‘none’;
var closeModal = false;
modal = UIkit.modal(«#modal-add-comment», {});
modal.show();
modalBodyComment.innerHTML = «»;
modalBodyComment.insertAdjacentHTML(‘beforeend’, commentTemplateModalResponse(parent));
parentComment = parent;
parentComment.parent_id = (parentId == null) ? parent.id : parentId;
parentComment.responseToResponse = (parentId == null) ? false : true;
textarea = document.querySelector(‘#modal-add-comment textarea’);
textarea.value = «»;
if (parentId != null) {
textarea.value = ‘@’ + parent.subscriber_fullname + ‘ ‘;
}
textarea.autofocus = true;
autosize(textarea);
btnSendResponse.disabled = true;
textarea.addEventListener(‘keyup’, function() {
if (this.value.trim() != ») {
btnSendResponse.disabled = false;
} else {
btnSendResponse.disabled = true;
}
});
UIkit.util.on(‘#modal-add-comment’, ‘beforehide’, function(e) {
if (closeModal)
return true;
e.preventDefault();
e.target.blur();
if (textarea.value.trim() != ») {
Swal.fire({
title: ‘¿Quieres descartar el comentario?’,
text: «Esta acción no se puede revertir, perderás tu borrador.»,
showCancelButton: true,
confirmButtonColor: ‘#c91f37’,
cancelButtonColor: ‘#999’,
confirmButtonText: ‘Descartar’,
cancelButtonText: ‘Cancelar’,
reverseButtons: true,
}).then((result) => {
if (result.value) {
closeModal = true;
modal.hide();
}
});
} else {
closeModal = true;
modal.hide();
}
});
}
var sendResponseComment = function() {
var _csrfToken = document.querySelector(‘#formComment [name=»_csrfToken»]’).value;
var data = new FormData(document.querySelector(‘#formComment’));
data.append(‘comment_id’, parentComment.parent_id);
responseCommentTemplateLoader(true, btnSendResponse);
commentsService.add(data, _csrfToken, total).then(
function(res) {
if (res.error == true) {
responseCommentTemplateLoader(false, btnSendResponse);
Swal.fire({
text: res.message,
confirmButtonText: ‘Ok’,
}).then((result) => {
getComments();
textarea.value = «»;
modal.hide();
});
} else {
total++;
if (isSubscriber) {
insertBeforeendListComment(res.comment, parentComment, true);
} else {
Swal.fire({
icon: ‘warning’,
text: ‘El comentario estará sujeto a revisión antes de ser publicado.’,
confirmButtonText: ‘Aceptar’,
})
}
responseCommentTemplateLoader(false, btnSendResponse);
textarea.value = «»;
modal.hide();
}
},
function(err) {
responseCommentTemplateLoader(true, btnSendResponse);
console.log(err);
});
}
var responseCommentTemplateLoader = function(loading, btnAdd) {
if (loading) {
btnAdd.disabled = true;
btnAdd.children[0].style.display = ‘none’;
btnAdd.querySelector(‘div’).style.display = ‘block’;
} else {
btnAdd.disabled = false;
btnAdd.children[0].style.display = ‘inline-block’;
btnAdd.querySelector(‘div’).style.display = ‘none’;
}
}
var commentTemplateModalResponse = function(comment) {
var comment = comment;
var subscriberFilename = (comment.subscriber_photography_filename != » && comment.subscriber_photography_filename != null) ? comment.subscriber_photography_filename : «https://elpais.bo/img/avatar.svg»;
var now = moment(new Date());
var created = moment(comment.created);
comment.created = (now.diff(created, ‘months’) > 1) ? created.format(‘D/M/YYYY’) : moment(comment.created).fromNow();
var objComment = JSON.stringify(comment);
return `
${ comment.subscriber_fullname }
${ comment.created }
${(comment.message == ») ? `Et quia velit dolorum tempore dignissimos beatae. At aperiam quia qui alias eum. Architecto atque eaque et reprehenderit aliquam et`: comment.message.trim()}
`;
}
var getComments = function(page) {
containerCommentList.innerHTML = «»;
commentsService.getAll(page, 0).then(
function(res) {
comments = res.data;
total = res.total;
page = res.page;
pages = res.pages;
if (total == 0) {
commentsDataTemplate();
} else {
comments.forEach(function(comment) {
insertBeforeendListComment(comment, false);
});
}
},
function(err) {
console.log(err);
});
}
var getMoreCommentsChildren = function(parent) {
var btnGetMoreCommentsChildren = document.querySelector(«#btnGetMoreCommentsChildren» + parent.id);
var spinnerChildren = document.querySelector(«#spinnerChildren» + parent.id);
var parentCommenList = document.querySelector(‘#comment’ + parent.id + » ul.uk-comment-list»);
parentCommenList.innerHTML = «»;
btnGetMoreCommentsChildren.style.cursor = ‘wait’;
spinnerChildren.style.display = ‘initial’;
btnGetMoreCommentsChildren.disabled = true;
commentsService.getAll(page, parent.id).then(
function(res) {
comments = res.data;
btnGetMoreCommentsChildren.style.cursor = ‘default’;
spinnerChildren.style.display = ‘none’;
btnGetMoreCommentsChildren.disabled = false;
btnGetMoreCommentsChildren.style.display = ‘none’;
comments.forEach(function(comment) {
insertBeforeendListComment(comment, parent);
lastIdComment = comment.id;
});
},
function(err) {
console.log(err);
btnGetMoreCommentsChildren.style.cursor = ‘default’;
spinnerChildren.style.display = ‘none’;
btnGetMoreCommentsChildren.disabled = false;
});
}
var getMoreComments = function() {
if (page <= pages) {
page++;
btnGetMoreComments.style.cursor = 'wait';
spinnerLoadingComments.style.display = 'initial';
btnGetMoreComments.disabled = true;
commentsService.getAll(page, 0).then(
function(res) {
comments = res.data;
total = res.total;
page = res.page;
pages = res.pages;
btnGetMoreComments.style.cursor = 'default';
spinnerLoadingComments.style.display = 'none';
btnGetMoreComments.disabled = false;
comments.forEach(function(comment) {
insertBeforeendListComment(comment, false);
lastIdComment = comment.id;
});
commentsDataTemplate();
// UIkit.scroll().scrollTo("#comment" + lastIdComment);
},
function(err) {
console.log(err);
btnGetMoreComments.style.cursor = 'default';
spinnerLoadingComments.style.display = 'none';
btnGetMoreComments.disabled = false;
});
}
}
var showModalDeletedComment = function(commentId) {
var btnDeletedL = document.querySelector('#btn-deleted-l-' + commentId);
var btnDeletedS = document.querySelector('#comment' + commentId + ' .btn-deleted-dropdown');
Swal.fire({
title: 'Eliminar',
text: "¿Seguro que quieres eliminar este comentario?",
showCancelButton: true,
confirmButtonColor: '#c91f37',
cancelButtonColor: '#999',
confirmButtonText: 'Eliminar',
cancelButtonText: 'Cancelar',
reverseButtons: true,
}).then((result) => {
if (result.value) {
deleteCommentTemplateLoader(true, btnDeletedL, btnDeletedS);
commentsService.delete(commentId).then(
function(res) {
deleteCommentTemplateLoader(false, btnDeletedL, btnDeletedS);
if (res.deleted == true) {
deleteCommentTemplate(commentId, true, res.message);
commentsRender–;
total–;
commentsDataTemplate();
} else {
deleteCommentTemplate(commentId, false, res.message);
}
},
function(err) {
deleteCommentTemplateLoader(false, btnDeletedL, btnDeletedS);
deleteCommentTemplate(commentId, false);
console.log(err);
});
}
});
}
var deleteCommentTemplateLoader = function(loading, btnDeletedL, btnDeletedS) {
if (loading) {
btnDeletedL.disabled = true;
btnDeletedL.innerHTML = »;
btnDeletedL.innerHTML = »;
btnDeletedS.disabled = true;
btnDeletedS.innerHTML = »;
btnDeletedS.innerHTML = »;
} else {
btnDeletedL.disabled = false;
btnDeletedL.innerHTML = »;
btnDeletedL.innerHTML = ‘Eliminar’;
btnDeletedS.disabled = false;
btnDeletedS.innerHTML = »;
btnDeletedS.innerHTML = ‘ ‘;
}
}
var deleteCommentTemplate = function(commentId, deleted, $message = ‘No se puede eliminar el comentario’) {
if (deleted) {
var element = document.querySelector(‘#comment’ + commentId);
element.parentNode.removeChild(element);
} else {
var commentBody = document.querySelector(‘#comment’ + commentId + ‘ .uk-comment-body’);
var commentTool = document.querySelector(‘#comment’ + commentId + ‘ .comment-tool’);
commentBody.style.border = ‘1px solid #F44336’;
commentBody.style.padding = ‘5px’;
commentTool.innerHTML = ‘ ‘ + message + ‘‘;
}
}
var insertBeforeendListComment = function(comment, parent, scroll = false) {
if (parent) {
if (parent.responseToResponse == true) {
var parentCommenList = document.querySelector(«#comment» + parent.id);
parentCommenList = parentCommenList.closest(«ul»);
parentCommenList.insertAdjacentHTML(‘beforeend’, commentTemplate(comment, parent.id));
} else {
var parentCommenList = document.querySelector(‘#comment’ + parent.id + » ul.uk-comment-list»);
parentCommenList.insertAdjacentHTML(‘beforeend’, commentTemplate(comment, parent.id));
};
if (scroll) {
UIkit.scroll(null, {
offset: 60
}).scrollTo(«#comment» + comment.id);
}
} else {
containerCommentList.insertAdjacentHTML(‘beforeend’, commentTemplate(comment));
}
commentsRender++;
commentsDataTemplate();
}
var commentsDataTemplate = function() {
if (total == 0) {
commentsInformation.style.display = ‘none’;
commentsData.innerHTML = ` `;
} else {
commentsInformation.style.display = ‘initial’;
if (page < pages) {
btnGetMoreComments.style.visibility = 'visible';
} else {
btnGetMoreComments.style.visibility = 'hidden';
}
commentsData.innerHTML = ` ${ commentsRender } de ${ total }`;
}
}
initComment();
getComments(page);