style bug fixed in descriptor
This commit is contained in:
parent
34953e3a71
commit
c9ff880591
|
@ -1,4 +1,4 @@
|
|||
<vn-card margin-large-v>
|
||||
<vn-card margin-medium-v>
|
||||
<vn-vertical>
|
||||
<vn-auto class="descriptor-header pointer" ui-sref="clients">
|
||||
<i class="material-icons">person</i>
|
||||
|
@ -8,7 +8,7 @@
|
|||
<vn-horizontal ng-repeat="(field, title) in $ctrl.fieldsToShow" ng-if="$ctrl.client[field]">
|
||||
<strong vn-auto>{{::title}}:</strong>
|
||||
<vn-auto margin-small-left>
|
||||
<span ng-if="field.includes('credit')">{{::$ctrl.client[field] | number:2}} €</span>
|
||||
<span ng-if="field.includes('credit')">{{$ctrl.client[field] | number:2}} €</span>
|
||||
<span ng-if="!field.includes('credit')">{{::$ctrl.client[field]}}</span>
|
||||
</vn-auto>
|
||||
</vn-horizontal>
|
||||
|
|
|
@ -21,8 +21,7 @@ export default class Controller {
|
|||
});
|
||||
}
|
||||
}
|
||||
Controller.$inject = [
|
||||
'$translate'];
|
||||
Controller.$inject = ['$translate'];
|
||||
|
||||
ngModule.component('vnDescriptor', {
|
||||
template: require('./descriptor.html'),
|
||||
|
|
Loading…
Reference in New Issue