mirror of https://github.com/zulip/zulip.git
Make settings.LOCALSERVER available as `localserver` inside templates
(imported from commit 4f0cfd1f1015061942f603cbc03a253a713a9f83)
This commit is contained in:
parent
0bc5b13648
commit
70e161db01
|
@ -6,6 +6,7 @@ import ujson
|
|||
def add_settings(request):
|
||||
return {
|
||||
'full_navbar': settings.FULL_NAVBAR,
|
||||
'localserver': settings.LOCALSERVER,
|
||||
}
|
||||
|
||||
def add_metrics(request):
|
||||
|
|
Loading…
Reference in New Issue