Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: milo/appengine/frontend/templates/buildbot/pages/error.html

Issue 2606813002: Add login url to 401 messages (Closed)
Patch Set: review Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {{define "title"}}Error: {{.Code}}{{end}} 1 {{define "title"}}Error: {{.Code}}{{end}}
2 2
3 {{define "head"}}{{end}} 3 {{define "head"}}{{end}}
4 4
5 {{define "body"}} 5 {{define "body"}}
6 <h1>Error: {{.Code}}</h1> 6 <h1>Error: {{.Code}}</h1>
7 {{ if .Message }} 7 {{ if eq .Code 401 }}
8 <div>You are not authenticated, please try <a href="{{.LoginURL}}">logging in< /a></div>
9 {{ else if .Message }}
8 <div>{{.Message}}</div> 10 <div>{{.Message}}</div>
9 {{ end }} 11 {{ end }}
10 <div>Request ID: {{.RequestID}}</div> 12 <div>Request ID: {{.RequestID}}</div>
11 {{end}} 13 {{end}}
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698