{lang="current_donation_goals"}

{{if request.thanks}}

{lang="thanks_for_your_donation"}


{{endif}} {{foreach \IPS\nexus\Donation\Goal::roots() as $goal}}

{$goal->_title}

{{if $desc = member.language()->get("nexus_donategoal_{$goal->id}_desc")}}
{$desc|raw}
{{endif}} {{if $goal->goal}}
goal*$goal->current"}%">

{lang="donate_progress" sprintf="new \IPS\nexus\Money( $goal->current, $goal->currency ), new \IPS\nexus\Money( $goal->goal, $goal->currency )"}

{{else}}

{lang="donate_sofar" sprintf="new \IPS\nexus\Money( $goal->current, $goal->currency )"}

{{endif}}

{{endforeach}}