aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers
AgeCommit message (Collapse)Author
2018-01-09Refs: #5413@0.5h; Refactoring of #archived_or_finalised?Robert
2018-01-09Refs: #5413@0.3h; Fix bug in newapplciation helper unarchive link creationRobert
2018-01-08Fixes: #5413@1h; Specs implementedRobert
2018-01-03Fix import messages style Refs #4473 @2Luc Donnet
2017-12-29Replace CommonHelper.string_keys_to_symbols by Hash#symbolize_keysAlban Peignier
2017-12-21Skip link class in gear_menu_link when emptyAlban Peignier
2017-12-21Refs #5361 @1H; Make company optional in Lines formZog
And handle the case when it is nil in the views
2017-12-21Refs #5430 @2h; Deactivate lines instead of destroying themZog
- Add `activate` and `deactivate` actions in `LinesController`, as well as corresponding routes - Add `activate!` and `deactivate!` methods in `Chouette::Line`, as well as `activated?` - Add `activate?` and `deactivate?` permissions in `LinePolicy` - Add corresponding `action_links`in the Decorator - Create helper for these actions - Add an optional `'extra_class` to the Links - Update styles for ".delete-action" to handle the case where there are several - Add I18n keys accordingly
2017-12-21Take review into accountcedricnjanga
2017-12-21BusinessCalendar => PurchaseWindowcedricnjanga
belongs_to referential
2017-12-21Handle page title error displaycedricnjanga
attempt to add select tag for model color
2017-12-20Merge pull request #151 from ↵Luc Donnet
af83/5281-workbench-import-structural-bug-reading-zip 5281 workbench import structural bug reading zip
2017-12-19Refs #5333@1.5h; Use permissions to sync StopAreas and LinesZog
- add missing policies - update permissions translator - update views to check for the permission - update views helper to check for the permission - uipdate controllers to check for the permission
2017-12-19Refs: #5291@1h; Update TableBuilderHelperZog
Update TableBuilderHelper to allow the `selectable` param to be a lambda, thus allowing us to have row-based granularity.
2017-12-19Ref #5291@2h; Specs setupZog
- Refactor specs helper to be more generic - Write missing specs for the Workbenches#show view We now have failing tests highlighting the bug
2017-12-15Refs: #5281@0.5h; Show error messages in view imports/showRobert
- Partial created - Partial used - Common Helper - String Keys => Symbol Keys - Dead Code eliminated
2017-12-13Fix compliance control block#edit view pageheadercedricnjanga
2017-12-13Line#show display secondary companies as a listXinhui
Refs #5142
2017-12-11Refs: #5197@2h; Rebasing and removing empty helper spec5197-compliance-control-set-view-specRobert
Bad conflict resolution during rebase fixed (app/helpers/compliance_control_sets_helper.rb)
2017-12-11Refs: #5197@0.25h; Minor ApprovementsRobert
2017-12-11Fixes: #5197@0.15h; Red Green Cycle to test the specs and the implementationRobert
- Removed functionality --> Red - Refactored and added functionality --> Green
2017-12-11Merge pull request #144 from af83/4812-display_empty_compliance_control_blocksLuc Donnet
Refs 4812 UX changes to show empty compliance control blocks so the u…
2017-12-08Refs 4812 UX changes to show empty compliance control blocks so the user can ↵4812-display_empty_compliance_control_blockscedricnjanga
see them all
2017-12-07Refs: #5198@1.5h; Specing the presence of the Modal Action BoxRobert
- verifying the visibility of the action box - no dynamic behavior of the action box is verified (yet?) - would need javascript execution - refactoring suggestions --> https://projects.af83.io/issues/5206
2017-12-03Refactor call for import resources metrics in import_resources#indexLuc Donnet
2017-12-01Fix css position of last_update authorXinhui
Refs #5151
2017-11-30Merge branch 'master' into 4981_last_editorXinhui Xu
2017-11-30Merge pull request #128 from af83/4987-compliance_check-sets_showLuc Donnet
4987 compliance check sets show
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-28Edit helper page_header_meta to display default default_whodunnitXinhui
2017-11-28Refactoring move render pageheader into layoutXinhui
2017-11-28Refactoring pageheaderXinhui
2017-11-27Merge branch 'master' of github.com:af83/stif-boivcedricnjanga
2017-11-27Refs #5087 Take ImportResource metrics changes into account in viewscedricnjanga
2017-11-26Ignore indefined current_organisation in render_custom_view. Refs #4735Alban Peignier
2017-11-26Use debug message for render_custom_view. Refs #4735Alban Peignier
2017-11-26Use an helper to invoke render method safely. Refs #4735Alban Peignier
2017-11-22Refs #4987 create compliance_check_sets#showGuillaume
2017-11-21referentials_helper.rb#line_status: Add documentation commentTeddy Wing
Replace the existing comment, which seemed redundant, with a description of what the helper method does. Refs #5005
2017-11-21referentials_helper.rb#line_status: Fix style of text labelTeddy Wing
The label previously took on the colour of the icon (green or red) and was set in Times/browser default. It was set in the wrong style because the label was put inside the `<span>` for the icon. To fix the problem, leave the icon `<span>` empty and put the label just after it in a text DOM node. This makes the text label render correctly, in black 14px Open Sans. Also remove the unnecessary `cls` variables and ternaries as these are already handled by the outer `if` condition. Refs #5005
2017-11-17Refs: #4823@1.7h; CodeReview #show -> #executedRobert
2017-11-17Fixes #4823@1h;Robert
- I18n.t explicit in helper so that it can be used in specs. - Typo in spec db setup fixed and setup of blocks put into create instead of later update.
2017-11-17Refs: #4283@16h;Robert
- Implements the view Missing: - Spex failing (xpath navigation inside the display blocks is still faulty) - Links to compliance_checks#show do not work (actually not this page's problem)
2017-11-17Merge branch '4516_cleanup_rule_parameter_set'Xinhui
2017-11-14Remove rule parameter set from helperXinhui
Refs #4516
2017-11-14Remove rule parameter set controller, views, helperXinhui
Refs #4516
2017-11-13Refs #4952 Fix bug related to compliance control set action links displaycedricnjanga
2017-11-09Remove route_sections controllers, views, helperXinhui
2017-11-03Helper limit breadcrumb sizeXinhui
Refs #4820
2017-11-03Refs: #4774@2h;Robert
View correctly implemented, but spex on filters do not work yet.