From c3249937860ac9fb611ce1af346e8d4db81916d7 Mon Sep 17 00:00:00 2001 From: zhengxie Date: Sat, 27 Jun 2015 11:14:23 +0800 Subject: [PATCH] Remove user message feature --- seahub/message/templates/message/user_msg_list.html | 3 --- seahub/profile/templates/profile/user_profile.html | 10 ---------- seahub/templates/home_base.html | 1 - seahub/templates/js/templates.html | 1 - 4 files changed, 15 deletions(-) diff --git a/seahub/message/templates/message/user_msg_list.html b/seahub/message/templates/message/user_msg_list.html index df72d1044f..59d59cef4d 100644 --- a/seahub/message/templates/message/user_msg_list.html +++ b/seahub/message/templates/message/user_msg_list.html @@ -99,7 +99,6 @@ {% endif %} -{% include 'snippets/add_to_contacts_form.html' %} {% endblock %} {% block extra_script %}{{block.super}} @@ -280,6 +279,4 @@ $('.msg-main .op', context).hover( bind_del($('.msg')); -{% include 'snippets/add_to_contacts_js.html' %} - {% endblock %} diff --git a/seahub/profile/templates/profile/user_profile.html b/seahub/profile/templates/profile/user_profile.html index 00e518fffc..61b30e0586 100644 --- a/seahub/profile/templates/profile/user_profile.html +++ b/seahub/profile/templates/profile/user_profile.html @@ -23,11 +23,6 @@ {% avatar "" 80 %} {% endif %} - -{% if user %} - -{% endif %} - {% endblock %} {% block right_panel %} @@ -53,10 +48,5 @@ {% block extra_script %} {% endblock %} diff --git a/seahub/templates/home_base.html b/seahub/templates/home_base.html index 338e8ca099..549c2e2237 100644 --- a/seahub/templates/home_base.html +++ b/seahub/templates/home_base.html @@ -21,7 +21,6 @@
  • {% trans "Personal Wiki" %}
  • {% endif %} {% endfor %} -
  • {% trans "Messages" %}
  • {% trans "Devices" %}
  • diff --git a/seahub/templates/js/templates.html b/seahub/templates/js/templates.html index 430737db08..aadec58b8f 100644 --- a/seahub/templates/js/templates.html +++ b/seahub/templates/js/templates.html @@ -518,7 +518,6 @@ <% } %> <% } %> -
  • {% trans "Messages" %}
  • {% trans "Devices" %}