diff options
Diffstat (limited to 'static')
-rw-r--r-- | static/ui.html | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/static/ui.html b/static/ui.html index 4f7e297..c28b1b2 100644 --- a/static/ui.html +++ b/static/ui.html @@ -34,20 +34,24 @@ <script id="item_template" type="text/jqtmp"> <h2><a target="_blank" class="i" id="i_${item_id}" href="${item.url}">${item.title }</a> - <span class={{if item.starred}}"unstar"{{else}}"star"{{/if}}>★</span></h2> + <span class={{if item.starred}}"unstar"{{else}}"star"{{/if}}>★</span> + <span class="full"> + {{if item.full}}▼{{else}}►{{/if}} + </span> + </h2> <p class="dateline" style="clear: both;"> ${ item.publish_date } from <a href="${item.feed_url}">${item.feed_title}</a> </p> - {{if item.header_image}} <div class="img"><img src="${item.header_image}" /></div> {{/if}} - <div class="description">{{html item.description}} - <p class="full">⫸</p> + <div class="description"> + {{if item.full}} + {{html item.full_content}} + {{else}} + {{html item.description}} + {{/if}} </div> - {{if item.full}} - <div class="description">{{html item.full_content}}</div> - {{/if}} </script> <script id="tag_template" type="text/jqtmp"> |