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
|
@ -15,6 +15,7 @@ class Event < ActiveRecord::Base
|
|||
serialize :data
|
||||
|
||||
scope :recent, order("created_at DESC")
|
||||
scope :code_push, where(:action => Pushed)
|
||||
|
||||
def self.determine_action(record)
|
||||
if [Issue, MergeRequest].include? record.class
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue