aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers
AgeCommit message (Collapse)Author
2018-03-14Refs #5972 @1h; Automatic registration_number generationZog
2018-03-14Refs #6146; Fix display in tablesZog
2018-03-12Refs #5146 Line state updatecedricnjanga
2018-03-12Refs #6133; Move heklper in the right placeZog
2018-03-12Refs #6133; Full UX for exportsZog
Also added a *dumb* `WorkgroupExport` for testing purposes.
2018-03-12Refs #6133; Sample SimpeImporter ImplementationZog
Still needs to be made asynchronous
2018-03-12Refs #6133; First Crud for exportsZog
2018-03-08Fix compliance_check_resource and compliance_check_set status Refs #5989 @15989-fix_compliance_check_resource_statusLuc Donnet
2018-03-03Merge pull request #356 from af83/6044_add_ccset_spec_affectationLuc Donnet
Refs #6044 Add spec to check that CCSet#index only dislays objets fro…
2018-03-01Fix bug when object not exist anymore and table_builder must display a link ↵Luc Donnet
Refs #5877
2018-03-01Merge pull request #302 from af83/5877-handle-nil-objects-in-tablebuilderhelperLuc Donnet
5877 Add a condition on TableBuilderHelper::Column
2018-02-28Refs #6044 Add spec to check that CCSet#index only dislays objets from user orga6044_add_ccset_spec_affectationcedricnjanga
- Small change in ComplianceControlSetsHelper#organisations_filters_values to avoid errors - Add spec
2018-02-23Refs 5878; Add ComplianceCheck#showZog
2018-02-20Use page as will_paginate param_name by default. Refs #3542Alban Peignier
2018-02-20Merge pull request #308 from ↵Alban Peignier
af83/5911-stops-filter-on-referential-journeys-index Better stops filters on ReferentialVJs#index. Refs #5911
2018-02-20Refs #5863 @6h; Remove workbench id from the querystringZog
Infer it when possible, and use a nested otherwise
2018-02-19Refs #5911 @2h; Better stops filters on ReferentialVJs#indexZog
2018-02-12Refs #5877; Add a condition on TableBuilderHelper::Column5877-handle-nil-objects-in-tablebuilderhelperZog
2018-02-07update calendar build_links for table buildercedricnjanga
2018-02-07First draft for including calendars into workgroup for having appropriate ↵cedricnjanga
scoping
2018-02-06update calendar build_links for table buildercedricnjanga
2018-02-06First draft for including calendars into workgroup for having appropriate ↵cedricnjanga
scoping
2018-02-06Refs #5683 @2H; Fix specs and refactor action_linksZog
Note: Did not fix the missing workgroup in the calendar mailer
2018-02-06update calendar build_links for table buildercedricnjanga
2018-02-06First draft for including calendars into workgroup for having appropriate ↵cedricnjanga
scoping
2018-02-06Refs #3542; Adds paginationZog
2018-02-06Refs #3542 @4h; First UIZog
Still missing: - Pagination - Filters
2018-02-06Refs #5832 @1h; Show active filtersZog
2018-02-06Refs #5758 @1h; Add localized names to StopAreasZog
2018-02-06Refs #5682 @3h; Use same UI as for timetablesZog
2018-02-06Refs #5741 @2h; Add a map of all routes on a line#showZog
2018-02-06Refs #5718; Show times at stops in ReferentialVehicleJourneys#indexZog
When 1 or 2 stops have been selected
2018-01-31Fix calendar mailer urlcedricnjanga
2018-01-31update calendar build_links for table buildercedricnjanga
2018-01-31First draft for including calendars into workgroup for having appropriate ↵cedricnjanga
scoping
2018-01-31Refs #5683 @2H; Fix specs and refactor action_linksZog
Note: Did not fix the missing workgroup in the calendar mailer
2018-01-30Merge branch 'master' into 5683-add_workgroup_id_to_calendarscedricnjanga
2018-01-25Refs #5586; Fix specsZog
2018-01-25ComplianceControlDecorator: Convert to new action links interfaceTeddy Wing
I was getting this error: ActionView::Template::Error (undefined method `split' for nil:NilClass Did you mean? split_all): 16: 17: / compliance controls without block 18: = render_compliance_control_block 19: = render_compliance_controls(@direct_compliance_controls) 20: 21: / compliance controls with block 22: - if params[:q] && params[:q][:compliance_control_block_id_eq_any].try(:present?) app/helpers/table_builder_helper.rb:110:in `item_row_class_name' app/helpers/table_builder_helper.rb:290:in `tbody' app/helpers/table_builder_helper.rb:97:in `table_builder_2' app/helpers/compliance_control_sets_helper.rb:79:in `block in render_table_builder' app/helpers/compliance_control_sets_helper.rb:78:in `render_table_builder' app/helpers/compliance_control_sets_helper.rb:71:in `block (2 levels) in render_compliance_controls' app/helpers/compliance_control_sets_helper.rb:70:in `block in render_compliance_controls' app/helpers/compliance_control_sets_helper.rb:69:in `render_compliance_controls' app/views/compliance_control_sets/show.html.slim:19:in `_app_views_compliance_control_sets_show_html_slim___3528509151208629266_70279137561480' The model name wasn't accessible from the view because this collection is set up in an unorthodox way without a decorated collection. Got help from Johan, and we ended up using the `model` param passed into the table builder for this. It looks terrible with `model` all over the place, but at least it gets us past the problem. Refs #5586
2018-01-25Refs #5586 @2h; Fix specsZog
2018-01-25Refs #5586 @1h; Ensure retrocompatibilityZog
And remove snapshots (we don't need it anymore)
2018-01-25Refs #5586 @2h; Better implementation of groupsZog
Used it in Lines#index and Lines#show, probably broke everything else
2018-01-25Refs #5586 @4h; First `action_links` refactorZog
- Implement new API - Migrate the LineDecorator - ensure no change on the "lines/index" view
2018-01-24update calendar build_links for table buildercedricnjanga
2018-01-23First draft for including calendars into workgroup for having appropriate ↵cedricnjanga
scoping
2018-01-12Refs #5163cedricnjanga
Add compliance check resource status helper Add small changes for CSV export
2018-01-11Create Referential#full_name and try to use it (to be completed). Refs #5546Alban Peignier
2018-01-10Merge pull request #204 from af83/5413-read_only_policy_for_finalised_refsAlban Peignier
Read only policy for referentials in suite. Refs #5413
2018-01-10Fixes typo in referential_read_only?. Removed finalised? test (no such ↵Alban Peignier
method). Refs #5413
2018-01-09Fix UI compliance check set statuscedricnjanga