aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/lines
AgeCommit message (Collapse)Author
2018-06-01Refs #7259 Add seasonal attribute to line form7259-add-season-attribute-to-line-formcedricnjanga
2018-05-28Merge pull request #591 from af83/6830-lines-sort-on-statusLuc Donnet
Refs #6830 Fix Lines sort on status
2018-05-28Refs #6955 Add new translation + custom delete confirmation modalcedricnjanga
2018-05-24Refs #6830 Fix Lines sort on status6830-lines-sort-on-statuscedricnjanga
2018-04-24Refs #6431 Add small changes on stop area & line status display to have the ↵cedricnjanga
same logic
2018-04-24Refs #6431 small changes on line & stop area statuscedricnjanga
2018-04-19Refs #6603; Fix missing translationZog
2018-04-17Refs #6505; Fix translations in Line#show6425-fix-lines-showZog
2018-04-17Refs #6508; Uniformize lines showZog
2018-04-10Refs 5846; Fix wrong translationZog
And a very small css fix
2018-04-04Refs #6370 Add some more translationscedricnjanga
2018-03-14Refs #6146; Fix display in tablesZog
2018-03-14Refs #6146; Fix typoZog
2018-03-12Refs #5146 Line state updatecedricnjanga
2018-03-01Refs #6052 Correct lines#show translationscedricnjanga
2018-02-02Refs #5832 @1h; Show active filters5832-fix-filter-by-stopareas-on-vjs-indexZog
2018-01-25Refs #5586 @2h; Refactor the whole thingZog
We now have a ModelDecorator and an "instance" decorator, all in the same file, with the same API.
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 @1h; Primary and secondary lonks implementationZog
As well as the `to_html` method
2018-01-25Refs #5586 @4h; First `action_links` refactorZog
- Implement new API - Migrate the LineDecorator - ensure no change on the "lines/index" view
2017-12-28Use current_organisation as begin_of_association_chain in ↵Alban Peignier
Lines/Companies/Networks/GroupOfLinesController. Refs #5102
2017-12-21Refs #5361 @1H; Make company optional in Lines formZog
And handle the case when it is nil in the views
2017-12-13Line#show display secondary companies as a listXinhui
Refs #5142
2017-12-13Add secondary_company to Line formXinhui
Refs #5142
2017-11-30Merge branch 'master' into 4981_last_editorXinhui Xu
2017-11-29Remove membership test of current organisation in lines#index. Refs #4824Alban Peignier
2017-11-28Refs #4824, #4825 fix wrong translate in lines, network, stop_area, ↵Guillaume
enumerize for source_type_name, comments map display in stop_area form
2017-11-28Refactoring move render pageheader into layoutXinhui
2017-11-28Replace pageheader by render partialXinhui
2017-11-27Merge branch 'master' into 4824-create_line_referentialsGuillaume
2017-11-27Merge branch 'master' of github.com:af83/stif-boivcedricnjanga
2017-11-27Refs #4941 Fix objectid short version Display on viewscedricnjanga
2017-11-26Use t('id_codif') and t('id_reflex') to prevent hardcoded strings. Refs #5081Alban Peignier
2017-11-23Refs #4824, #4825 update old form views to new layout with simple_form, add ↵Guillaume
permissions for create an edit in line and network controller
2017-11-22Merge branch 'master' into 4941-refactoring_object_idcedricnjanga
2017-11-21Change the way we name classescedricnjanga
We now always use modules for namespaces => same structure for models, decorators, policies...
2017-11-17Refs: #4823@4h; Fixed Transport(Sub)mode validation bugRobert
2017-11-07Add missing breadcrumb on edit page4820_refactoring_breadcrumbXinhui
2017-10-19Breadcrumb for lines - networksXinhui
2017-10-05Refs #4693 Change view bug on transport submode due to last Codifligne synccedricnjanga
2017-10-04Refs 4517 Add some modification to the two modules to add methods to list ↵cedricnjanga
the sorted transport modes and submodes
2017-09-29Refs Adapt transport mode & submode translationscedricnjanga
2017-09-28add helper for line_status with pictoGuillaume
2017-09-01table_builder_2: Use `Column#link_to` in all table builder callsTeddy Wing
Rewrite table builder calls to work with the new `TableBuilderHelper::Column#link_to` mechanism for defining the linked column and what it points to. This takes the link out of the `TableBuilderHelper`, and puts it into the hands of the view. It gives us more flexibility with regards to what can be defined as a link in our tables and what those links point to. This will be used in a more meaningful way in the `imports#show` page to list `NetexImport`s and provide links to both the referential associated with a Netex import and the imported file status page from a table row.
2017-08-30Updating project-specific iconfont for page headers (in views)jpl
2017-07-06Lines#index: Use new `table_builder_2`Teddy Wing
Convert the table of Lines to use the new version of the table builder. Update the view with the new calling format of the helper. The controller needs to decorate the `@lines` collection in order to make `#action_links` available to the table builder. Needed to update the "_filters.html.slim" template to call `#human_attribute_name` on the class instead of the collection, because we can't do that on a decorated collection. Refs #3479
2017-07-04Refs #3961: updating wording (fixes)jpl
2017-06-19Lines#show: Render header links from #action_linksTeddy Wing
Get the header links from the decorator so we can reuse them instead of defining them directly in the template. Add an option to the `destroy_link_content` Rails helper method to allow us to specify alternate translation keys, giving us different text in the button label. Added this because the template in question uses a different label than the others (usually it's `actions.destroy`). Refs #3479
2017-05-12Fix sort line transport mode alphabeticallyXinhui
Refs #3109
2017-04-28Add seasonal to linesXinhui
Refs #3077