forked from dcrec1/signal
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
on home page only projects status is reloaded and its done via ajax
- Loading branch information
Showing
5 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
%meta{'http-equiv' => "Refresh", :content => "5"} | ||
.projects | ||
- for project in @projects do | ||
= link_to render(:partial => "shared/project", :locals => {:project => project}), project_path(project) | ||
.projects= render :partial => "shared/projects" | ||
|
||
= periodically_call_remote :url => projects_status_path, :update => '.projects' | ||
|
||
= link_to I18n.t(:new_project), new_project_path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- for project in @projects do | ||
= link_to render(:partial => "shared/project", :locals => {:project => project}), project_path(project) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters