mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
[mobile] redesigned 'libs list' UI for shared/org/groups/group
This commit is contained in:
@@ -17,6 +17,7 @@ define([
|
||||
|
||||
template: _.template($('#organization-repos-tmpl').html()),
|
||||
reposHdTemplate: _.template($('#shared-repos-hd-tmpl').html()),
|
||||
mobileReposHdTemplate: _.template($('#shared-repos-hd-mobile-tmpl').html()),
|
||||
|
||||
initialize: function(options) {
|
||||
this.repos = new PubRepoCollection();
|
||||
@@ -77,7 +78,8 @@ define([
|
||||
},
|
||||
|
||||
renderReposHd: function() {
|
||||
this.$tableHead.html(this.reposHdTemplate());
|
||||
var tmpl = $(window).width() >= 768 ? this.reposHdTemplate : this.mobileReposHdTemplate;
|
||||
this.$tableHead.html(tmpl());
|
||||
},
|
||||
|
||||
reset: function() {
|
||||
|
Reference in New Issue
Block a user