debian-mirror-gitlab/app/views/projects/buttons/_koding.html.haml
2016-09-13 17:45:13 +05:30

7 lines
318 B
Text

- if koding_enabled? && current_user && can_push_branch?(@project, @project.default_branch)
- if @repository.koding_yml
= link_to koding_project_url(@project), class: 'btn', target: '_blank' do
Run in IDE (Koding)
- else
= link_to add_koding_stack_path(@project), class: 'btn' do
Set Up Koding