Skip to content

Commit

Permalink
fix: change copyright message (#27)
Browse files Browse the repository at this point in the history
* fix: change the footer trademark year and message
  • Loading branch information
Tj-Tracy authored Dec 13, 2019
1 parent b96bdf3 commit e3761b3
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,16 +205,16 @@ class Footer extends React.Component {
</li>
</ul>
<p>
© 2012–2019 edX Inc.
© {new Date().getFullYear()} edX Inc. All rights reserved.
<br />
<FormattedMessage
id="footer.trademarks"
defaultMessage="EdX, Open edX, and MicroMasters are registered trademarks of edX Inc. {icpMessage}"
defaultMessage="{icpMessage}"
description="A description of the trademarks that belong to edX."
values={{
icpMessage: (
<React.Fragment>
深圳市恒宇博科技有限公司 <a href="http://www.beian.miit.gov.cn">粤ICP备17044299号-2</a>
深圳市恒宇博科技有限公司 <a style={{ textDecoration: 'underline' }} href="http://www.beian.miit.gov.cn">粤ICP备17044299号-2</a>
</React.Fragment>
),
}}
Expand Down
30 changes: 24 additions & 6 deletions src/components/__snapshots__/Footer.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -397,13 +397,19 @@ exports[`<Footer /> renders correctly renders with a language selector 1`] = `
</li>
</ul>
<p>
© 2012–2019 edX Inc.
©
2019
edX Inc. All rights reserved.
<br />
<span>
EdX, Open edX, and MicroMasters are registered trademarks of edX Inc.
深圳市恒宇博科技有限公司
<a
href="http://www.beian.miit.gov.cn"
style={
Object {
"textDecoration": "underline",
}
}
>
粤ICP备17044299号-2
</a>
Expand Down Expand Up @@ -749,13 +755,19 @@ exports[`<Footer /> renders correctly renders without a language selector 1`] =
</li>
</ul>
<p>
© 2012–2019 edX Inc.
©
2019
edX Inc. All rights reserved.
<br />
<span>
EdX, Open edX, and MicroMasters are registered trademarks of edX Inc.
深圳市恒宇博科技有限公司
<a
href="http://www.beian.miit.gov.cn"
style={
Object {
"textDecoration": "underline",
}
}
>
粤ICP备17044299号-2
</a>
Expand Down Expand Up @@ -1052,13 +1064,19 @@ exports[`<Footer /> renders correctly renders without a language selector in es
</li>
</ul>
<p>
© 2012–2019 edX Inc.
©
2019
edX Inc. All rights reserved.
<br />
<span>
EdX, Open edX, and MicroMasters are registered trademarks of edX Inc.
深圳市恒宇博科技有限公司
<a
href="http://www.beian.miit.gov.cn"
style={
Object {
"textDecoration": "underline",
}
}
>
粤ICP备17044299号-2
</a>
Expand Down

0 comments on commit e3761b3

Please sign in to comment.