1
0
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:
lian
2016-08-22 11:20:08 +08:00
parent f75d6a0dcb
commit fd917c0007
26 changed files with 162 additions and 130 deletions

View File

@@ -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();
}
});