Skip to content

Commit

Permalink
Indicate "legacy" in creation flow
Browse files Browse the repository at this point in the history
  • Loading branch information
sebelga committed Jul 2, 2020
1 parent 8bc69d8 commit c997d51
Showing 1 changed file with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,17 @@ export const TemplateCreate: React.FunctionComponent<RouteComponentProps> = ({ h
<EuiPageContent>
<EuiTitle size="l">
<h1 data-test-subj="pageTitle">
<FormattedMessage
id="xpack.idxMgmt.createTemplate.createTemplatePageTitle"
defaultMessage="Create template"
/>
{isLegacy ? (
<FormattedMessage
id="xpack.idxMgmt.createTemplate.createLegacyTemplatePageTitle"
defaultMessage="Create legacy template"
/>
) : (
<FormattedMessage
id="xpack.idxMgmt.createTemplate.createTemplatePageTitle"
defaultMessage="Create template"
/>
)}
</h1>
</EuiTitle>
<EuiSpacer size="l" />
Expand Down

0 comments on commit c997d51

Please sign in to comment.