Commit 05993f90 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

removed tags from repo activities

parent 0ebc610e
...@@ -113,7 +113,7 @@ class Repository ...@@ -113,7 +113,7 @@ class Repository
end end
def commits_with_refs(n = 20) 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| commits.sort! do |x, y|
y.committed_date <=> x.committed_date y.committed_date <=> x.committed_date
......
.merge-tabs.repository .merge-tabs.repository
= link_to project_repository_path(@project), :class => "activities-tab tab #{'active' if current_page?(project_repository_path(@project)) }" do = link_to project_repository_path(@project), :class => "activities-tab tab #{'active' if current_page?(project_repository_path(@project)) }" do
%span %span
History Activities
= link_to branches_project_repository_path(@project), :class => "tab #{'active' if current_page?(branches_project_repository_path(@project)) }" do = link_to branches_project_repository_path(@project), :class => "tab #{'active' if current_page?(branches_project_repository_path(@project)) }" do
%span %span
Branches Branches
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment