Skip to content
Snippets Groups Projects
Commit 09a28d7e authored by Carelle Djuffo Nzangue's avatar Carelle Djuffo Nzangue
Browse files

add tooltip to tagcloud pop-up

parent c191a39f
No related merge requests found
<div class="popupContainer">
<span>
<mat-icon>comment</mat-icon>
<mat-icon matTooltip="{{'tag-cloud.overview-question-topic-tooltip' | translate}}">comment</mat-icon>
<p>
{{tagData && tagData.comments.length}}
</p>
<mat-icon>person</mat-icon>
<mat-icon matTooltip="{{'tag-cloud.overview-questioners-topic-tooltip' | translate}}">person</mat-icon>
<p>
{{tagData && tagData.distinctUsers.size}}
</p>
<mat-icon>thumb_up</mat-icon>
<mat-icon matTooltip="{{'tag-cloud.upvote-topic' | translate}}">thumb_up</mat-icon>
<p>
{{tagData && tagData.cachedUpVotes}}
</p>
<mat-icon>thumb_down</mat-icon>
<mat-icon matTooltip="{{'tag-cloud.downvote-topic' | translate}}">thumb_down</mat-icon>
<p>
{{tagData && tagData.cachedDownVotes}}
</p>
<mat-icon>date_range</mat-icon>
<mat-icon matTooltip="{{'tag-cloud.period-since-first-comment' | translate}}">date_range</mat-icon>
<p>
{{timePeriodText}}
</p>
<button *ngIf="user && user.role >= 1" mat-button (click)="addBlacklistWord()">
<mat-icon>gavel</mat-icon>
<mat-icon matTooltip="{{'tag-cloud.blacklist-topic' | translate}}">gavel</mat-icon>
</button>
</span>
<div *ngIf="categories && categories.length">
......
......@@ -232,7 +232,13 @@
"tag-cloud": {
"config": "Wolkenansicht ändern",
"administration": "Wolkenthemen editieren",
"demo-data-topic": "Thema %d"
"demo-data-topic": "Thema %d",
"overview-question-topic-tooltip": "Anzahl gestellter Fragen mit diesem Thema",
"overview-questioners-topic-tooltip": "Anzahl Fragensteller*innen mit diesem Thema",
"period-since-first-comment":"Zeitraum seit erstem Kommentar",
"upvotes-topic": "Upvotes für dieses Thema",
"downvotes-topic": "Downvotes für dieses Thema",
"blacklist-topic": "Thema zur Blacklist hinzufügen"
},
"tag-cloud-popup": {
"few-seconds": "wenige Sekunden",
......
......@@ -238,7 +238,13 @@
"tag-cloud": {
"config": "Modify cloud view",
"administration": "Edit cloud topics",
"demo-data-topic": "Topic %d"
"demo-data-topic": "Topic %d",
"overview-question-topic-tooltip": "Number of questions with this topic",
"overview-questioners-topic-tooltip": "Number of questioners with this topic",
"period-since-first-comment":"Period since first comment",
"upvote-topic": "Upvotes for this topic",
"downvote-topic": "Downvotes for this topic",
"blacklist-topic": "Add topic to blacklist"
},
"tag-cloud-popup": {
"few-seconds": "few seconds",
......
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