cleaning dashboard & tags
This commit is contained in:
parent
98d6492582
commit
7157305d5e
8 changed files with 0 additions and 59 deletions
|
@ -1,21 +0,0 @@
|
|||
-#%h4.dash-tabs
|
||||
= link_to "Activities", dashboard_path, :remote => true, :class => "dash-button #{"active" if current_page?(dashboard_path) || current_page?(root_path) }", :id => "activities_slide"
|
||||
= link_to "Issues", dashboard_issues_path, :remote => true, :class => "dash-button #{"active" if current_page?(dashboard_issues_path)}", :id => "issues_slide"
|
||||
= link_to "Merge Requests", dashboard_merge_requests_path, :remote => true, :class => "dash-button #{"active" if current_page?(dashboard_merge_requests_path)}", :id => "merge_requests_slide"
|
||||
= image_tag "ajax-loader-facebook.gif", :class => "dashboard-loader"
|
||||
|
||||
:javascript
|
||||
$(function(){
|
||||
$(".dash-button").live("click", function() {
|
||||
$(".dash-button").removeClass("active");
|
||||
$(this).addClass("active");
|
||||
});
|
||||
|
||||
$(".dash-button").live("ajax:before", function() {
|
||||
$(".dashboard-loader").show();
|
||||
});
|
||||
|
||||
$(".dash-button").live("ajax:complete", function() {
|
||||
$(".dashboard-loader").hide();
|
||||
});
|
||||
});
|
|
@ -2,5 +2,4 @@
|
|||
|
||||
#dashboard-content.dashboard-content.content
|
||||
= render "dashboard/sidebar"
|
||||
= render "dashboard/menu"
|
||||
#news-feed.news-feed= render "dashboard/projects_feed"
|
||||
|
|
|
@ -2,5 +2,4 @@
|
|||
|
||||
#dashboard-content.dashboard-content.content
|
||||
= render "dashboard/sidebar"
|
||||
= render "dashboard/menu"
|
||||
#news-feed.news-feed= render "dashboard/issues_feed"
|
||||
|
|
|
@ -2,5 +2,4 @@
|
|||
|
||||
#dashboard-content.dashboard-content.content
|
||||
= render "dashboard/sidebar"
|
||||
= render "dashboard/menu"
|
||||
#news-feed.news-feed= render "dashboard/merge_requests_feed"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue