socialnetworknews-web

A open-source Paper.li clone
git clone git://archive.git.mtrnord.blog/SocialNetworkNews/socialnetworknews-web.git
Log | Files | Refs | README | LICENSE

commit 8e0f45bc5a23e8bcfcca6ee9657df9c4f2f73316
parent 2f47e10a79710467ddda13f4afd6065994a2de9b
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 25 Mar 2018 12:01:17 +0200

Move link

Diffstat:
Msrc/app/papers-list/papers-list.component.html | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/app/papers-list/papers-list.component.html b/src/app/papers-list/papers-list.component.html @@ -1,6 +1,6 @@ <spinner spinner="spinner"></spinner> <div class="grid"> - <mat-card *ngFor="let item of data" routerLink="'/paper/'{{item.uuid}}"> + <mat-card *ngFor="let item of data"> <mat-card-header> <mat-card-title>{{item.name}}</mat-card-title> </mat-card-header> @@ -17,6 +17,9 @@ <mat-card-content> {{item.description}} </mat-card-content> + <mat-card-actions> + <button mat-button routerLink="'/paper/'{{item.uuid}}">OPEN</button> + </mat-card-actions> </mat-card> <!--<app-card [title]="item.name" [link]="'/paper/'+item.uuid" [image]="item.paper_image" [text]="item.description"></app-card>--> </div>