Skip to content

Commit

Permalink
Don't show donate link in Welsh version
Browse files Browse the repository at this point in the history
- Top bar crowded
  • Loading branch information
ajparsons committed Sep 12, 2024
1 parent a8ded66 commit 7c14b4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions classes/Renderer/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ private function addContactLink() {
}

private function addDonateLink() {
if (LANGUAGE == 'cy') {
return;
}
$menudata = $this->pagedata->page_metadata('donate', 'menu');
$text = $menudata['text'];
$title = $menudata['title'];
Expand Down

0 comments on commit 7c14b4e

Please sign in to comment.