diff options
| author | Zog | 2017-12-28 15:16:10 +0100 | 
|---|---|---|
| committer | Zog | 2017-12-28 15:16:10 +0100 | 
| commit | 4857aad7f4cbbdef7ab1d0596fe4712930476ef9 (patch) | |
| tree | 61df71b7d0d1339bda0ef9585c3eed1c2829ea5d /app/javascript | |
| parent | 19fe21ab7dfde92a3ae7076d1b28e853c6858f38 (diff) | |
| download | chouette-core-4857aad7f4cbbdef7ab1d0596fe4712930476ef9.tar.bz2 | |
Show calendar colors in Timetables modal in VehicleJourneys editorfix-routes-editor
Diffstat (limited to 'app/javascript')
| -rw-r--r-- | app/javascript/vehicle_journeys/components/tools/TimetablesEditVehicleJourney.js | 7 | 
1 files changed, 6 insertions, 1 deletions
diff --git a/app/javascript/vehicle_journeys/components/tools/TimetablesEditVehicleJourney.js b/app/javascript/vehicle_journeys/components/tools/TimetablesEditVehicleJourney.js index 56f80ebb5..fdaa5aeed 100644 --- a/app/javascript/vehicle_journeys/components/tools/TimetablesEditVehicleJourney.js +++ b/app/javascript/vehicle_journeys/components/tools/TimetablesEditVehicleJourney.js @@ -66,7 +66,12 @@ export default class TimetablesEditVehicleJourney extends Component {                                {this.props.modal.modalProps.timetables.map((tt, i) =>                                  <div className='nested-fields' key={i}>                                    <div className='wrapper'> -                                    <div> <a href={this.timeTableURL(tt)} target="_blank">{tt.comment}</a> </div> +                                    <div> +                                      <a href={this.timeTableURL(tt)} target="_blank"> +                                        <span className="fa fa-circle mr-xs" style={{color: tt.color || 'black'}}></span> +                                        {tt.comment} +                                      </a> +                                    </div>                                      {                                        this.props.editMode &&                                        <div>  | 
