Commit 6ba9dd32 authored by Evren Kutar's avatar Evren Kutar

dirty fix for template after links added

parent 4f104469
...@@ -32,14 +32,13 @@ ...@@ -32,14 +32,13 @@
</label> </label>
</td> </td>
<th scope="row" style="text-align:center">{{$index}}</th> <th scope="row" style="text-align:center">{{$index}}</th>
<td ng-repeat="k in object track by $index" ng-if="nobjects[0]=='-1' && $index>0"> <!-- below 2 of object will not be listed there for ng repeat loops 2 less -->
<!--<a ng-href="#/crud/detail/{{model}}/{{form_params.param}}/{{form_params.id}}/{{object[0]}}">{{object[1]}}</a>--> <td ng-repeat="k in object track by $index" ng-if="nobjects[0]=='-1' && $index>1">
<a ng-href="{{object[2].detailLink}}">{{object[1]}}</a> <a ng-href="{{object[2].detailLink}}">{{object[1]}}</a>
</td> </td>
<td ng-repeat="(key,value) in object track by $index" ng-if="nobjects[0]!='-1' && $index>0"> <td ng-repeat="(key,value) in object track by $index" ng-if="nobjects[0]!='-1' && $index>1">
<a ng-href="{{object[2].detailLink}}" <a ng-href="{{object[2].detailLink}}" ng-if="$index==1">{{object[key]}}</a>
ng-if="$index==1">{{object[key]}}</a>
<span ng-if="$index!=1">{{object[key]}}</span> <span ng-if="$index!=1">{{object[key]}}</span>
</td> </td>
<td> <td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment