mirror of
https://github.com/ansible/awx.git
synced 2026-02-22 13:36:02 -03:30
Remove org list links
This commit is contained in:
22
src/app.scss
22
src/app.scss
@@ -100,8 +100,16 @@
|
|||||||
--pf-c-data-list__cell--PaddingBottom: 16px;
|
--pf-c-data-list__cell--PaddingBottom: 16px;
|
||||||
--pf-c-data-list__cell-cell--PaddingTop: 16px;
|
--pf-c-data-list__cell-cell--PaddingTop: 16px;
|
||||||
|
|
||||||
a {
|
.awx-c-list-group {
|
||||||
margin-right: 8px;
|
display: inline-flex;
|
||||||
|
margin-right: 20px;
|
||||||
|
|
||||||
|
&--badge {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -224,18 +232,12 @@
|
|||||||
border-bottom: 1px solid #d7d7d7;
|
border-bottom: 1px solid #d7d7d7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.at-c-listCardBody {
|
|
||||||
--pf-c-card__footer--PaddingX: 0;
|
|
||||||
--pf-c-card__footer--PaddingY: 0;
|
|
||||||
--pf-c-card__body--PaddingX: 0;
|
|
||||||
--pf-c-card__body--PaddingY: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.awx-c-card {
|
.awx-c-card {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// PF Alert notification component overrides
|
// PF Alert notification component overrides
|
||||||
.pf-c-alert__title {
|
.pf-c-alert__title {
|
||||||
--pf-c-alert__title--PaddingTop: 20px;
|
--pf-c-alert__title--PaddingTop: 20px;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ class OrganizationListItem extends React.Component {
|
|||||||
const {
|
const {
|
||||||
itemId,
|
itemId,
|
||||||
name,
|
name,
|
||||||
userCount,
|
memberCount,
|
||||||
teamCount,
|
teamCount,
|
||||||
isSelected,
|
isSelected,
|
||||||
onSelect,
|
onSelect,
|
||||||
@@ -45,22 +45,18 @@ class OrganizationListItem extends React.Component {
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="pf-c-data-list__cell">
|
<div className="pf-c-data-list__cell">
|
||||||
<Link to={`${detailUrl}/access`}>
|
<span className="awx-c-list-group">
|
||||||
<Trans>Users</Trans>
|
<Trans>Members</Trans>
|
||||||
</Link>
|
<Badge className="awx-c-list-group--badge" isRead>
|
||||||
<Badge isRead>
|
{memberCount}
|
||||||
{' '}
|
</Badge>
|
||||||
{userCount}
|
</span>
|
||||||
{' '}
|
<span className="awx-c-list-group">
|
||||||
</Badge>
|
|
||||||
<Link to={`${detailUrl}/teams`}>
|
|
||||||
<Trans>Teams</Trans>
|
<Trans>Teams</Trans>
|
||||||
</Link>
|
<Badge className="awx-c-list-group--badge" isRead>
|
||||||
<Badge isRead>
|
{teamCount}
|
||||||
{' '}
|
</Badge>
|
||||||
{teamCount}
|
</span>
|
||||||
{' '}
|
|
||||||
</Badge>
|
|
||||||
</div>
|
</div>
|
||||||
<div className="pf-c-data-list__cell" />
|
<div className="pf-c-data-list__cell" />
|
||||||
</li>
|
</li>
|
||||||
@@ -68,4 +64,3 @@ class OrganizationListItem extends React.Component {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
export default OrganizationListItem;
|
export default OrganizationListItem;
|
||||||
|
|
||||||
|
|||||||
@@ -355,7 +355,7 @@ class OrganizationsList extends Component {
|
|||||||
itemId={o.id}
|
itemId={o.id}
|
||||||
name={o.name}
|
name={o.name}
|
||||||
detailUrl={`${match.url}/${o.id}`}
|
detailUrl={`${match.url}/${o.id}`}
|
||||||
userCount={o.summary_fields.related_field_counts.users}
|
memberCount={o.summary_fields.related_field_counts.users}
|
||||||
teamCount={o.summary_fields.related_field_counts.teams}
|
teamCount={o.summary_fields.related_field_counts.teams}
|
||||||
isSelected={selected.includes(o.id)}
|
isSelected={selected.includes(o.id)}
|
||||||
onSelect={() => this.onSelect(o.id, o.name)}
|
onSelect={() => this.onSelect(o.id, o.name)}
|
||||||
|
|||||||
Reference in New Issue
Block a user