Project

General

Profile

Download (2.78 KB) Statistics
| Branch: | Tag: | Revision:
<div class="details details-full">

<div class="details-header">
<input type="text"
class="form-control filter-input"
placeholder="{{ 'Filter' | translate }}"
ng-model="filterTerm"/>
</div>

<table class="table table-striped table-bordered" alch-table="table" ng-class="{'table-mask': table.working}">
<thead>
<tr alch-table-head>
<th alch-table-column>{{ "Version" | translate }}</th>
<th alch-table-column>{{ "Status" | translate }}</th>
<th alch-table-column>{{ "Environments" | translate }}</th>
<th alch-table-column>{{ "Content" | translate }}</th>
<th alch-table-column>{{ "Published" | translate }}</th>
<th alch-table-column>{{ "Author" | translate }}</th>
<th class="col-sm-1" alch-table-column>{{ "Actions" | translate }}</th>
</tr>
</thead>

<tbody>
<tr alch-table-row ng-repeat="version in versions | filter:filterTerm">
<td alch-table-cell translate>Version {{ version.version }}</td>
<td alch-table-cell >
<a ui-sref="content-views.details.history">

<div ng-hide="version.active_history.length === 0"
ng-class="{ active: (version.task.state === 'pending' || version.task.state === 'running') }"
class="progress progress-striped">
<span progressbar animate="false" value="version.task.progressbar.value" type="{{version.task.progressbar.type}}"></span>
</div>
{{ status(version) }}
</a>
</td>
<td alch-table-cell>
<li ng-repeat="environment in version.environments">
{{ environment.name }}
</li>
</td>
<td alch-table-cell>
<div translate>
{{ version.package_count || 0 }} Packages
</div>
<div translate>
{{ version.errata_count || 0 }} Errata
<span>(</span>
<span><i class="icon-warning-sign inline-icon"></i>{{ version.errata_counts.security || 0 }}</span>
<span><i class="icon-bug inline-icon"></i>{{ version.errata_counts.bugfix || 0 }}</span>
<span><i class="icon-plus-sign-alt inline-icon"></i>{{ version.errata_counts.enhancement || 0 }}</span>
<span>)</span>
</div>
</td>
<td alch-table-cell>{{ version.created_at | date:"short" }}</td>
<td alch-table-cell>{{ version.user }}</td>
<td class="col-sm-1">
<a ui-sref="content-views.details.promotion({contentViewId: contentView.id, versionId: version.id})">
<button>
<i class="icon-share-alt"></i>
<span translate>
Promote
</span>
</button>
</a>
</td>
</tr>
</tbody>
</table>

</div>
(11-11/11)