Thai Tran 6b13c34d2c Queue and Subscriptions file renames
This patch renames the ambiguous file names so that we can easily
distinguish between subscription and queue files.

Change-Id: If3a0bad3d07026154b30cc217d4974051af63047
2016-06-27 11:07:13 -07:00

29 lines
834 B
HTML

<table class="table tabler-inner"
ng-controller="horizon.dashboard.project.queues.table.subscriptionController as subCtrl">
<thead>
<tr>
<th translate>Subscriber</th>
<th translate>Time to Live</th>
<th translate>Options</th>
<th translate>Actions</th>
</tr>
</thead>
<tbody>
<tr ng-if="subCtrl.queuesMap[q.name].subscriptions.length === 0">
<td colspan="100">No subscribers to show.</td>
</tr>
<tr ng-repeat="sub in subCtrl.queuesMap[q.name].subscriptions">
<td>{$ sub.subscriber $}</td>
<td>{$ sub.ttl $}</td>
<td>{$ sub.options $}</td>
<td>
<button class="btn btn-xs btn-danger"
ng-click="subCtrl.deleteSubscription(q, sub)">
<span class="fa fa-trash"></span>
</button>
</td>
</tr>
</tbody>
</table>