remotes/1693045480750635534/spooky-22
Aevann1 2021-09-05 11:45:53 +02:00
parent 19d1dd882e
commit 2d169789b5
2 changed files with 1 additions and 23 deletions

View File

@ -843,13 +843,4 @@ def settings_title_change(v):
v.customtitle = filter_title(new_name)
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"}
return redirect("/settings/profile")

View File

@ -585,19 +585,6 @@
</div>
</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">