mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 07:01:12 +00:00
update user permission
1. update user generate share/upload link permission 2. update user connect iso/android/desktop clients permission
This commit is contained in:
@@ -108,7 +108,7 @@ define([
|
||||
},
|
||||
|
||||
render: function() {
|
||||
this.$el.html(this.template());
|
||||
this.$el.html(this.template({'can_generate_upload_link': app.pageOptions.can_generate_upload_link}));
|
||||
this.$table = this.$('table');
|
||||
this.$sortByNameIcon = this.$('.by-name .sort-icon');
|
||||
this.$sortByTimeIcon = this.$('.by-time .sort-icon');
|
||||
@@ -145,10 +145,10 @@ define([
|
||||
err_msg = gettext("Permission error");
|
||||
} else {
|
||||
err_msg = gettext("Error");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
err_msg = gettext('Please check the network.');
|
||||
}
|
||||
}
|
||||
$error.html(err_msg).show();
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user