Skip to content
Snippets Groups Projects
Commit d0fac885 authored by Reinder Kraaij's avatar Reinder Kraaij :eye:
Browse files

Show projects in view

parent 88ba3766
No related branches found
No related tags found
2 merge requests!1338Resolve TMSS-2950 "Front end only tweak reservations",!1334Resolve TMSS-2950
......@@ -254,8 +254,8 @@ export class ReservationView extends Component {
<span className="col-lg-4 col-md-4 col-sm-12">{(this.state.reservation.stop_time && this.state.reservation.stop_time !== 'Unknown')?moment.utc(this.state.reservation.stop_time).format(UIConstants.CALENDAR_DATETIME_FORMAT): 'Unknown'}</span>
</div>
<div className="p-grid">
<label className="col-lg-2 col-md-2 col-sm-12">Project</label>
<span className="col-lg-4 col-md-4 col-sm-12">{(this.state.reservation.project_id)?this.state.reservation.project_id:''}</span>
<label className="col-lg-2 col-md-2 col-sm-12">Projects</label>
<span className="col-lg-4 col-md-4 col-sm-12">{(this.state.reservation.projects_ids)?this.state.reservation.projects_ids.join(','):''}</span>
<label className="col-lg-2 col-md-2 col-sm-12">Duration (Days HH:mm:ss)</label>
<span className="col-lg-4 col-md-4 col-sm-12">{(this.state.reservation.duration)?UnitConverter.getSecsToDDHHmmss(this.state.reservation.duration):'Unknown'}</span>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment