fix downvote
This commit is contained in:
parent
7851bd691e
commit
8cc7978954
@ -11,12 +11,12 @@
|
|||||||
<mat-icon inline="true">thumb_up</mat-icon>
|
<mat-icon inline="true">thumb_up</mat-icon>
|
||||||
</a>
|
</a>
|
||||||
<span *ngIf="entry.metadata && entry.metadata.vote"> </span>
|
<span *ngIf="entry.metadata && entry.metadata.vote"> </span>
|
||||||
<a *ngIf="entry.metadata && entry.metadata.unvote" href="javascript:" (click)="voteDown(entry.id)"
|
<a *ngIf="entry.metadata && entry.metadata.downvote" href="javascript:" (click)="voteDown(entry.id)"
|
||||||
matTooltip="{{'vote.down' | i18n}}">
|
matTooltip="{{'vote.down' | i18n}}">
|
||||||
<mat-icon inline="true">thumb_down</mat-icon>
|
<mat-icon inline="true">thumb_down</mat-icon>
|
||||||
</a>
|
</a>
|
||||||
<span *ngIf="entry.metadata && entry.metadata.downvote"> </span>
|
<span *ngIf="entry.metadata && entry.metadata.downvote"> </span>
|
||||||
<span class="voted" *ngIf="entry.metadata && entry.metadata.downvote">
|
<span class="voted" *ngIf="entry.metadata && entry.metadata.unvote">
|
||||||
<mat-icon *ngIf="entry.metadata && entry.metadata.upvoted" inline="true">thumb_up</mat-icon>
|
<mat-icon *ngIf="entry.metadata && entry.metadata.upvoted" inline="true">thumb_up</mat-icon>
|
||||||
<mat-icon *ngIf="entry.metadata && entry.metadata.downvoted" inline="true">thumb_down</mat-icon>
|
<mat-icon *ngIf="entry.metadata && entry.metadata.downvoted" inline="true">thumb_down</mat-icon>
|
||||||
<span> </span>
|
<span> </span>
|
||||||
|
Loading…
Reference in New Issue
Block a user