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

Unified Diff: appengine/swarming/templates/root.html

Issue 2047753002: Add hack to enable multilogin. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: appengine/swarming/templates/root.html
diff --git a/appengine/swarming/templates/root.html b/appengine/swarming/templates/root.html
index 4b484009f879a829ba599f307061ba1e33f0d183..8833567028591783137414d84647d569e79a7550 100644
--- a/appengine/swarming/templates/root.html
+++ b/appengine/swarming/templates/root.html
@@ -54,10 +54,10 @@
</div>
<p>
- {% if not nickname %}
- Please <a href="{{signin_link|safe}}">sign in</a> for more access.
- {% else %}
+ {% if user_type %}
As a {{user_type}}, you are entitled to see these pages:
+ {% else %}
+ Please <a href="{{signin_link|safe}}">sign in</a> for more access.
{% endif %}
<h3>Service Status</h3>
« appengine/swarming/templates/base.html ('K') | « appengine/swarming/templates/base.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698