ShareModal: Change public dashboard text to shared dashboard (#92327)
* update text * update link
This commit is contained in:
+37
-17
@@ -145,23 +145,43 @@ export const PublicDashboardListTable = () => {
|
||||
{!isLoading && !isError && !!paginatedPublicDashboards && (
|
||||
<div>
|
||||
{paginatedPublicDashboards.publicDashboards.length === 0 ? (
|
||||
<EmptyState
|
||||
variant="call-to-action"
|
||||
message={t(
|
||||
'public-dashboard-list.empty-state.message',
|
||||
"You haven't created any public dashboards yet"
|
||||
)}
|
||||
>
|
||||
<Trans i18nKey="public-dashboard-list.empty-state.more-info">
|
||||
Create a public dashboard from any existing dashboard through the <b>Share</b> modal.{' '}
|
||||
<TextLink
|
||||
external
|
||||
href="https://grafana.com/docs/grafana/latest/dashboards/dashboard-public/#make-a-dashboard-public"
|
||||
>
|
||||
Learn more
|
||||
</TextLink>
|
||||
</Trans>
|
||||
</EmptyState>
|
||||
config.featureToggles.newDashboardSharingComponent ? (
|
||||
<EmptyState
|
||||
variant="call-to-action"
|
||||
message={t(
|
||||
'shared-dashboard-list.empty-state.message',
|
||||
"You haven't created any shared dashboards yet"
|
||||
)}
|
||||
>
|
||||
<Trans i18nKey="shared-dashboard-list.empty-state.more-info">
|
||||
Create a shared dashboard from any existing dashboard through the <b>Share</b> modal.{' '}
|
||||
<TextLink
|
||||
external
|
||||
href="https://grafana.com/docs/grafana/latest/dashboards/share-dashboards-panels/shared-dashboards"
|
||||
>
|
||||
Learn more
|
||||
</TextLink>
|
||||
</Trans>
|
||||
</EmptyState>
|
||||
) : (
|
||||
<EmptyState
|
||||
variant="call-to-action"
|
||||
message={t(
|
||||
'public-dashboard-list.empty-state.message',
|
||||
"You haven't created any public dashboards yet"
|
||||
)}
|
||||
>
|
||||
<Trans i18nKey="public-dashboard-list.empty-state.more-info">
|
||||
Create a public dashboard from any existing dashboard through the <b>Share</b> modal.{' '}
|
||||
<TextLink
|
||||
external
|
||||
href="https://grafana.com/docs/grafana/latest/dashboards/dashboard-public/#make-a-dashboard-public"
|
||||
>
|
||||
Learn more
|
||||
</TextLink>
|
||||
</Trans>
|
||||
</EmptyState>
|
||||
)
|
||||
) : (
|
||||
<>
|
||||
<ul className={styles.list}>
|
||||
|
||||
@@ -2350,6 +2350,10 @@
|
||||
"revoke-button-tooltip": "Revoke access",
|
||||
"view-button-tooltip": "View shared dashboard"
|
||||
},
|
||||
"empty-state": {
|
||||
"message": "You haven't created any shared dashboards yet",
|
||||
"more-info": "Create a shared dashboard from any existing dashboard through the <1>Share</1> modal. <4>Learn more</4>"
|
||||
},
|
||||
"toggle": {
|
||||
"pause-sharing-toggle-text": "Pause access"
|
||||
}
|
||||
|
||||
@@ -2350,6 +2350,10 @@
|
||||
"revoke-button-tooltip": "Ŗęvőĸę äččęşş",
|
||||
"view-button-tooltip": "Vįęŵ şĥäřęđ đäşĥþőäřđ"
|
||||
},
|
||||
"empty-state": {
|
||||
"message": "Ÿőū ĥävęʼn'ŧ čřęäŧęđ äʼny şĥäřęđ đäşĥþőäřđş yęŧ",
|
||||
"more-info": "Cřęäŧę ä şĥäřęđ đäşĥþőäřđ ƒřőm äʼny ęχįşŧįʼnģ đäşĥþőäřđ ŧĥřőūģĥ ŧĥę <1>Ŝĥäřę</1> mőđäľ. <4>Ŀęäřʼn mőřę</4>"
|
||||
},
|
||||
"toggle": {
|
||||
"pause-sharing-toggle-text": "Päūşę äččęşş"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user