diff web_resources/feed-preview.xhtml @ 9:fcd65cf3f634

Simplify the hint shown if there are no entries Always create the element and hide it with CSS if there are entries.
author Guido Berhoerster <guido+feed-preview@berhoerster.name>
date Tue, 27 Nov 2018 16:05:14 +0100
parents 5d7c13e998e9
children ff5e5e3eba32
line wrap: on
line diff
--- a/web_resources/feed-preview.xhtml	Tue Nov 27 11:11:15 2018 +0100
+++ b/web_resources/feed-preview.xhtml	Tue Nov 27 16:05:14 2018 +0100
@@ -44,9 +44,6 @@
         </ul>
       </footer>
     </template>
-    <template id="no-entries-hint-template">
-      <p id="no-entries-hint"></p>
-    </template>
     <template id="entry-file-template">
       <li class="entry-file"><a class="entry-file-link" href="" title=""></a>
       <span class="entry-file-info"></span></li>
@@ -55,5 +52,6 @@
       <h1 id="feed-title"></h1>
       <p id="feed-subtitle"></p>
     </header>
+    <p id="no-entries-hint"></p>
   </body>
 </html>