Skip to content

Commit

Permalink
Add CC-BY-SA notice to footer (hotosm#5100)
Browse files Browse the repository at this point in the history
* Add CC-BY-SA notice to footer

* Emend license description
  • Loading branch information
HelNershingThapa authored Jul 21, 2022
1 parent 45e79e1 commit a2971c9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
17 changes: 17 additions & 0 deletions frontend/src/components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,23 @@ export function Footer({ location }: Object) {
</div>
<div className="cf">
<div className="pt2 mb2 f7 w-50-l w-100 fl">
<div className="pb3 lh-title">
<a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">
<img
className="mb1"
src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png"
alt="Creative Commons License"
/>
</a>
<br />
<a
className="link white"
href="https://creativecommons.org/licenses/by-sa/4.0/"
rel="license"
>
<FormattedMessage {...messages.license} />
</a>
</div>
<Link to={'about'} className="link white">
<FormattedMessage {...messages.credits} />
</Link>
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/components/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ export default defineMessages({
id: 'footer.privacyPolicy',
defaultMessage: 'Privacy Policy',
},
license: {
id: 'footer.license',
defaultMessage:
'Images and screenshots of the Tasking Manager may be shared under a Creative Commons Attribution-Sharealike 4.0 International License',
},
mappingLevelALL: {
id: 'mapping.level.all',
defaultMessage: 'All levels',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
"footer.credits": "Free and Open Source Software brought to you by the Humanitarian OpenStreetMap Team.",
"footer.learn": "Learn more about OpenStreetMap.",
"footer.privacyPolicy": "Privacy Policy",
"footer.license": "Images and screenshots of the Tasking Manager may be shared under a Creative Commons Attribution-Sharealike 4.0 International License",
"mapping.level.all": "All levels",
"mapping.level.advanced": "Advanced mapper",
"mapping.level.intermediate": "Intermediate mapper",
Expand Down

0 comments on commit a2971c9

Please sign in to comment.