From 5a8545a86805d16c6b077af93b0c8b8596b1c68e Mon Sep 17 00:00:00 2001 From: Ilya Shakhat Date: Wed, 8 Oct 2014 15:23:24 +0400 Subject: [PATCH] Fix user profile block and add gerrit_id field Change-Id: Icb066f967239903a63e5f7c86664bd76df90583e --- stackalytics/dashboard/templates/_macros/user_profile.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/stackalytics/dashboard/templates/_macros/user_profile.html b/stackalytics/dashboard/templates/_macros/user_profile.html index 4153401a5..70fe1c20a 100644 --- a/stackalytics/dashboard/templates/_macros/user_profile.html +++ b/stackalytics/dashboard/templates/_macros/user_profile.html @@ -29,10 +29,13 @@ [how to change] - {%if launchpad_id != '' %} + {%if launchpad_id %}
Launchpad: ${launchpad_id}
{%/if%} - {%if core != '' %} + {%if gerrit_id %} +
Gerrit: ${gerrit_id}
+ {%/if%} + {%if core %}
Core in: {%each( index, value ) core %} ${value[0]}