mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-21 19:37:28 +00:00
['group' page] redesigned the toolbar & the 'group members' dialog; improved the 'manage members' dialog (#6248)
This commit is contained in:
@@ -26,9 +26,9 @@ class GroupMembers extends React.Component {
|
||||
<Table size="sm" className="manage-members-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="15%"></th>
|
||||
<th width="10%"></th>
|
||||
<th width="45%">{gettext('Name')}</th>
|
||||
<th width="30%">{gettext('Role')}</th>
|
||||
<th width="35%">{gettext('Role')}</th>
|
||||
<th width="10%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -140,7 +140,7 @@ class Member extends React.PureComponent {
|
||||
|
||||
return(
|
||||
<tr onMouseOver={this.handleMouseOver} onMouseLeave={this.handleMouseLeave} className={this.state.highlight ? 'tr-highlight' : ''} tabIndex="0" onFocus={this.handleMouseOver}>
|
||||
<th scope="row"><img className="avatar" src={item.avatar_url} alt=""/></th>
|
||||
<th scope="row"><img className="avatar" src={item.avatar_url} alt="" /></th>
|
||||
<td>{item.name}</td>
|
||||
<td>
|
||||
{((isOwner === false) || (isOwner === true && item.role === 'Owner')) &&
|
||||
|
Reference in New Issue
Block a user