mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 15:38:15 +00:00
update
This commit is contained in:
19
static/scripts/sysadmin-app/models/trash-repo.js
Normal file
19
static/scripts/sysadmin-app/models/trash-repo.js
Normal file
@@ -0,0 +1,19 @@
|
||||
define([
|
||||
'underscore',
|
||||
'backbone',
|
||||
'common'
|
||||
], function(_, Backbone, Common) {
|
||||
'use strict';
|
||||
|
||||
var TrashRepo = Backbone.Model.extend({
|
||||
getIconUrl: function(size) {
|
||||
return Common.getLibIconUrl(false, false, size);
|
||||
},
|
||||
|
||||
getIconTitle: function() {
|
||||
return gettext("Read-Write library");
|
||||
}
|
||||
});
|
||||
|
||||
return TrashRepo;
|
||||
});
|
Reference in New Issue
Block a user