Remove button for empty repo. Last push on dashboard. Better notes count indicator for issues
This commit is contained in:
parent
6f2c193204
commit
81da8e46f2
7 changed files with 40 additions and 24 deletions
|
@ -13,6 +13,7 @@ class DashboardController < ApplicationController
|
|||
@issues = @issues.includes(:author, :project)
|
||||
|
||||
@events = Event.where(:project_id => @projects.map(&:id)).recent.limit(20)
|
||||
@last_push = Event.where(:project_id => @projects.map(&:id)).recent.code_push.limit(1).first
|
||||
end
|
||||
|
||||
# Get authored or assigned open merge requests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue