Removed dbx_branding flag and Dropbox corner logo

(imported from commit d205898671643985e2de7c0d6d300bdca32cae21)
This commit is contained in:
Neeraj Wahi
2015-09-19 14:33:45 -07:00
parent cf1aff661c
commit 9f0a6272fa
3 changed files with 1 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

View File

@@ -1,7 +1,7 @@
<div class="header">
<div class="header-main rightside-userlist" id="top_navbar">
<div class="column-left">
<a class="brand logo" href="#"><img src="/static/images/logo/{% if dbx_branding %}dbx{% else %}zulip{% endif %}cornerlogo@2x.png" class="logoimage" alt="{{product_name}}" content="{{product_name}}" /></a>
<a class="brand logo" href="#"><img src="/static/images/logo/zulipcornerlogo@2x.png" class="logoimage" alt="{{product_name}}" content="{{product_name}}" /></a>
</div>
<div class="column-middle" id="navbar-middle">
<div class="column-middle-inner">

View File

@@ -1058,12 +1058,7 @@ def home(request):
if page_params['domain'] == "zulip.com" and settings.ZULIP_COM_STAGING:
send_to_prod = True
dbx_branding = False
product_name = "Zulip"
if page_params['domain'] == "zulip.com":
dbx_branding = True
product_name = "Dropbox Chat"
page_params['product_name'] = product_name
request._log_data['extra'] = "[%s]" % (register_ret["queue_id"],)
response = render_to_response('zerver/index.html',
@@ -1079,7 +1074,6 @@ def home(request):
'enable_feedback': settings.ENABLE_FEEDBACK,
'embedded': narrow_stream is not None,
'send_to_prod': send_to_prod,
'dbx_branding': dbx_branding,
'product_name': product_name
},
context_instance=RequestContext(request))