diff --git a/resources/views/components/project-card.blade.php b/resources/views/components/project-card.blade.php index 8b19256..ff0605a 100644 --- a/resources/views/components/project-card.blade.php +++ b/resources/views/components/project-card.blade.php @@ -19,9 +19,9 @@ @if($shouldDisplay) - + @if(!$project->sats_paid) - Meetup 01 @@ -33,7 +33,7 @@ @else - Meetup 01 @@ -57,62 +57,63 @@ {{ $project->name }} -
- {!! strip_tags($project->description) !!} -
- -
- - {{ number_format($project->support_in_sats, 0, ',', '.') }} Sats -
- Webseite -
- - @if($project->votes->where('value', true)->count() > 0) - - @endif -
-
- @if( - ($currentPleb && $currentPleb->id === $project->einundzwanzig_pleb_id) - || ($currentPleb && in_array($currentPleb->npub, config('einundzwanzig.config.current_board'), true)) - ) - - Löschen - + +
+ +
+ {{ number_format($project->support_in_sats, 0, ',', '.') }} Sats + + Webseite + + @if($project->votes->where('value', true)->count() > 0) + + +{{ $project->votes->where('value', true)->count() }} Unterstützer + + @endif +
- - Editieren - - @endif - @if(($currentPleb && $currentPleb->association_status->value > 2) || $project->accepted) - - Öffnen - - @endif -
+ +
+ @if( + ($currentPleb && $currentPleb->id === $project->einundzwanzig_pleb_id) + || ($currentPleb && in_array($currentPleb->npub, config('einundzwanzig.config.current_board'), true)) + ) + + Löschen + + + + Editieren + + @endif + @if(($currentPleb && $currentPleb->association_status->value > 2) || $project->accepted) + + Öffnen + + @endif +
+
@if($project->sats_paid) - Wurde mit {{ number_format($project->sats_paid, 0, ',', '.') }} Sats - unterstützt - +
+ Wurde mit {{ number_format($project->sats_paid, 0, ',', '.') }} Sats + unterstützt + +
@endif