gitlabhq/app/views/projects/show.js.haml

8 lines
259 B
Plaintext
Raw Normal View History

2012-03-02 23:09:17 +01:00
- 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'))}");