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 11, 2024
1 parent 4fee8fc commit d86c1d8
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 d86c1d8

Please sign in to comment.