added name surname to volunteers page

This commit is contained in:
ariari04 2024-05-29 15:51:41 +06:00
parent 545285f1c3
commit 5b5feaa43f
3 changed files with 9 additions and 4 deletions

View File

@ -1,6 +1,8 @@
export interface IUserRatings {
user_id: number;
username: string;
first_name: string;
last_name: string;
report_count: number;
likes_given_count: number;
likes_received_count: number;

View File

@ -22,14 +22,14 @@
width: 100%;
height: 100%;
display: grid;
grid-template-columns: 80px 300px 300px 200px 180px 200px 150px;
grid-template-columns: 80px 300px 300px 200px 200px 200px 200px;
td {
display: flex;
align-items: center;
height: 100%;
background-color: rgb(244, 244, 244);
justify-content: center;
}
td,
@ -61,6 +61,9 @@
font-size: 20px;
font-weight: 500;
line-height: 20px;
display: flex;
align-items: center;
justify-content: center;
}

View File

@ -16,7 +16,7 @@ const VolunteersTable = () => {
const params = [
{ param: "№" },
{ param: "Активист" },
{ param: "Фамилия имя"},
{ param: "Имя Фамилия"},
{
param: "Добавлено дорог",
handleClick() {
@ -125,7 +125,7 @@ const VolunteersTable = () => {
<td id="volunteers-user-cell">
{hideEmail(user.username)}
</td>
<td>{user.username}</td>
<td>{user.first_name} {user.last_name}</td>
<td>{user.report_count}</td>
<td>{user.likes_received_count}</td>
<td>{user.likes_given_count}</td>