forked from MarseyWorld/MarseyWorld
master
parent
19d1dd882e
commit
2d169789b5
|
@ -844,12 +844,3 @@ def settings_title_change(v):
|
|||
|
||||
g.db.add(v)
|
||||
return redirect("/settings/profile")
|
||||
|
||||
@app.post("/settings/badges")
|
||||
@auth_required
|
||||
@validate_formkey
|
||||
def settings_badge_recheck(v):
|
||||
|
||||
v.refresh_selfset_badges()
|
||||
|
||||
return {"message":"Badges Refreshed"}
|
||||
|
|
|
@ -586,19 +586,6 @@
|
|||
|
||||
</div>
|
||||
|
||||
<div class="body d-lg-flex border-bottom">
|
||||
<label class="text-black w-lg-25">Badges</label>
|
||||
|
||||
<div class="w-lg-100">
|
||||
<p><a href="/badges">Profile badges</a> show off all of your site achievements. If your badges look not quite up to date, use this tool to refresh them.</p>
|
||||
<div class="d-flex">
|
||||
<a class="btn btn-primary ml-auto" id="badgeUpdate" href="javascript:void(0)" onclick="post_toast('/settings/badges')">Refresh badges</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="d-lg-flex border-bottom">
|
||||
|
||||
<div class="title w-lg-25">
|
||||
|
|
Loading…
Reference in New Issue