Skip to content

Commit 3ffac2f

Browse files
authored
Merge pull request #160 from tstromberg/warning-header
warning message: Fix mismatched quote
2 parents 62dce02 + 96c8f70 commit 3ffac2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/site/page.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func (h *Handlers) collectionPage(ctx context.Context, id string, refresh bool)
7171
warning := ""
7272

7373
if time.Since(result.LatestInput) > h.warnAge {
74-
warning = fmt.Sprintf(`Service started %s ago, and is still downloading data. Data may be up to %s old and incomplete. Use <a href='https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache#Bypassing_cache">Shift-Reload</a> to force a data refresh.`, humanDuration(time.Since(h.startTime)), humanDuration(time.Since(result.LatestInput)))
74+
warning = fmt.Sprintf(`Service restarted %s ago, and is still downloading data. Data may be up to %s old and incomplete. You may use <a href="https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache#Bypassing_cache">Shift-Reload</a> to force a data refresh at any time.`, humanDuration(time.Since(h.startTime)), humanDuration(time.Since(result.LatestInput)))
7575
}
7676

7777
total := 0

0 commit comments

Comments
 (0)