Skip to content

Commit

Permalink
Always display feed entries even when there is a feed error
Browse files Browse the repository at this point in the history
  • Loading branch information
fguillot committed Apr 3, 2019
1 parent f593dc8 commit 8ee1a09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion template/html/feed_entries.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ <h1>{{ .feed.Title }} ({{ .total }})</h1>
<h3>{{ t "alert.feed_error" }}</h3>
<p>{{ t .feed.ParsingErrorMsg }}</p>
</div>
{{ else if not .entries }}
{{ end }}

{{ if not .entries }}
{{ if .showOnlyUnreadEntries }}
<p class="alert">{{ t "alert.no_unread_entry" }}</p>
{{ else }}
Expand Down
6 changes: 4 additions & 2 deletions template/views.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8ee1a09

Please sign in to comment.