removed tags from repo activities
This commit is contained in:
parent
0ebc610e49
commit
05993f90e0
|
@ -113,7 +113,7 @@ class Repository
|
|||
end
|
||||
|
||||
def commits_with_refs(n = 20)
|
||||
commits = repo.refs.map { |ref| Commit.new(ref.commit, ref) }
|
||||
commits = repo.branches.map { |ref| Commit.new(ref.commit, ref) }
|
||||
|
||||
commits.sort! do |x, y|
|
||||
y.committed_date <=> x.committed_date
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
.merge-tabs.repository
|
||||
= link_to project_repository_path(@project), :class => "activities-tab tab #{'active' if current_page?(project_repository_path(@project)) }" do
|
||||
%span
|
||||
History
|
||||
Activities
|
||||
= link_to branches_project_repository_path(@project), :class => "tab #{'active' if current_page?(branches_project_repository_path(@project)) }" do
|
||||
%span
|
||||
Branches
|
||||
|
|
Loading…
Reference in a new issue