integracija sa backendom - in progress

parent 06827be2
......@@ -56,16 +56,16 @@
</p-panel>
<p-panel class="p-col-6" header="Find out more">
<div *ngFor="let link of resource.links" >
<a href="{{link}}">{{link}}</a>
</div>
<div class="p-mt-2" *ngFor="let file of resource.fileNames" >
<div *ngFor="let file of resource.fileNames" >
<i class="pi pi-file p-mr-2" style="font-size: 2rem"></i>
<button pButton type="button" label="{{file}}" class="p-button-link button-link" (click)="downloadFile(file)"></button>
</div>
<div class="p-mt-2" *ngFor="let link of resource.links" >
<i class="pi pi-link p-mr-2" style="font-size: 2rem"></i>
<a href="{{link}}">{{link}}</a>
</div>
</p-panel>
<div class="p-col-12 p-pt-3 button-center">
<p-button label="Back to search" icon="pi pi-search" routerLink="/home" [loading]="false"></p-button>
</div>
......
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