1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-22 17:18:37 +00:00

Avoid Javascript error if unable to download full contents

This commit is contained in:
Frédéric Guillot 2017-12-27 19:45:59 -08:00
parent c454f67037
commit cc0acabfe0
4 changed files with 14 additions and 12 deletions

View file

@ -67,9 +67,9 @@
<div class="panel">
<ul>
<li><strong>{{ t "Last checked:"}} </strong>{{ isodate .feed.CheckedAt }}</li>
<li><strong>{{ t "ETag header:"}} </strong>{{ if .feed.EtagHeader }}{{ .feed.EtagHeader }}{{ else }}{{ t "None" }}{{ end }}</li>
<li><strong>{{ t "LastModified header:"}} </strong>{{ if .feed.LastModifiedHeader }}{{ .feed.LastModifiedHeader }}{{ else }}{{ t "None" }}{{ end }}</li>
<li><strong>{{ t "Last checked:" }} </strong>{{ isodate .feed.CheckedAt }}</li>
<li><strong>{{ t "ETag header:" }} </strong>{{ if .feed.EtagHeader }}{{ .feed.EtagHeader }}{{ else }}{{ t "None" }}{{ end }}</li>
<li><strong>{{ t "LastModified header:" }} </strong>{{ if .feed.LastModifiedHeader }}{{ .feed.LastModifiedHeader }}{{ else }}{{ t "None" }}{{ end }}</li>
</ul>
</div>
{{ end }}