gitlab-org--gitlab-foss/app/views/projects/environments/_terminal_button.html.haml

4 lines
216 B
Text
Raw Normal View History

2016-12-14 19:59:04 -05:00
- if environment.has_terminals? && can?(current_user, :admin_environment, @project)
= link_to terminal_project_environment_path(@project, environment), class: 'btn terminal-button' do
2018-06-27 04:51:37 -04:00
= sprite_icon('terminal')