Set the listview row item to 'inactive' if the item isTrashed.

(As media items do not have a published state.)
This commit is contained in:
leekelleher
2014-06-08 16:45:22 +01:00
parent f056d3fae7
commit 2ff1c973e0

View File

@@ -73,7 +73,7 @@
<input type="checkbox" ng-model="result.selected"></td>
<td>
<a ng-class="{inactive: entityType === 'content' && !result.published}" href="#/{{entityType}}/{{entityType}}/edit/{{result.id}}">{{result.name}}</a></td>
<a ng-class="{inactive: (entityType === 'content' && !result.published) || isTrashed}" href="#/{{entityType}}/{{entityType}}/edit/{{result.id}}">{{result.name}}</a></td>
<td>{{result.updateDate|date:'medium'}}
<!--<<span class="label label-success">Publish</span>-->
</td>