diff --git a/resources/views/columns/lectures/action.blade.php b/resources/views/columns/lectures/action.blade.php index 747ecd69..6359dec0 100644 --- a/resources/views/columns/lectures/action.blade.php +++ b/resources/views/columns/lectures/action.blade.php @@ -1,10 +1,26 @@
- - - Termine anzeigen - - - - Inhalte anzeigen - + @if($row->courses_count > 0) + + + Termine anzeigen ({{ $row->courses_count }}) + + @endif + @if($row->courses_count < 1) + + + Termine anzeigen ({{ $row->courses_count }}) + + @endif + @if($row->library_items_count > 0) + + + Inhalte anzeigen ({{ $row->library_items_count }}) + + @endif + @if($row->library_items_count < 1) + + + Inhalte anzeigen ({{ $row->library_items_count }}) + + @endif