fixed image/package price issues

This commit is contained in:
Dragos 2021-05-13 15:17:55 +03:00
parent 43d4fd72f9
commit 7fd17cecc9
6 changed files with 11 additions and 11 deletions

View File

@ -3,14 +3,14 @@
"", "",
"\\src", "\\src",
"\\src\\app", "\\src\\app",
"\\src\\app\\components\\nav-menu", "\\src\\app\\catalog\\packages",
"\\src\\app\\help", "\\src\\app\\instances",
"\\src\\app\\help\\help", "\\src\\app\\networking\\firewall-rule-editor",
"\\src\\app\\networking\\networks", "\\src\\app\\security\\helpers",
"\\src\\app\\volumes",
"\\src\\assets", "\\src\\assets",
"\\src\\assets\\help" "\\src\\assets\\i18n",
"\\src\\assets\\i18n\\networking"
], ],
"SelectedNode": "\\src\\assets\\help\\readme.md", "SelectedNode": "\\src\\app\\instances\\instances.component.html",
"PreviewInSolutionExplorer": false "PreviewInSolutionExplorer": false
} }

Binary file not shown.

Binary file not shown.

View File

@ -22,7 +22,7 @@
<span class="d-block"> <span class="d-block">
<span class="h3 text-uppercase"> <span class="h3 text-uppercase">
{{ pkg.name }} {{ pkg.name }}
<span class="price" *ngIf="pkg.price">{{ pkg.price | currency }}/h</span> <span class="price" *ngIf="pkg.price">{{ pkg.price | currency: 'USD': 'symbol': '1.0-2' }}/h</span>
<!--<small *ngIf="pkg.brand">{{ pkg.brand }}</small>--> <!--<small *ngIf="pkg.brand">{{ pkg.brand }}</small>-->
</span> </span>
<small class="text-faded pb-1 d-block"> <small class="text-faded pb-1 d-block">

View File

@ -63,13 +63,13 @@
<span class="d-block"> <span class="d-block">
<span class="h3"> <span class="h3">
{{ image.name }} {{ image.name }}
<span class="price" *ngIf="image.price">{{ image.price | currency }}</span> <span class="price" *ngIf="image.price">{{ image.price | currency: 'USD': 'symbol': '1.0-2' }}/month</span>
</span> </span>
<small class="text-faded pb-1 d-block">v<b>{{ image.version }}</b></small> <small class="text-faded pb-1 d-block">v<b>{{ image.version }}</b></small>
</span> </span>
<span class="small"> <span class="small">
<span class="text-faded align-middle">{{ image.description }}</span> <span class="text-faded align-middle">{{ image.description }}</span>
<a [href]="image.homepage" class="small" target="_blank"> <a *ngIf="image.homepage" [href]="image.homepage" class="small" target="_blank">
more more
<fa-icon icon="external-link-alt" size="sm"></fa-icon> <fa-icon icon="external-link-alt" size="sm"></fa-icon>
</a> </a>

View File

@ -101,7 +101,7 @@
<div class="row g-0"> <div class="row g-0">
<div class="card-info" [ngClass]="showMachineDetails ? 'col-lg-4' : 'col'"> <div class="card-info" [ngClass]="showMachineDetails ? 'col-lg-4' : 'col'">
<div> <div>
<h5 class="card-title text-truncate" [tooltip]="instance.name" container="body" placement="top" <h5 class="card-title text-truncate" [tooltip]="instance.name" container="body" placement="top left"
[adaptivePosition]="false"> [adaptivePosition]="false">
{{ instance.name }} {{ instance.name }}
</h5> </h5>