aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/webapp/apps/frontPageApp/person.html
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-17 22:56:32 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-17 22:56:32 +0100
commit20f0391fc5cc5e87f96f838767bed8b4d707928d (patch)
treea96a11db8d57845ca6b5534453a5a2f9d5c6daa7 /src/main/resources/webapp/apps/frontPageApp/person.html
parent4e75fdc85ff2a9e04d1820a3a2f8dc62e431295b (diff)
downloadesper-testing-20f0391fc5cc5e87f96f838767bed8b4d707928d.tar.gz
esper-testing-20f0391fc5cc5e87f96f838767bed8b4d707928d.tar.bz2
esper-testing-20f0391fc5cc5e87f96f838767bed8b4d707928d.tar.xz
esper-testing-20f0391fc5cc5e87f96f838767bed8b4d707928d.zip
o Adding "jenkins_users" to the JSON representation of a person.
o Showing the avatar on the person page too.
Diffstat (limited to 'src/main/resources/webapp/apps/frontPageApp/person.html')
-rwxr-xr-xsrc/main/resources/webapp/apps/frontPageApp/person.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/main/resources/webapp/apps/frontPageApp/person.html b/src/main/resources/webapp/apps/frontPageApp/person.html
index 189523c..5da1b20 100755
--- a/src/main/resources/webapp/apps/frontPageApp/person.html
+++ b/src/main/resources/webapp/apps/frontPageApp/person.html
@@ -3,12 +3,13 @@
<navbar/>
<div class="page-header">
- <h1>{{person.person.name}}</h1>
+ <h1><person-avatar person="person.person"></person-avatar> {{person.person.name}}</h1>
</div>
<ul class="nav nav-tabs">
<li ng-class="{active: mode == 'overview'}"><a ng-click="setMode('overview')">Overview</a></li>
<li ng-class="{active: mode == 'builds'}"><a ng-click="setMode('builds')">Builds</a></li>
+ <li ng-class="{active: mode == 'jenkins'}"><a ng-click="setMode('jenkins')">Jenkins</a></li>
</ul>
<div id="overview" ng-show="mode == 'overview'" class="row">
@@ -91,4 +92,14 @@
</tfoot>
</table>
</div>
+
+ <div id="jenkins" ng-show="mode == 'jenkins'">
+ <h3>Jenkins</h3>
+ <ul>
+ <li ng-repeat="user in jenkinsUsers">
+ <span ng-hide="user.uuid != null">Loading user: <code>{{user}}</code> -{{user.uuid != null}}-</span>
+ <span ng-show="user.uuid != null"><a href="{{user.absoluteUrl}}">{{user.absoluteUrl}}</a></span>
+ </li>
+ </ul>
+ </div>
</div>