debian-mirror-gitlab/app/views/projects/environments/_pin_button.html.haml

4 lines
283 B
Text
Raw Normal View History

2020-03-09 13:42:32 +05:30
- if environment.auto_stop_at? && environment.available?
2021-01-29 00:20:46 +05:30
= button_to cancel_auto_stop_project_environment_path(environment.project, environment), class: 'gl-button btn btn-secondary has-tooltip', title: _('Prevent environment from auto-stopping') do
2020-03-09 13:42:32 +05:30
= sprite_icon('thumbtack')