listing out properties with exclamation mark icon in front of each
This commit is contained in:
@@ -10,6 +10,7 @@ function DataTypeDeleteController($scope, dataTypeResource, treeService, navigat
|
||||
|
||||
var vm = this;
|
||||
|
||||
vm.propertyJoinSeparator = ', <i class="icon-alert red"></i>';
|
||||
vm.hasReferences = false;
|
||||
vm.references = [];
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<tbody>
|
||||
<tr ng-repeat="relation in vm.references.documentTypes">
|
||||
<td><span title="{{::relation.name}}({{::relation.alias}})"><i class="umb-table-body__icon {{relation.icon}}"></i>{{::relation.name}}</span></td>
|
||||
<td><span class="red"><i class="icon-alert red"></i>{{::relation.properties | CMS_joinArray:', ':'name'}}</span></td>
|
||||
<td><p><span class="red" ng-repeat="property in relation.properties"><i class="icon-alert red"></i>{{::property.name}}{{$last ? '' : ', '}}</span></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -75,7 +75,7 @@
|
||||
<tbody>
|
||||
<tr ng-repeat="relation in vm.references.mediaTypes">
|
||||
<td><span title="{{::relation.name}}({{::relation.alias}})"><i class="umb-table-body__icon {{relation.icon}}"></i>{{::relation.name}}</span></td>
|
||||
<td><span class="red"><i class="icon-alert red"></i>{{::relation.properties | CMS_joinArray:', ':'name'}}</span></td>
|
||||
<td><p><span class="red" ng-repeat="property in relation.properties"><i class="icon-alert red"></i>{{::property.name}}{{$last ? '' : ', '}}</span></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -99,7 +99,7 @@
|
||||
<tbody>
|
||||
<tr ng-repeat="relation in vm.references.memberTypes">
|
||||
<td><span title="{{::relation.name}}({{::relation.alias}})"><i class="umb-table-body__icon {{relation.icon}}"></i>{{::relation.name}}</span></td>
|
||||
<td><span class="red"><i class="icon-alert red"></i>{{::relation.properties | CMS_joinArray:', ':'name'}}</span></td>
|
||||
<td><p><span class="red" ng-repeat="property in relation.properties"><i class="icon-alert red"></i>{{::property.name}}{{$last ? '' : ', '}}</span></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user