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

Unified Diff: appengine/isolate/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/isolate/templates/root.html
diff --git a/appengine/isolate/templates/root.html b/appengine/isolate/templates/root.html
index a74220b5503d2d0dcfc828772f6d73a480761846..3ee7d387c689e4fe7083083352e84a60365f02d7 100644
--- a/appengine/isolate/templates/root.html
+++ b/appengine/isolate/templates/root.html
@@ -35,10 +35,10 @@ href="https://github.com/luci/luci-py">LUCI</a>.
</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>

Powered by Google App Engine
This is Rietveld 408576698