1
0
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:
llj
2024-06-21 17:32:03 +08:00
committed by GitHub
parent d56be9ccd3
commit e4f7074735
5 changed files with 67 additions and 153 deletions

View File

@@ -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')) &&