Merge and add tag descriptions for the latest image

This commit is contained in:
Joseph Schorr 2013-09-26 18:10:09 -04:00
commit 2e476625de
4 changed files with 44 additions and 11 deletions

View file

@ -2,7 +2,7 @@
No repository found
</div>
<div class="container" ng-show="repo">
<div class="container repo" ng-show="repo">
<!-- Repo Header -->
<div class="header">
<h3>
@ -11,7 +11,7 @@
</div>
<!-- Description -->
<p ng-class="'lead ' + (repo.can_write ? 'editable' : 'noteditable')" ng-click="editDescription()"><span class="content">{{repo.description}}</span><span class="glyphicon glyphicon-pencil"></span></p>
<p ng-class="'description lead ' + (repo.can_write ? 'editable' : 'noteditable')" ng-click="editDescription()"><span class="content">{{repo.description}}</span><span class="glyphicon glyphicon-pencil"></span></p>
<!-- Tab bar -->
<ul class="nav nav-tabs">
@ -31,9 +31,21 @@
<li><a href="javascript:void(0)">Image History</a></li>
</ul>
Loading...
<div id="current-image">
<dl class="dl-horizontal">
<dt>Created</dt>
<dd>{{ currentTag.image.created }}</dd>
<dt>ID</dt>
<dd>{{ currentTag.image.id }}</dd>
</dl>
<div ng-show="currentTag.image.comment">
<strong>Description:</strong>
<blockquote style="margin-top: 10px;">
{{ currentTag.image.comment || '' }}
</blockquote>
</div>
</div>
<!-- Modal edit for the description -->