Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 12292 | Rev 12314 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 12292 Rev 12301
Línea 127... Línea 127...
127
													<tr key={index}>
127
													<tr key={index}>
128
														<td className='text-vertical-middle'>{item.last_date}F</td>
128
														<td className='text-vertical-middle'>{item.last_date}F</td>
129
														<td className='text-vertical-middle'>
129
														<td className='text-vertical-middle'>
130
															{item.form}
130
															{item.form}
131
															<br />
131
															<br />
-
 
132
															{
-
 
133
																item.actions.link_report_both
-
 
134
																	?
-
 
135
																	<div>
-
 
136
																		<a
-
 
137
																			className="btn btn-info btn-sm"
-
 
138
																			href={item.actions.link_report_both}
-
 
139
																			target="_blank" rel="noreferrer" >
-
 
140
																			<i className="fa fa-file-o" />
-
 
141
																			PDF de evaluacion conjunta
-
 
142
																		</a>
-
 
143
																	</div>
-
 
144
																	:
132
															<button
145
																	<button
133
																className="btn btn-info btn-sm"
146
																		className="btn btn-info btn-sm"
134
																onClick={() => {
147
																		onClick={() => {
135
																	setActionLink(item.actions.link_both)
148
																			setActionLink(item.actions.link_both)
136
																	history.push('evaluations/both')
149
																			history.push('evaluations/both')
137
																}}
150
																		}}
138
															>
151
																	>
139
																<i className="fa fa-external-link" />
152
																		<i className="fa fa-external-link" />
140
																Evaluacion en conjunto
153
																		Evaluacion en conjunto
141
															</button>
154
																	</button>
-
 
155
															}
-
 
156
 
142
														</td>
157
														</td>
143
														<td className='text-vertical-middle'>
158
														<td className='text-vertical-middle'>
144
															{item.supervisor}
159
															{item.supervisor}
-
 
160
															{
-
 
161
																item.actions.link_report_superviser
-
 
162
																	?
-
 
163
																	<div>
-
 
164
																		<a
-
 
165
																			className="btn btn-info btn-sm"
-
 
166
																			href={item.actions.link_report_superviser}
-
 
167
																			target="_blank" rel="noreferrer" >
-
 
168
																			<i className="fa fa-file-o" />
-
 
169
																			PDF de evaluacion del supervisor
-
 
170
																		</a>
-
 
171
																	</div>
-
 
172
																	:
145
															<button
173
																	<button
146
																className="btn btn-info btn-sm"
174
																		className="btn btn-info btn-sm"
147
																onClick={() => {
175
																		onClick={() => {
148
																	setActionLink(item.actions.link_superviser)
176
																			setActionLink(item.actions.link_superviser)
149
																	history.push('evaluations/superviser')
177
																			history.push('evaluations/superviser')
150
																}}
178
																		}}
151
															>
179
																	>
152
																<i className="fa fa-external-link" />
180
																		<i className="fa fa-external-link" />
153
																Evaluacion del supervisor
181
																		Evaluacion del supervisor
154
															</button>
182
																	</button>
-
 
183
															}
155
														</td>
184
														</td>
156
														<td className='text-vertical-middle'>
185
														<td className='text-vertical-middle'>
157
															{`${item.first_name} ${item.last_name}`}
186
															{`${item.first_name} ${item.last_name}`}
-
 
187
															{
-
 
188
																item.actions.link_report_self
-
 
189
																	?
-
 
190
																	<div>
-
 
191
																		<a
-
 
192
																			className="btn btn-info btn-sm"
-
 
193
																			href={item.actions.link_report_self}
-
 
194
																			target="_blank" rel="noreferrer" >
-
 
195
																			<i className="fa fa-file-o" />
-
 
196
																			PDF de autoevaluación
-
 
197
																		</a>
-
 
198
																	</div>
-
 
199
																	:
158
															<button
200
																	<button
159
																className="btn btn-info btn-sm"
201
																		className="btn btn-info btn-sm"
160
																onClick={() => {
202
																		onClick={() => {
161
																	setActionLink(item.actions.link_self)
203
																			setActionLink(item.actions.link_self)
162
																	history.push('evaluations/self')
204
																			history.push('evaluations/self')
163
																}}
205
																		}}
164
															>
206
																	>
165
																<i className="fa fa-external-link" />
207
																		<i className="fa fa-external-link" />
166
																Autoevaluación
208
																		Autoevaluación
167
															</button>
209
																	</button>
-
 
210
															}
-
 
211
 
168
														</td>
212
														</td>
169
														<td>
213
														<td>
170
															<div className="d-flex align-items-center" style={{ gap: '5px' }}>
214
															<div className="d-flex align-items-center" style={{ gap: '5px' }}>
171
																{
215
																{
172
																	permisions.allowDelete
216
																	permisions.allowDelete