gitlabhq/app/views/projects/show.js.haml
Dmitriy Zaporozhets 6de7dc1e67 New projects page
2012-03-03 00:09:17 +02:00

8 lines
259 B
Plaintext

- if @project.repo_exists? && @project.has_commits?
:plain
$(".show_holder").html("#{escape_javascript(render(:partial => 'projects/show'))}");
- else
:plain
$(".show_holder").html("#{escape_javascript(render(:template => 'projects/empty'))}");