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

Unified Diff: appengine/monorail/templates/framework/user-bar.ezt

Issue 1868553004: Open Source Monorail (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebase Created 4 years, 8 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/monorail/templates/framework/user-bar.ezt
diff --git a/appengine/monorail/templates/framework/user-bar.ezt b/appengine/monorail/templates/framework/user-bar.ezt
new file mode 100644
index 0000000000000000000000000000000000000000..29a6c2081b81c813344985e5144b50483880d08a
--- /dev/null
+++ b/appengine/monorail/templates/framework/user-bar.ezt
@@ -0,0 +1,14 @@
+<span style="padding: 0 1em">
+ [if-any logged_in_user]
+ <span id="account-menu" style="color:#0000cc">
+ <b><u>[logged_in_user.email]</u></b>
+ <small>&#9660;</small>
+ </span>
+ | <a href="[logged_in_user.profile_url]"
+ title="Profile, Updates, and Settings"
+ ><u>Profile</u></a>
+ | <a href="[logout_url]"><u>Sign out</u></a>
+ [else]
+ <a href="[login_url]"><u>Sign in</u></a>
+ [end]
+</span>

Powered by Google App Engine
This is Rietveld 408576698