Skip to content
Permalink
Browse files

Display the submitter of the override on the override page

fixes #485
  • Loading branch information...
pypingou committed Sep 7, 2015
1 parent 6c4ac0a commit e27c89eaa43af2c71f2ea44f39ef94f56b0394c7
Showing with 23 additions and 1 deletion.
  1. +23 −1 bodhi/templates/override.html
@@ -1,3 +1,4 @@
<%namespace name="util" module="bodhi.util"/>
<%inherit file="master.html"/>

<div class="row">
@@ -60,7 +61,7 @@ <h2 class="pull-left">New Override</span>
</div>
</div>

<div class="col-md-6">
<div class="col-md-3">
<div class="panel formpanel panel-default">
<div class="panel-heading clearfix">
<span class="pull-left">Expiration date</span>
@@ -76,6 +77,27 @@ <h2 class="pull-left">New Override</span>
</div>
</div>

<div class="col-md-3">
<div class="panel formpanel panel-default">
<div class="panel-heading clearfix">
<span class="pull-left">Submitter</span>
</div>
<div class="form-group noui text-left">
%if override is not UNDEFINED:
<a href="${request.route_url('user', name=override.submitter.name)}">
<img class="img-circle" src="${util.avatar(override.submitter.name, size=24)}"/>
${override.submitter.name}
</a>
%else:
<a href="${request.route_url('user', name=request.user.name)}">
<img class="img-circle" src="${util.avatar(request.user.name, size=24)}"/>
${request.user.name}
</a>
%endif
</div>
</div>
</div>

</div> <!-- end row -->

<div class="row">

0 comments on commit e27c89e

Please sign in to comment.
You can’t perform that action at this time.