From b0d6304852b944bc947148bb20a4ce13df50b151 Mon Sep 17 00:00:00 2001 From: llj Date: Fri, 17 Feb 2017 18:36:47 +0800 Subject: [PATCH] [mobile] side nav: modified for sysadmin-backbone pages & all non-backbone pages --- seahub/group/templates/group/group_base.html | 1 + seahub/help/templates/help/base.html | 1 + .../templates/institutions/base.html | 1 + .../templates/profile/set_profile.html | 1 + seahub/templates/base.html | 14 ++++++++ seahub/templates/home_base.html | 1 + seahub/templates/js/sysadmin-templates.html | 1 + seahub/templates/sysadmin/base.html | 1 + .../templates/sysadmin/sysadmin_backbone.html | 5 +-- static/scripts/sysadmin-app/views/side-nav.js | 34 ++++++++++++++++++- 10 files changed, 57 insertions(+), 3 deletions(-) diff --git a/seahub/group/templates/group/group_base.html b/seahub/group/templates/group/group_base.html index 6a2bff55eb..147ec6dbf8 100644 --- a/seahub/group/templates/group/group_base.html +++ b/seahub/group/templates/group/group_base.html @@ -7,6 +7,7 @@ {% block main_content %}
+ {% block left_panel %}

diff --git a/seahub/help/templates/help/base.html b/seahub/help/templates/help/base.html index 8388f9ca19..989b480b26 100644 --- a/seahub/help/templates/help/base.html +++ b/seahub/help/templates/help/base.html @@ -4,6 +4,7 @@ {% block main_content %}
+

{% trans "Desktop Client and Syncing" %}

  • {% trans "Install and sync Files" %}
  • diff --git a/seahub/institutions/templates/institutions/base.html b/seahub/institutions/templates/institutions/base.html index 80fed73282..44a01c57ae 100644 --- a/seahub/institutions/templates/institutions/base.html +++ b/seahub/institutions/templates/institutions/base.html @@ -8,6 +8,7 @@ {% block main_content %}
    + {% block left_panel %}

    {{ request.user.institution.name }}

      diff --git a/seahub/profile/templates/profile/set_profile.html b/seahub/profile/templates/profile/set_profile.html index 70c2fcba25..72993ed0e4 100644 --- a/seahub/profile/templates/profile/set_profile.html +++ b/seahub/profile/templates/profile/set_profile.html @@ -8,6 +8,7 @@