mirror of https://github.com/zulip/zulip.git
templates: Remove logout form shared template.
It's sufficiently tiny that the shared code benefits don't justify the cost, given that we plan to move index.html to a different templating system soon.
This commit is contained in:
parent
19fb6114d7
commit
75dbd2c80d
|
@ -177,7 +177,10 @@
|
|||
</div>
|
||||
</div>
|
||||
{% include "zerver/app/invite_user.html" %}
|
||||
{% include "zerver/app/logout.html" %}
|
||||
<div class="hidden">
|
||||
<form id="logout_form" action="/accounts/logout/" method="POST">{{ csrf_input }}
|
||||
</form>
|
||||
</div>
|
||||
{% include "zerver/app/deprecation_notice.html" %}
|
||||
{% include "zerver/app/about-zulip.html" %}
|
||||
<div id="user-profile-modal-holder"></div>
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
<div class="hidden">
|
||||
<form id="logout_form" action="/accounts/logout/" method="POST">{{ csrf_input }}
|
||||
</form>
|
||||
</div>
|
|
@ -11,7 +11,10 @@
|
|||
</a>
|
||||
</li>
|
||||
<li class="logout">
|
||||
{% include 'zerver/app/logout.html' %}
|
||||
<div class="hidden">
|
||||
<form id="logout_form" action="/accounts/logout/" method="POST">{{ csrf_input }}
|
||||
</form>
|
||||
</div>
|
||||
<a href="#logout">
|
||||
<i class="fa fa-sign-out"></i>
|
||||
Log out
|
||||
|
|
|
@ -62,6 +62,7 @@ def check_html_templates(templates: Iterable[str], all_dups: bool, fix: bool) ->
|
|||
"top_navbar",
|
||||
"id_email",
|
||||
"id_terms",
|
||||
"logout_form",
|
||||
"send_confirm",
|
||||
"register",
|
||||
"footer",
|
||||
|
|
Loading…
Reference in New Issue