debian-mirror-gitlab/app/views/projects/environments/_pin_button.html.haml
2020-03-13 15:44:24 +05:30

3 lines
273 B
Text

- if environment.auto_stop_at? && environment.available?
= button_to cancel_auto_stop_project_environment_path(environment.project, environment), class: 'btn btn-secondary has-tooltip', title: _('Prevent environment from auto-stopping') do
= sprite_icon('thumbtack')