gitlab-org--gitlab-foss/app/views/projects/environments/_terminal_button.html.haml
2018-06-27 11:58:26 +03:00

3 lines
216 B
Text

- if environment.has_terminals? && can?(current_user, :admin_environment, @project)
= link_to terminal_project_environment_path(@project, environment), class: 'btn terminal-button' do
= sprite_icon('terminal')