Link to follower profile from administration (#1922)
authorNassim Bounouas <NassimBounouas@users.noreply.github.com>
Thu, 20 Jun 2019 09:38:41 +0000 (11:38 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 20 Jun 2019 09:38:41 +0000 (11:38 +0200)
* #1914 Link to follower profile from administration

* #1914 Link to follower profile opens in new tab

client/src/app/+admin/follows/followers-list/followers-list.component.html

index da0ba95e3f5a0f2d01e4a7f0a490349d4266b597..7d5711926bb1800eccb03ae65a6f861d3fc00853 100644 (file)
@@ -25,7 +25,7 @@
   <ng-template pTemplate="body" let-follow>
     <tr>
       <td>{{ follow.id }}</td>
-      <td>{{ follow.follower.name + '@' + follow.follower.host }}</td>
+      <td><a [href]="follow.follower.url" target="_blank" rel="noopener noreferrer">{{ follow.follower.name + '@' + follow.follower.host }}</a></td>
 
       <td *ngIf="follow.state === 'accepted'" i18n>Accepted</td>
       <td *ngIf="follow.state === 'pending'" i18n>Pending</td>