Skip to content

Commit

Permalink
fix contributions
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed Sep 30, 2024
1 parent 367d12e commit 90f8f9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
14 changes: 5 additions & 9 deletions app/Filament/Resources/UserResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,11 @@ public static function table(Table $table): Table
->sortable()
->searchable(),

TextColumn::make('points_count')
->label(__('users.points_count'))
->counts('points')
->sortable(),

TextColumn::make('problems_count')
->label(__('users.issues_count'))
->counts('problems')
->sortable(),
TextColumn::make('contributions_count')
->counts('contributions')
->label(__('users.contributions_count'))
->sortable()
->searchable(),

TextColumn::make('last_login_date')->date('Y-m-d H:i:s')
->label(__('users.last_login_date'))
Expand Down
3 changes: 1 addition & 2 deletions lang/ro/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
'phone' => 'Telefon',
'password' => 'Parola',
'roles' => 'Roluri',
'points_count' => 'Numar puncte adǎugate',
'problems_count' => 'Numar probleme adǎugate',
'contributions_count'=> 'Numar contributii',
'last_login_date' => 'Ultima datǎ de conectare',

];

0 comments on commit 90f8f9d

Please sign in to comment.