mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(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:
@@ -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.",
|
||||
])
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user