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

4 lines
226 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
- if environment.has_terminals? && can?(current_user, :admin_environment, @project)
2021-01-29 00:20:46 +05:30
= link_to terminal_project_environment_path(@project, environment), class: 'gl-button btn terminal-button' do
2018-11-08 19:23:39 +05:30
= sprite_icon('terminal')