git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C105
This commit is contained in:
parent
46b27d6b83
commit
1558fb4ddb
3 changed files with 18 additions and 6 deletions
|
|
@ -384,7 +384,7 @@ this.DateFormat = function (value) {
|
|||
|
||||
if (value != null && value != "") {
|
||||
var fecha = new Date(value);
|
||||
return moment(fecha.toGMTString()).format("DD-MMMM-YYYY, h:hh A");
|
||||
return moment(fecha.toGMTString()).format("DD-MMMM-YYYY, h:mm A");
|
||||
}
|
||||
else
|
||||
return "";
|
||||
|
|
|
|||
|
|
@ -152,6 +152,16 @@ this.CargarFormulario = function (data) {
|
|||
|
||||
});
|
||||
|
||||
$.each(model.ProyectoNormativo.ComentariosProyecto, function (key, item) {
|
||||
|
||||
var comentario = $("#ucForo").html();
|
||||
comentario = replaceAll("[$Usuario]", item.UsuarioSistema, comentario);
|
||||
comentario = replaceAll("[$Comentario]", item.Comentario, comentario);
|
||||
comentario = replaceAll("[$Fecha]", DateFormat(item.FechaCreacion), comentario);
|
||||
|
||||
$("#divComentarios").append(comentario);
|
||||
|
||||
});
|
||||
ENDREQUEST();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -177,7 +177,7 @@
|
|||
</button>
|
||||
</div>*@
|
||||
|
||||
<div class="col-md-12" style="overflow-y: scroll;" id="divComentarios">
|
||||
<div class="col-md-12" style="overflow-y: scroll; height:300px;" id="divComentarios">
|
||||
|
||||
</div>
|
||||
|
||||
|
|
@ -232,10 +232,12 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="ucForo" class="col-md-auto" style="display:none;">
|
||||
<h4> [$Usuario] </h4>
|
||||
<h5> [$Comentario]</h5>
|
||||
<h6> [$Fecha] </h6>
|
||||
<div id="ucForo" style="display:none;">
|
||||
<div>
|
||||
<h4> [$Usuario] </h4>
|
||||
<h5> [$Comentario]</h5>
|
||||
<h6> [$Fecha] </h6>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@section Modals{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue