1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 06:33:48 +00:00

Merge pull request #1910 from haiwen/rm-search

[system admin] remove 'file search'
This commit is contained in:
Daniel Pan
2017-11-23 09:51:11 +08:00
committed by GitHub
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 %}