mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Merge branch 'staff/credits-update-leo' into 'dev'
Staff/credits update leo See merge request crafty-controller/crafty-commander!184
This commit is contained in:
commit
7f8960aed3
@ -301,7 +301,12 @@ class PanelHandler(BaseHandler):
|
||||
timestamp = credits_dict["lastUpdate"] / 1000.0
|
||||
page_data["patrons"] = credits_dict["patrons"]
|
||||
page_data["staff"] = credits_dict["staff"]
|
||||
page_data["translations"] = credits_dict["translations"]
|
||||
|
||||
# Filter Language keys to exclude joke prefix '*'
|
||||
clean_dict = {user.replace('*', ''): translation for user, translation in credits_dict['translations'].items()}
|
||||
page_data["translations"] = clean_dict
|
||||
|
||||
# 0 Defines if we are using local credits file andd displays sadcat.
|
||||
if timestamp == 0:
|
||||
page_data["lastUpdate"] = '😿'
|
||||
else:
|
||||
|
@ -82,6 +82,14 @@
|
||||
"tags": [ "Staff", [ "Developer", "https://gitlab.com/qub3d" ], "Wiki" ],
|
||||
"blurb": "Hosts Minecraft servers for his weird friends, works for an IoT company as his dayjob. The 's' in IoT stands for 'secure'.",
|
||||
"pic": "/static/assets/images/credits/qub3d.png"
|
||||
},
|
||||
{
|
||||
"name": "DarthLeo",
|
||||
"title": "Support Engineer",
|
||||
"loc": "East Coast, US",
|
||||
"tags": [ "Staff", null, "Discord" ],
|
||||
"blurb": "Just a simple gamer.",
|
||||
"pic": "/static/assets/images/credits/darthLeo.png"
|
||||
}
|
||||
],
|
||||
"retired": [
|
||||
|
BIN
app/frontend/static/assets/images/credits/darthLeo.png
Normal file
BIN
app/frontend/static/assets/images/credits/darthLeo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 83 KiB |
Loading…
Reference in New Issue
Block a user