bookmark_entries.html 1.2 KB

123456789101112131415161718192021222324252627282930
  1. {{ define "title"}}{{ t "page.starred.title" }} ({{ .total }}){{ end }}
  2. {{ define "content"}}
  3. <section class="page-header">
  4. <h1>{{ t "page.starred.title" }} ({{ .total }})</h1>
  5. </section>
  6. {{ if not .entries }}
  7. <p class="alert alert-info">{{ t "alert.no_bookmark" }}</p>
  8. {{ else }}
  9. <div class="items">
  10. {{ range .entries }}
  11. <article class="item touch-item item-status-{{ .Status }}" data-id="{{ .ID }}">
  12. <div class="item-header">
  13. <span class="item-title">
  14. {{ if ne .Feed.Icon.IconID 0 }}
  15. <img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" alt="{{ .Feed.Title }}">
  16. {{ end }}
  17. <a href="{{ route "starredEntry" "entryID" .ID }}">{{ .Title }}</a>
  18. </span>
  19. <span class="category"><a href="{{ route "categoryEntries" "categoryID" .Feed.Category.ID }}">{{ .Feed.Category.Title }}</a></span>
  20. </div>
  21. {{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry }}
  22. </article>
  23. {{ end }}
  24. </div>
  25. {{ template "pagination" .pagination }}
  26. {{ end }}
  27. {{ end }}