changeset 1808:797633f48a9c

display series description if hovering pdf or video
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 May 2021 17:28:16 +0200
parents 634ff8993f6a
children 79a5838739a6
files Applications/StoneWebViewer/WebApplication/index.html
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/StoneWebViewer/WebApplication/index.html	Thu May 20 17:17:56 2021 +0200
+++ b/Applications/StoneWebViewer/WebApplication/index.html	Thu May 20 17:28:16 2021 +0200
@@ -212,10 +212,12 @@
                               </div>
 
                               <i v-if="series[seriesIndex].type == stone.ThumbnailType.PDF"
-                                 class="wvSerieslist__placeholderIcon fa fa-file-pdf"></i>
+                                 class="wvSerieslist__placeholderIcon fa fa-file-pdf"
+                                 v-bind:title="leftMode == 'full' ? null : series[seriesIndex].tags[SERIES_DESCRIPTION]"></i>
 
                               <i v-if="series[seriesIndex].type == stone.ThumbnailType.VIDEO"
-                                 class="wvSerieslist__placeholderIcon fa fa-video"></i>
+                                 class="wvSerieslist__placeholderIcon fa fa-video"
+                                 v-bind:title="leftMode == 'full' ? null : series[seriesIndex].tags[SERIES_DESCRIPTION]"></i>
                               
                               <div v-if="[stone.ThumbnailType.IMAGE, stone.ThumbnailType.NO_PREVIEW].includes(series[seriesIndex].type)"
                                    class="wvSerieslist__placeholderIcon"