mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-15 12:10:23 +00:00
[AB-xxx] adapting templates for leaderboard focus feature
This commit is contained in:
@@ -12,9 +12,11 @@
|
|||||||
<@userDisplay user=user />
|
<@userDisplay user=user />
|
||||||
|
|
||||||
</#list>
|
</#list>
|
||||||
|
<#assign showPlacement=showPlacement>
|
||||||
<@safe_include "leaderboard_own_placement"/>:
|
<#if showPlacement>
|
||||||
<@userDisplay user=userExecuting />
|
<@safe_include "leaderboard_own_placement"/>:
|
||||||
|
<@userDisplay user=userExecuting />
|
||||||
|
</#if>
|
||||||
",
|
",
|
||||||
"footer": {
|
"footer": {
|
||||||
"text": "<@safe_include "leaderboard_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