+
+ Esta consulta abre el detalle en GlobalLeaks y puede marcar la denuncia como leida.
+
+
+ @if (DetailBusy)
+ {
+
Cargando detalle de GlobalLeaks...
+ }
+ else if (!string.IsNullOrWhiteSpace(DetailError))
+ {
+
@DetailError
+ }
+ else if (DetailData is not null)
+ {
+
+ Ultimo acceso previo:
+ @(string.IsNullOrWhiteSpace(DetailData.LastAccess) ? "Sin acceso previo" : FormatDate(DetailData.LastAccess)).
+ Los elementos posteriores se marcan como nuevos.
+
+
+
Mensajes (@DetailData.Comments.Count)
+ @if (DetailData.Comments.Count == 0)
+ {
+
Sin mensajes.
+ }
+ else
+ {
+ @foreach (var comment in DetailData.Comments)
+ {
+
+ }
+ }
+
+
Ficheros del denunciante (@DetailData.WhistleblowerFiles.Count)
+ @if (DetailData.WhistleblowerFiles.Count == 0)
+ {
+
Sin ficheros.
+ }
+ else
+ {
+ @foreach (var file in DetailData.WhistleblowerFiles)
+ {
+
+
+ @(string.IsNullOrWhiteSpace(file.Name) ? "Fichero sin nombre" : file.Name)
+ @FormatDate(file.CreationDate)
+
+
@FormatBytes(file.Size) @(string.IsNullOrWhiteSpace(file.ContentType) ? string.Empty : $" - {file.ContentType}")
+ @if (file.IsNew)
+ {
+
Nuevo
+ }
+
+ }
+ }
+
+
Ficheros internos/receptor (@DetailData.ReceiverFiles.Count)
+ @if (DetailData.ReceiverFiles.Count == 0)
+ {
+
Sin ficheros.
+ }
+ else
+ {
+ @foreach (var file in DetailData.ReceiverFiles)
+ {
+
+
+ @(string.IsNullOrWhiteSpace(file.Name) ? "Fichero sin nombre" : file.Name)
+ @FormatDate(file.CreationDate)
+
+
@FormatBytes(file.Size) @(string.IsNullOrWhiteSpace(file.ContentType) ? string.Empty : $" - {file.ContentType}")
+ @if (file.IsNew)
+ {
+
Nuevo
+ }
+
+ }
+ }
+ }
+