(core) Rename page option 'Duplicate' to 'Duplicate Page', and shorten warning to be more noticeable

Test Plan: Changes too minor to affect tests

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D3016
This commit is contained in:
Dmitry S
2021-09-09 23:26:43 -04:00
parent ddcd08e147
commit 70160fe01c
2 changed files with 4 additions and 5 deletions

View File

@@ -22,13 +22,12 @@ export async function duplicatePage(gristDoc: GristDoc, pageId: number) {
confirmModal('Duplicate page', 'Save', () => makeDuplicate(gristDoc, pageId, inputEl.value), (
dom('div', [
"Enter name for the new page. ",
"Note that this does not copy data, ",
"but creates another view of the same data. ",
cssField(
cssLabel("Name"),
inputEl = cssInput({value: pageName + ' (copy)'}),
)
),
"Note that this does not copy data, ",
"but creates another view of the same data.",
])
));
}