1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 19:29:56 +00:00

[shared with all, group, groups] mobile: improvement (#3874)

* added component libs-mobile-thead.js
This commit is contained in:
llj
2019-07-18 20:21:50 +08:00
committed by Daniel Pan
parent d5ad9ea67c
commit 168c0992a7
7 changed files with 60 additions and 37 deletions

View File

@@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
import MediaQuery from 'react-responsive';
import { gettext, storages } from '../../utils/constants';
import MylibRepoListItem from './mylib-repo-list-item';
import LibsMobileThead from '../../components/libs-mobile-thead';
const propTypes = {
sortBy: PropTypes.string.isRequired,
@@ -101,13 +102,7 @@ class MylibRepoListView extends React.Component {
renderMobileUI = () => {
return (
<table className="table-thead-hidden">
<thead>
<tr>
<th width="12%"><span className="sr-only">{gettext('Library Type')}</span></th>
<th width="80%"></th>
<th width="8%"><span className="sr-only">{gettext('Actions')}</span></th>
</tr>
</thead>
<LibsMobileThead />
<tbody>
{this.renderRepoListView()}
</tbody>