Skip to content
Snippets Groups Projects
Commit 3d4580a7 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

Block: Fix template path in ng-include

parent 2b1baca4
No related branches found
No related tags found
No related merge requests found
......@@ -19,8 +19,7 @@
<ion-list class=" item-text-wrap no-padding-xs" ng-if="!loading">
<!-- header -->
<div class="item item-text-wrap" ng-class="{'item-thumbnail-left': formData.avatar}">
<img ng-src="{{formData.avatar.src}}" ng-if="formData.avatar">
<div class="item item-text-wrap" >
<h1 class="padding-top hidden-xs hidden-sm">{{'BLOCKCHAIN.VIEW.TITLE'|translate:formData}}</h1>
......@@ -139,7 +138,7 @@
<div class="padding-bottom item-icon-left-padding item-icon-right-padding" ng-if="formData.identitiesCount">
<ion-item ng-repeat="identity in ::formData.identities"
class="item-border-large item-small-height"
ng-include="'/templates/blockchain/link_identity.html'">
ng-include="'templates/blockchain/link_identity.html'">
</ion-item>
</div>
</ng-if>
......@@ -156,7 +155,7 @@
<div class="padding-bottom item-icon-left-padding item-icon-right-padding" ng-if="formData.joinersCount">
<ion-item ng-repeat="identity in ::formData.joiners"
class="item-border-large item-small-height"
ng-include="'/templates/blockchain/link_identity.html'">
ng-include="'templates/blockchain/link_identity.html'">
</ion-item>
</div>
</ng-if>
......@@ -175,7 +174,7 @@
<div class="padding-bottom item-icon-left-padding item-icon-right-padding" ng-if="formData.activesCount">
<ion-item ng-repeat="identity in ::formData.actives"
class="item-border-large item-small-height"
ng-include="'/templates/blockchain/link_identity.html'">
ng-include="'templates/blockchain/link_identity.html'">
</ion-item>
</div>
</ng-if>
......@@ -194,7 +193,7 @@
<div class="padding-bottom item-icon-left-padding item-icon-right-padding" ng-if="formData.revokedCount">
<ion-item ng-repeat="identity in ::formData.revoked"
class="item-border-large item-small-height"
ng-include="'/templates/blockchain/link_identity.html'">
ng-include="'templates/blockchain/link_identity.html'">
</ion-item>
</div>
</ng-if>
......@@ -213,7 +212,7 @@
<div class="padding-bottom item-icon-left-padding item-icon-right-padding" ng-if="formData.leaversCount">
<ion-item ng-repeat="identity in ::formData.leavers"
class="item-border-large item-small-height"
ng-include="'/templates/blockchain/link_identity.html'">
ng-include="'templates/blockchain/link_identity.html'">
</ion-item>
</div>
</ng-if>
......@@ -232,7 +231,7 @@
<div class="padding-bottom item-icon-left-padding item-icon-right-padding" ng-if="formData.revokedCount">
<ion-item ng-repeat="identity in ::formData.revoked"
class="item-border-large item-small-height"
ng-include="'/templates/blockchain/link_identity.html'">
ng-include="'templates/blockchain/link_identity.html'">
</ion-item>
</div>
</ng-if>
......@@ -251,7 +250,7 @@
<div class="row no-padding">
<div class="col col-center no-padding">
<ng-repeat ng-repeat="cert in certs">
<ng-include src="'/templates/blockchain/link_identity.html'" onload="identity=cert.from"></ng-include>
<ng-include src="'templates/blockchain/link_identity.html'" onload="identity=cert.from"></ng-include>
<br/>
</ng-repeat>
</div>
......@@ -259,7 +258,7 @@
<h2><i class="icon ion-arrow-right-a" ></i></h2>
</div>
<div class="col col-40 col-center no-padding"
ng-include="'/templates/blockchain/link_identity.html'"
ng-include="'templates/blockchain/link_identity.html'"
onload="identity=certs[0].to">
</div>
</div>
......@@ -280,7 +279,7 @@
class="item item-small-height item-border-large">
<div class="row no-padding" style="padding-top: 3px;">
<div class="col col-40 no-padding">
<ng-include ng-repeat="identity in ::tx.issuers" src="'/templates/blockchain/link_identity.html'"></ng-include>
<ng-include ng-repeat="identity in ::tx.issuers" src="'templates/blockchain/link_identity.html'"></ng-include>
</div>
<div class="col col-10 gray text-center no-padding">
<h2><i class="icon ion-arrow-right-a"></i></h2>
......@@ -288,7 +287,7 @@
<!-- recipients -->
<div class="col no-padding padding-right no-padding-xs col-text-wrap">
<ng-repeat ng-repeat="output in ::tx.outputs">
<ng-include src="'/templates/blockchain/link_identity.html'" onload="identity=output"></ng-include>
<ng-include src="'templates/blockchain/link_identity.html'" onload="identity=output"></ng-include>
<span class="badge badge-balanced"
ng-bind-html="::output.amount | formatAmount:{currency: formData.currency, useRelative: false} "></span>
</ng-repeat>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment