Skip to content

feat(maintainer-label): display maintainer label as author #174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/image/image-details-directive.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h2>
<div class="form-group">
<label class="col-sm-2 control-label"><span class="glyphicon glyphicon-user"></span> Author</label>
<div class="col-sm-10">
<p class="form-control-static">{{imageDetails.author}}</p>
<p class="form-control-static">{{imageDetails.labels.maintainer || imageDetails.author}}</p>
</div>
</div>
<div class="form-group" ng-if="imageDetails.comment">
Expand Down Expand Up @@ -65,7 +65,7 @@ <h2>
</p>
</div>
</div> -->

<!-- <div class="form-group">
<label class="col-sm-2 control-label"><span class="glyphicon glyphicon-compressed"></span> Size <small>(including base image sizes)</small></label>
<div class="col-sm-10">
Expand All @@ -78,7 +78,7 @@ <h2>
</button>
</p>
</div>
</div> -->
</div> -->
</form>
</tab>
<tab>
Expand Down
2 changes: 1 addition & 1 deletion app/tag/tag-list-directive.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</td>
<td><span ng-bind-html="tag.details.id | limitTo: 12"></span></td>
<td am-time-ago="tag.details.created"></td>
<td><span ng-bind-html="tag.details.author | linky"></span></td>
<td><span ng-bind-html="(tag.details.labels.maintainer || tag.details.author) | linky"></span></td>
<td ng-bind-html="tag.details.docker_version"></td>
<!-- <td><span ng-bind-html="tag.details.parent | limitTo: 12"></span></td> -->
<!-- <td>
Expand Down