mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-03-08 08:55:24 +00:00
[AB-xxx] adapting templates for leaderboard focus feature
This commit is contained in:
@@ -12,9 +12,11 @@
|
||||
<@userDisplay user=user />
|
||||
|
||||
</#list>
|
||||
|
||||
<#assign showPlacement=showPlacement>
|
||||
<#if showPlacement>
|
||||
<@safe_include "leaderboard_own_placement"/>:
|
||||
<@userDisplay user=userExecuting />
|
||||
</#if>
|
||||
",
|
||||
"footer": {
|
||||
"text": "<@safe_include "leaderboard_footer"/>"
|
||||
|
||||
@@ -38,4 +38,14 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
<#if leaderboardUrl?has_content>
|
||||
,"buttons": [
|
||||
{
|
||||
"label": "<@safe_include "rank_leaderboard_button_label"/>",
|
||||
<#assign leaderboardUrl=leaderboardUrl>
|
||||
"url": "${leaderboardUrl}",
|
||||
"buttonStyle": "link"
|
||||
}
|
||||
]
|
||||
</#if>
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
Whether the leaderboard should show the rankings surrounding you. Overwrites page parameter
|
||||
@@ -1 +1 @@
|
||||
The page of the leaderboard you want to see.
|
||||
The page of the leaderboard you want to see. Overwritten by focus parameter.
|
||||
@@ -0,0 +1 @@
|
||||
User on leaderboard
|
||||
Reference in New Issue
Block a user