This is an automated email from the ASF dual-hosted git repository.
yuqi4733 pushed a commit to branch branch-0.6
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-0.6 by this push:
new b2726e741 [Minor] fix footer (#4804)
b2726e741 is described below
commit b2726e7416f2fbe7d6de8bf301d686c3c6eeab81
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Aug 30 15:35:43 2024 +0800
[Minor] fix footer (#4804)
### What changes were proposed in this pull request?
Fix copyright and footer name.
### Why are the changes needed?
As the ASF is the collective copyright owner.
Fix: # N/A
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Compiled locally.
Co-authored-by: Justin Mclean <[email protected]>
---
.../gravitino/integration/test/web/ui/MetalakePageTest.java | 8 ++++----
.../gravitino/integration/test/web/ui/pages/MetalakePage.java | 2 +-
web/src/app/rootLayout/Footer.js | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git
a/integration-test/src/test/java/org/apache/gravitino/integration/test/web/ui/MetalakePageTest.java
b/integration-test/src/test/java/org/apache/gravitino/integration/test/web/ui/MetalakePageTest.java
index 774e6220f..d288543cc 100644
---
a/integration-test/src/test/java/org/apache/gravitino/integration/test/web/ui/MetalakePageTest.java
+++
b/integration-test/src/test/java/org/apache/gravitino/integration/test/web/ui/MetalakePageTest.java
@@ -33,7 +33,7 @@ public class MetalakePageTest extends AbstractWebIT {
private static final String WEB_TITLE = "Gravitino";
private static final String METALAKE_NAME = "metalake_name";
private static final String EDITED_METALAKE_NAME = METALAKE_NAME + "_edited";
- private static final String FOOTER_LINK_DATASTRATO =
"https://gravitino.apache.org/";
+ private static final String FOOTER_LINK_GRAVITINO =
"https://gravitino.apache.org/";
private static final String FOOTER_LINK_DOCS =
"https://gravitino.apache.org/docs/latest/";
private static final String FOOTER_LINK_LICENSE =
"https://github.com/apache/gravitino/blob/main/LICENSE";
@@ -146,11 +146,11 @@ public class MetalakePageTest extends AbstractWebIT {
@Test
@Order(10)
- public void testCheckLinkDatastrato() {
+ public void testCheckLinkGravitino() {
String originalWindowHandle = driver.getWindowHandle();
- metalakePage.footerLinkDatastrato.click();
+ metalakePage.footerLinkGravitino.click();
Assertions.assertTrue(
- metalakePage.verifyLinkInNewWindow(originalWindowHandle,
FOOTER_LINK_DATASTRATO, false));
+ metalakePage.verifyLinkInNewWindow(originalWindowHandle,
FOOTER_LINK_GRAVITINO, false));
}
@Test
diff --git
a/integration-test/src/test/java/org/apache/gravitino/integration/test/web/ui/pages/MetalakePage.java
b/integration-test/src/test/java/org/apache/gravitino/integration/test/web/ui/pages/MetalakePage.java
index a003a93eb..45fb12dea 100644
---
a/integration-test/src/test/java/org/apache/gravitino/integration/test/web/ui/pages/MetalakePage.java
+++
b/integration-test/src/test/java/org/apache/gravitino/integration/test/web/ui/pages/MetalakePage.java
@@ -98,7 +98,7 @@ public class MetalakePage extends AbstractWebIT {
public WebElement metalakePageTitle;
@FindBy(xpath = "//a[@data-refer='footer-link-gravitino']")
- public WebElement footerLinkDatastrato;
+ public WebElement footerLinkGravitino;
@FindBy(xpath = "//a[@data-refer='footer-link-license']")
public WebElement footerLinkLicense;
diff --git a/web/src/app/rootLayout/Footer.js b/web/src/app/rootLayout/Footer.js
index b008ed35a..503f1ad0a 100644
--- a/web/src/app/rootLayout/Footer.js
+++ b/web/src/app/rootLayout/Footer.js
@@ -27,14 +27,14 @@ const Footer = props => {
<Box className='footer-content-wrapper twc-px-6 twc-w-full
twc-py-[0.75rem] [@media(min-width:1440px)]:twc-max-w-[1440px]'>
<Box className={'twc-flex twc-flex-wrap twc-items-center
twc-justify-between'}>
<Typography className='twc-mr-2'>
- {`© 2023 `}
+ {`© 2024 `}
<Link
className={'twc-no-underline twc-text-primary-main'}
target='_blank'
href='https://gravitino.apache.org/'
data-refer='footer-link-gravitino'
>
- Gravitino
+ ASF
</Link>
</Typography>
<Box className={'twc-flex twc-flex-wrap twc-items-center
[&>:not(:last-child)]:twc-mr-4'}>