]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/default/picwall.html
Merge pull request #1205 from ArthurHoaro/feature/opengraph
[github/shaarli/Shaarli.git] / tpl / default / picwall.html
index 1b8bf3b96a6c9a2692277399404624f5e6cf32ab..4c325487ac0dbfe10328f79205a4f4e9a4d1f242 100644 (file)
   </div>
 </div>
 {else}
+  {if="count($linksToDisplay)===0 && $is_logged_in"}
+    <div class="pure-g pure-alert pure-alert-warning page-single-alert">
+      <div class="pure-u-1 center">
+        {'There is no cached thumbnail. Try to <a href="?do=thumbs_update">synchronize them</a>.'|t}
+      </div>
+    </div>
+  {/if}
+
   <div class="pure-g">
     <div class="pure-u-lg-1-6 pure-u-1-24"></div>
     <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor">
@@ -29,7 +37,7 @@
           <div class="picwall-pictureframe">
             {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
             <img data-src="{$value.thumbnail}#" class="b-lazy"
-                 src="#"
+                 src=""
                  alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
             <a href="{$value.real_url}"><span class="info">{$value.title}</span></a>
             {loop="$value.picwall_plugin"}