Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C chouette-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 36
    • Merge requests 36
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • chouette-core
  • Merge requests
  • !165

Merged
Created Dec 20, 2017 by Administrator@rootMaintainer

5340 Deactivate lines instead of destroying them

  • Overview 0
  • Commits 3
  • Changes 19

Created by: zog

  • 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_linksin 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
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: 5340-deactivate-lines