1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-10-21 10:51:17 +00:00

Do not show contacts tab

This commit is contained in:
lian
2015-06-17 18:20:32 +08:00
parent 7d3cadc1e9
commit be00d946d8
6 changed files with 0 additions and 15 deletions

View File

@@ -16,16 +16,9 @@ define([
},
render: function(cur_tab) {
var show_contacts_tab = false;
if (app.pageOptions.is_cloud_mode && !app.pageOptions.enable_global_addressbook) {
show_contacts_tab = true;
}
this.$el.html(this.template({
'mods_enabled': app.pageOptions.user_mods_enabled,
'can_add_repo': app.pageOptions.can_add_repo,
'show_contacts_tab': show_contacts_tab,
'events_enabled': app.pageOptions.events_enabled
}));
this.$el.find('li').removeClass('tab-cur');