mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-03-21 17:24:33 -05:00
Add back scores link on danevo profile now that it's available.
This commit is contained in:
parent
e9070d9a13
commit
5de55fef39
|
|
@ -33,7 +33,7 @@ config = Config()
|
|||
|
||||
|
||||
# Allow cache-busting of entire frontend for major changes such as react upgrades.
|
||||
FRONTEND_CACHE_BUST: str = "site.1.3.react.16.14"
|
||||
FRONTEND_CACHE_BUST: str = "site.1.3.react.16.15"
|
||||
|
||||
|
||||
@app.before_request
|
||||
|
|
|
|||
|
|
@ -282,6 +282,7 @@ def viewplayer(userid: UserID) -> Response:
|
|||
{
|
||||
"refresh": url_for("danevo_pages.listplayer", userid=userid),
|
||||
"records": url_for("danevo_pages.viewrecords", userid=userid),
|
||||
"scores": url_for("danevo_pages.viewscores", userid=userid),
|
||||
},
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -64,6 +64,11 @@ var profile_view = createReactClass({
|
|||
<span>view your records</span> :
|
||||
<span>view {player.name}'s records</span>
|
||||
}</a>
|
||||
<span className="separator">·</span>
|
||||
<a href={Link.get('scores')}>{ window.own_profile ?
|
||||
<span>view all your scores</span> :
|
||||
<span>view all {player.name}'s scores</span>
|
||||
}</a>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user