Update top-repository.directive.html

fixed table title
This commit is contained in:
yhua123 2016-06-28 20:06:20 +08:00 committed by GitHub
parent 115947a618
commit 777755163b

View File

@ -1,16 +1,28 @@
<h4 class="page-header title-color underlined">// 'popular_repositories' | tr //</h4> <h4 class="page-header title-color underlined">// 'popular_repositories' | tr //</h4>
<div class="col-xs-4 col-md-12 up-table-pane"> <div class="col-xs-4 col-md-12">
<table class="table"> <div class="pane-split" id="up-pane">
<thead> <div class="sub-pane-split">
<th>// 'repository_name' | tr //</th><th>// 'count' | tr //</th><th>// 'creator' | tr //</th> <div class="table-head-container" style="width: 690px">
</thead> <table class="table table-pane table-header">
<tbody> <thead>
<tr> <th width="65%">// 'repository_name' | tr //</th>
<td colspan="5" height="120px" class="empty-hint" ng-if="vm.top10Repositories.length === 0"><h3 class="text-muted">// 'no_top_repositories' | tr //</h3></td> <th width="10%">// 'count' | tr //</th>
</tr> <th width="25%">// 'creator' | tr //</th>
<tr ng-if="vm.top10Repositories.length > 0" ng-repeat="t in vm.top10Repositories"> </thead>
<td>//t.name//</td><td>//t.count//</td><td>//t.creator === '' ? 'N/A' : t.creator //</td> </table>
</tr> </div>
</tbody> <div class="table-body-container" style="height: 150px; width: 690px">
</table> <table class="table table-pane">
</div> <tbody>
<tr>
<td colspan="5" height="120px" class="empty-hint" ng-if="vm.top10Repositories.length === 0"><h3 class="text-muted">// 'no_top_repositories' | tr //</h3></td>
</tr>
<tr ng-if="vm.top10Repositories.length > 0" ng-repeat="t in vm.top10Repositories">
<td>//t.name//</td><td>//t.count//</td><td>//t.creator === '' ? 'N/A' : t.creator //</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>