- updated sviluppumbria logo;
- updated templates for pre instructor;
This commit is contained in:
@@ -627,15 +627,16 @@ const BandoApplication = () => {
|
||||
</div>
|
||||
: null}
|
||||
|
||||
<div className="appPageSection">
|
||||
<Button
|
||||
type="button"
|
||||
disabled={'READY' !== applicationStatus}
|
||||
onClick={onSubmit}
|
||||
label={__('Invia', 'gepafin')}
|
||||
icon="pi pi-download"
|
||||
iconPos="right"/>
|
||||
</div>
|
||||
{'DRAFT' !== applicationStatus
|
||||
? <div className="appPageSection">
|
||||
<Button
|
||||
type="button"
|
||||
disabled={'READY' !== applicationStatus}
|
||||
onClick={onSubmit}
|
||||
label={__('Invia', 'gepafin')}
|
||||
icon="pi pi-check"
|
||||
iconPos="right"/>
|
||||
</div> : null}
|
||||
|
||||
<div className="appPage__spacer"></div>
|
||||
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
import React, { useState, useEffect} from 'react';
|
||||
import { __ } from '@wordpress/i18n';
|
||||
import { is, uniq } from 'ramda';
|
||||
import { Link } from 'react-router-dom';
|
||||
|
||||
// store
|
||||
//import { storeSet, storeGet } from '../../../../store';
|
||||
import { useStore } from '../../../../store';
|
||||
|
||||
// api
|
||||
//import ApplicationService from '../../../../service/application-service';
|
||||
import AssignedApplicationService from '../../../../service/assigned-application-service';
|
||||
|
||||
// components
|
||||
import { FilterMatchMode, FilterOperator } from 'primereact/api';
|
||||
@@ -18,8 +19,6 @@ import { InputIcon } from 'primereact/inputicon';
|
||||
import { Button } from 'primereact/button';
|
||||
import { Calendar } from 'primereact/calendar';
|
||||
import ProperBandoLabel from '../../../../components/ProperBandoLabel';
|
||||
import AssignedApplicationService from '../../../../service/assigned-application-service';
|
||||
import { useStore } from '../../../../store';
|
||||
|
||||
|
||||
const PreInstructorDomandeTable = () => {
|
||||
@@ -128,10 +127,13 @@ const PreInstructorDomandeTable = () => {
|
||||
};
|
||||
|
||||
const actionsBodyTemplate = (rowData) => {
|
||||
return <Button severity="info"
|
||||
/*return <Button severity="info"
|
||||
onClick={() => createEvaluation(rowData.id)}
|
||||
label={__('Valuta', 'gepafin')}
|
||||
icon="pi pi-pencil" size="small" iconPos="right" />
|
||||
icon="pi pi-pencil" size="small" iconPos="right" />*/
|
||||
return <Link to={`/domande/${rowData.id}`}>
|
||||
<Button severity="info" label={__('Valuta', 'gepafin')} icon="pi pi-eye" size="small" iconPos="right"/>
|
||||
</Link>
|
||||
}
|
||||
|
||||
const header = renderHeader();
|
||||
|
||||
@@ -20,7 +20,7 @@ const DashboardPreInstructor = () => {
|
||||
//const [mainStats, setMainStats] = useState({});
|
||||
|
||||
const goToAllEvaluations = () => {
|
||||
navigate('/valutazioni');
|
||||
navigate('/domande');
|
||||
}
|
||||
|
||||
return(
|
||||
|
||||
@@ -135,12 +135,12 @@ const AllUsersTable = () => {
|
||||
return <Tag value={getBandoLabel(option)} severity={getBandoSeverity(option)}/>;
|
||||
};
|
||||
|
||||
const actionsBodyTemplate = (rowData) => {
|
||||
/*return <Link to={`/utenti/${rowData.id}`}>
|
||||
/*const actionsBodyTemplate = (rowData) => {
|
||||
/!*return <Link to={`/utenti/${rowData.id}`}>
|
||||
<Button severity="info" label={__('Modifica', 'gepafin')} icon="pi pi-pencil" size="small" iconPos="right"/>
|
||||
</Link>*/
|
||||
</Link>*!/
|
||||
return null;
|
||||
}
|
||||
}*/
|
||||
|
||||
const header = renderHeader();
|
||||
|
||||
@@ -169,8 +169,8 @@ const AllUsersTable = () => {
|
||||
filterField="lastLogin" dataType="date"
|
||||
style={{ minWidth: '10rem' }}
|
||||
body={dateLastAccessBodyTemplate} filter filterElement={dateFilterTemplate}/>
|
||||
<Column header={__('Azioni', 'gepafin')}
|
||||
body={actionsBodyTemplate}/>
|
||||
{/*<Column header={__('Azioni', 'gepafin')}
|
||||
body={actionsBodyTemplate}/>*/}
|
||||
</DataTable>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user