debian-mirror-gitlab/app/views/projects/environments/_terminal_button.html.haml
2017-08-17 22:00:37 +05:30

3 lines
239 B
Text

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