File tree Expand file tree Collapse file tree 3 files changed +21
-14
lines changed
Servers/UI/OJS.Servers.Ui/ClientApp/src
pages/administration-new/submissions
Services/Administration/OJS.Services.Administration.Models/Submissions Expand file tree Collapse file tree 3 files changed +21
-14
lines changed Original file line number Diff line number Diff line change @@ -455,6 +455,7 @@ interface ISubmissionsAdminGridViewType {
455
455
participantName : string ;
456
456
problemId : number ;
457
457
problemName : string ;
458
+ workerName : string ;
458
459
submissionTypeId : number ;
459
460
submissionTypeName : string ;
460
461
isDeleted : boolean ;
Original file line number Diff line number Diff line change @@ -60,10 +60,10 @@ const dataColumns: AdministrationGridColDef[] = [
60
60
{
61
61
field : 'problemName' ,
62
62
headerName : 'Problem Name' ,
63
- align : 'center ' ,
63
+ align : 'left ' ,
64
64
headerAlign : 'center' ,
65
65
type : 'string' ,
66
- flex : 2 ,
66
+ flex : 2.5 ,
67
67
filterable : false ,
68
68
sortable : false ,
69
69
renderCell : ( params : GridRenderCellParams ) => (
@@ -78,9 +78,9 @@ const dataColumns: AdministrationGridColDef[] = [
78
78
field : 'contestName' ,
79
79
headerName : 'Contest Name' ,
80
80
headerAlign : 'center' ,
81
- align : 'center ' ,
81
+ align : 'left ' ,
82
82
type : 'string' ,
83
- flex : 2 ,
83
+ flex : 3 ,
84
84
filterable : false ,
85
85
sortable : false ,
86
86
renderCell : ( params : GridRenderCellParams ) => (
@@ -103,11 +103,11 @@ const dataColumns: AdministrationGridColDef[] = [
103
103
} ,
104
104
{
105
105
field : 'isCompiledSuccessfully' ,
106
- headerName : 'Is Compiled Successfully ' ,
106
+ headerName : 'Compiled' ,
107
107
align : 'center' ,
108
108
headerAlign : 'center' ,
109
109
type : 'boolean' ,
110
- flex : 1 ,
110
+ flex : 0.6 ,
111
111
filterable : false ,
112
112
sortable : false ,
113
113
} ,
@@ -117,16 +117,9 @@ const dataColumns: AdministrationGridColDef[] = [
117
117
align : 'center' ,
118
118
headerAlign : 'center' ,
119
119
type : 'boolean' ,
120
- flex : 1 ,
120
+ flex : 0.6 ,
121
121
filterable : false ,
122
122
sortable : false ,
123
- renderCell : ( params : GridRenderCellParams ) => (
124
- < div style = { { display : 'flex' , alignItems : 'center' , justifyContent : 'space-between' } } >
125
- { params . value === true
126
- ? 'Processed'
127
- : 'Pending' }
128
- </ div >
129
- ) ,
130
123
} ,
131
124
{
132
125
field : 'points' ,
@@ -158,6 +151,17 @@ const dataColumns: AdministrationGridColDef[] = [
158
151
filterable : false ,
159
152
sortable : false ,
160
153
} ,
154
+ {
155
+ field : 'workerName' ,
156
+ headerName : 'Worker Name' ,
157
+ align : 'center' ,
158
+ headerAlign : 'center' ,
159
+ type : 'string' ,
160
+ flex : 1 ,
161
+ hidden : true ,
162
+ filterable : false ,
163
+ sortable : false ,
164
+ } ,
161
165
{
162
166
field : 'createdOn' ,
163
167
headerName : `${ CREATED_ON } ` ,
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ public class SubmissionInListModel : IMapExplicitly
23
23
24
24
public string ? ContestId { get ; set ; }
25
25
26
+ public string ? WorkerName { get ; set ; }
27
+
26
28
public bool IsCompiledSuccessfully { get ; set ; }
27
29
28
30
public bool Processed { get ; set ; }
You can’t perform that action at this time.
0 commit comments