Fleet UI: Update queries and policies page descriptions (#17080)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
- Update page descriptions
|
||||
@@ -574,8 +574,6 @@ const ManagePolicyPage = ({
|
||||
}`;
|
||||
};
|
||||
|
||||
const showTeamDescription = isPremiumTier && isAnyTeamSelected;
|
||||
|
||||
const showInheritedPoliciesButton =
|
||||
isAnyTeamSelected &&
|
||||
!isFetchingTeamPolicies &&
|
||||
@@ -744,14 +742,11 @@ const ManagePolicyPage = ({
|
||||
)}
|
||||
</div>
|
||||
<div className={`${baseClass}__description`}>
|
||||
{showTeamDescription ? (
|
||||
<p>Add additional policies for all hosts assigned to this team.</p>
|
||||
) : (
|
||||
<p>
|
||||
Add policies for all of your hosts to see which pass your
|
||||
organization’s standards.
|
||||
</p>
|
||||
)}
|
||||
<p>
|
||||
{isAnyTeamSelected
|
||||
? "Detect device health issues for all hosts assigned to this team."
|
||||
: "Detect device health issues for all hosts."}
|
||||
</p>
|
||||
</div>
|
||||
{renderMainTable()}
|
||||
{showInheritedPoliciesButton && globalPoliciesCount && (
|
||||
|
||||
@@ -51,13 +51,6 @@
|
||||
margin: 0;
|
||||
margin-bottom: $pad-xxlarge;
|
||||
|
||||
h2 {
|
||||
text-transform: uppercase;
|
||||
color: $core-fleet-black;
|
||||
font-weight: $regular;
|
||||
font-size: $small;
|
||||
}
|
||||
|
||||
p {
|
||||
color: $ui-fleet-black-75;
|
||||
margin: 0;
|
||||
|
||||
@@ -461,8 +461,9 @@ const ManageQueriesPage = ({
|
||||
</div>
|
||||
<div className={`${baseClass}__description`}>
|
||||
<p>
|
||||
Manage and schedule queries to ask questions and collect telemetry
|
||||
for all hosts{isAnyTeamSelected && " assigned to this team"}.
|
||||
{isAnyTeamSelected
|
||||
? "Gather data about all hosts assigned to this team."
|
||||
: "Gather data about all hosts."}
|
||||
</p>
|
||||
</div>
|
||||
{renderCurrentScopeQueriesTable()}
|
||||
|
||||
@@ -39,13 +39,6 @@
|
||||
&__description {
|
||||
margin: 0 0 $pad-xxlarge;
|
||||
|
||||
h2 {
|
||||
text-transform: uppercase;
|
||||
color: $core-fleet-black;
|
||||
font-weight: $regular;
|
||||
font-size: $small;
|
||||
}
|
||||
|
||||
p {
|
||||
color: $ui-fleet-black-75;
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user