1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

[share dialog] improvements (#4540)

This commit is contained in:
llj
2020-04-21 19:56:28 +08:00
committed by GitHub
parent 7674283a1d
commit bb716b9acc
4 changed files with 24 additions and 30 deletions

View File

@@ -287,16 +287,19 @@ class ShareToGroup extends React.Component {
}
render() {
const thead = (
<thead>
<tr>
<th width="47%">{gettext('Group')}</th>
<th width="35%">{gettext('Permission')}</th>
<th width="18%"></th>
</tr>
</thead>
);
return (
<Fragment>
<table className="w-xs-200">
<thead>
<tr>
<th width="50%">{gettext('Group')}</th>
<th width="35%">{gettext('Permission')}</th>
<th width="15%"></th>
</tr>
</thead>
{thead}
<tbody>
<tr>
<td>
@@ -338,13 +341,7 @@ class ShareToGroup extends React.Component {
</table>
<div className="share-list-container">
<table className="table-thead-hidden w-xs-200">
<thead>
<tr>
<th width="50%">{gettext('Group')}</th>
<th width="35%">{gettext('Permission')}</th>
<th width="15%"></th>
</tr>
</thead>
{thead}
<GroupList
items={this.state.sharedItems}
permissions={this.permissions}