Commit 9e0f4b71 authored by Curtis Adam's avatar Curtis Adam

Add a tooltip to the author name

parent 2db92079
...@@ -1258,6 +1258,12 @@ ...@@ -1258,6 +1258,12 @@
"all": "Alle", "all": "Alle",
"bonus": "Mit Lern-Bonus", "bonus": "Mit Lern-Bonus",
"transcriptBonus": "Mit Mitschreib-Bonus" "transcriptBonus": "Mit Mitschreib-Bonus"
},
"author": {
"tooltip": {
"cardset": "Nach Autor/in \"__name__\" filtern",
"rep": "Nach Editor/in \"__name__\" filtern"
}
} }
}, },
"infinite-scroll": { "infinite-scroll": {
......
...@@ -1260,6 +1260,12 @@ ...@@ -1260,6 +1260,12 @@
"all": "Alle", "all": "Alle",
"bonus": "Mit Lern-Bonus", "bonus": "Mit Lern-Bonus",
"transcriptBonus": "Mit Mitschreib-Bonus" "transcriptBonus": "Mit Mitschreib-Bonus"
},
"author": {
"tooltip": {
"cardset": "Nach Autor/in \"__name__\" filtern",
"rep": "Nach Editor/in \"__name__\" filtern"
}
} }
}, },
"infinite-scroll": { "infinite-scroll": {
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
<div class="resultItemHeader authorProfile resultItemHeaderAuthor {{this.gridSize}} collapseButton {{getCardsetBackground <div class="resultItemHeader authorProfile resultItemHeaderAuthor {{this.gridSize}} collapseButton {{getCardsetBackground
this.difficulty this.cardType}}" this.difficulty this.cardType}}"
data-id="{{this.owner}}"> data-id="{{this.owner}}">
<a href="" data-id="{{this.owner}}">{{getAuthorName this.owner}}</a> <a href="" data-id="{{this.owner}}"
title="{{#if this.shuffled}}{{_ "filter-pool.author.tooltip.rep" name = (getAuthorName this.owner)}}{{else}}{{_
"filter-pool.author.tooltip.cardset" name = (getAuthorName this.owner)}}{{/if}}">{{getAuthorName
this.owner}}</a>
</div> </div>
</template> </template>
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