debian-mirror-gitlab/app/views/projects/environments/_terminal_button.html.haml
2021-01-29 00:20:46 +05:30

3 lines
226 B
Text

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