diff --git a/webapp/cypress/e2e/editPage.cy.js b/webapp/cypress/e2e/editPage.cy.js index e86617bc3..8c439d92d 100644 --- a/webapp/cypress/e2e/editPage.cy.js +++ b/webapp/cypress/e2e/editPage.cy.js @@ -252,7 +252,7 @@ describe("Edit Page", () => { cy.get('[data-testid="search-input"]').type("editable_sample"); cy.findByText("editable_sample").click(); - cy.findByText("Upload files...").click(); + cy.findByText("Upload files").click(); cy.get(".uppy-Dashboard-AddFiles-title").should("contain.text", "Drop files here,"); cy.get(".uppy-Dashboard-AddFiles-title").should("contain.text", "browse files"); cy.get(".uppy-Dashboard-AddFiles-title").should("contain.text", "or import from:"); diff --git a/webapp/src/components/FileList.vue b/webapp/src/components/FileList.vue index 96d7ceac0..ae4740100 100644 --- a/webapp/src/components/FileList.vue +++ b/webapp/src/components/FileList.vue @@ -3,66 +3,30 @@
-
- - - - - {{ file.name }} - - - - - - - {{ file.source_server_name }} - - - (updated - {{ - formatDistance(new Date(file.last_modified_remote), new Date(), { - addSuffix: true, - }) - }}, last synced - {{ - formatDistance(new Date(file.last_modified), new Date(), { - addSuffix: true, - }) - }}) - - - - (uploaded - {{ - formatDistance(new Date(file.last_modified), new Date(), { - addSuffix: true, - }) - }}) - -
+
- + Upload files +
@@ -70,10 +34,13 @@ + +