Variable forum/killboard/media urls on index #140

- only rendered if set, otherwise link removed
This commit is contained in:
Adarnof
2016-01-05 23:56:27 +00:00
parent b31dcb7ac0
commit 87393b8529
3 changed files with 32 additions and 12 deletions

View File

@@ -44,4 +44,6 @@ def domain_url(request):
'TEAMSPEAK3_PUBLIC_URL': settings.TEAMSPEAK3_PUBLIC_URL,
'JACK_KNIFE_URL': settings.JACK_KNIFE_URL,
'DISCORD_SERVER_ID': settings.DISCORD_SERVER_ID,
'KILLBOARD_URL': settings.KILLBOARD_URL,
'MEDIA_URL': settings.MEDIA_URL,
'CURRENT_UTC_TIME': timezone.now()}