diff Applications/StoneWebViewer/WebApplication/index.html @ 1698:8805a6a01655

"DateFormat" configuration option
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 27 Nov 2020 10:13:15 +0100
parents c2802561d7f9
children 0598c87e1e88
line wrap: on
line diff
--- a/Applications/StoneWebViewer/WebApplication/index.html	Fri Nov 27 09:47:46 2020 +0100
+++ b/Applications/StoneWebViewer/WebApplication/index.html	Fri Nov 27 10:13:15 2020 +0100
@@ -143,6 +143,9 @@
                       @click="study.selected = !study.selected">
                     <a>
                       {{ study.tags['0008,1030'] }}
+                      <small v-if="study.tags['0008,0020'].length > 0">
+                        [{{ FormatDate(study.tags['0008,0020']) }}]
+                      </small>
                       <span v-if="study.selected">&nbsp;<i class="fa fa-check"></i></span>
                     </a> 
                   </li>
@@ -179,7 +182,7 @@
                       <!-- Title -->
                       {{ study.tags['0008,1030'] }}
                       <br/>
-                      <small>{{ study.tags['0008,0020'] }}</small>
+                      <small>{{ FormatDate(study.tags['0008,0020']) }}</small>
                     </div>
 
                     <div class="wvStudyIsland__main">
@@ -579,7 +582,7 @@
                   </div>
                   <div v-if="'tags' in series" class="wv-overlay-topright">
                     {{ series.tags['0008,1030'] }}<br/>
-                    {{ series.tags['0008,0020'] }}<br/>
+                    {{ app.FormatDate(series.tags['0008,0020']) }}<br/>
                     {{ series.tags['0020,0011'] }} | {{ series.tags['0008,103e'] }}
                   </div>
                   <div class="wv-overlay-timeline-wrapper wvPrintExclude">