comparison 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
comparison
equal deleted inserted replaced
8:c271192aac9d 9:fcd65cf3f634
42 <h2 class="entry-files-title"></h2> 42 <h2 class="entry-files-title"></h2>
43 <ul class="entry-files-list"> 43 <ul class="entry-files-list">
44 </ul> 44 </ul>
45 </footer> 45 </footer>
46 </template> 46 </template>
47 <template id="no-entries-hint-template">
48 <p id="no-entries-hint"></p>
49 </template>
50 <template id="entry-file-template"> 47 <template id="entry-file-template">
51 <li class="entry-file"><a class="entry-file-link" href="" title=""></a> 48 <li class="entry-file"><a class="entry-file-link" href="" title=""></a>
52 <span class="entry-file-info"></span></li> 49 <span class="entry-file-info"></span></li>
53 </template> 50 </template>
54 <header id="feed-header"> 51 <header id="feed-header">
55 <h1 id="feed-title"></h1> 52 <h1 id="feed-title"></h1>
56 <p id="feed-subtitle"></p> 53 <p id="feed-subtitle"></p>
57 </header> 54 </header>
55 <p id="no-entries-hint"></p>
58 </body> 56 </body>
59 </html> 57 </html>