forked from Transparency/kgroad-frontend2
added name surname to volunteers page
This commit is contained in:
parent
545285f1c3
commit
5b5feaa43f
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user