1
0
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:
llj
2017-11-20 16:56:59 +08:00
parent ed52ab67c3
commit 9ee0c56b3e
2 changed files with 5 additions and 0 deletions

View File

@@ -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">

View File

@@ -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 %}