New projects page
This commit is contained in:
parent
9f1a5f415a
commit
6de7dc1e67
6 changed files with 111 additions and 77 deletions
7
app/views/projects/show.js.haml
Normal file
7
app/views/projects/show.js.haml
Normal file
|
@ -0,0 +1,7 @@
|
|||
- 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'))}");
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue