mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 15:53:28 +00:00
[system admin] remove 'file search'
This commit is contained in:
@@ -46,9 +46,12 @@
|
||||
{% block header_right %}
|
||||
{% if request.user.is_authenticated %}
|
||||
<div class="fright">
|
||||
|
||||
{% block top_search %}
|
||||
{% if has_file_search %}
|
||||
{% include 'snippets/search_form.html' %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
<div id="account" class="fright">
|
||||
|
@@ -1,6 +1,8 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block top_search %}{% endblock %} {# no 'file search' for system admin pages #}
|
||||
|
||||
{% block admin_link %}
|
||||
<a href="{{ SITE_ROOT }}" title="{% trans "Exit admin panel" %}" class="item">{% trans "Exit admin panel" %}</a>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user