From 47f6c24484e5f99e5ada45d0ecdf5f8cf7e98840 Mon Sep 17 00:00:00 2001 From: Bram Luyten Date: Wed, 31 Oct 2018 22:45:57 +0100 Subject: [PATCH 1/4] issue 321 home news rewording --- src/app/+home-page/home-news/home-news.component.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/app/+home-page/home-news/home-news.component.html b/src/app/+home-page/home-news/home-news.component.html index ffc88be574..e79cef69ba 100644 --- a/src/app/+home-page/home-news/home-news.component.html +++ b/src/app/+home-page/home-news/home-news.component.html @@ -5,16 +5,17 @@
-

Welcome to DSpace

-

DSpace is an open source software platform that enables organisations to:

+

Welcome to DSpace 7 Alpha

+

DSpace is the world leading open source repository platform that enables organisations to:

+

Join a vibrant community of DSpace enthusiasts including Harvard University, The World Bank, Cambridge University, The World Health Organization, MIT and many more.

From dc7e784b83cdd8c5b5cb28b28c5c69b788a72f0e Mon Sep 17 00:00:00 2001 From: Kristof De Langhe Date: Fri, 26 Oct 2018 13:47:48 +0200 Subject: [PATCH 2/4] 56434: e2e test fix --- e2e/app.e2e-spec.ts | 4 ++-- e2e/app.po.ts | 8 ++------ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/e2e/app.e2e-spec.ts b/e2e/app.e2e-spec.ts index f5ac9094d0..6856a6f01b 100644 --- a/e2e/app.e2e-spec.ts +++ b/e2e/app.e2e-spec.ts @@ -12,8 +12,8 @@ describe('protractor App', () => { expect(page.getPageTitleText()).toEqual('DSpace Angular :: Home'); }); - it('should display header "Welcome to DSpace"', () => { + it('should contain a news section', () => { page.navigateTo(); - expect(page.getFirstHeaderText()).toEqual('Welcome to DSpace'); + expect(page.getHomePageNewsText()).toBeDefined(); }); }); diff --git a/e2e/app.po.ts b/e2e/app.po.ts index d8d2acf120..54b5b55af3 100644 --- a/e2e/app.po.ts +++ b/e2e/app.po.ts @@ -9,11 +9,7 @@ export class ProtractorPage { return browser.getTitle(); } - getFirstPText() { - return element(by.xpath('//p[1]')).getText(); - } - - getFirstHeaderText() { - return element(by.xpath('//h1[1]')).getText(); + getHomePageNewsText() { + return element(by.xpath('//ds-home-news')).getText(); } } From 3c71a988c223e38ad665c6fc5d78d3ff598d2e4e Mon Sep 17 00:00:00 2001 From: Bram Luyten Date: Wed, 17 Apr 2019 15:17:54 +0200 Subject: [PATCH 3/4] changing name into preview release --- src/app/+home-page/home-news/home-news.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/+home-page/home-news/home-news.component.html b/src/app/+home-page/home-news/home-news.component.html index e79cef69ba..fc398bbd97 100644 --- a/src/app/+home-page/home-news/home-news.component.html +++ b/src/app/+home-page/home-news/home-news.component.html @@ -5,7 +5,7 @@
-

Welcome to DSpace 7 Alpha

+

Welcome to the DSpace 7 Preview Release

DSpace is the world leading open source repository platform that enables organisations to:

From 6a61cd02c570518157d292130f337a2dcde89339 Mon Sep 17 00:00:00 2001 From: Bram Luyten Date: Wed, 17 Apr 2019 16:03:23 +0200 Subject: [PATCH 4/4] Update home-news.component.html --- src/app/+home-page/home-news/home-news.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/+home-page/home-news/home-news.component.html b/src/app/+home-page/home-news/home-news.component.html index fc398bbd97..95c1552f76 100644 --- a/src/app/+home-page/home-news/home-news.component.html +++ b/src/app/+home-page/home-news/home-news.component.html @@ -16,6 +16,6 @@
  • issue permanent urls and trustworthy identifiers, including optional integrations with handle.net and DataCite DOI
  • -

    Join a vibrant community of DSpace enthusiasts including Harvard University, The World Bank, Cambridge University, The World Health Organization, MIT and many more.

    +

    Join an international community of leading institutions using DSpace.