Commit f197fa1f authored by randx's avatar randx

Fix github issue #1153

parent a8ce107c
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
- if branch.name == @project.root_ref - if branch.name == @project.root_ref
%span.label default %span.label default
%td %td
= link_to project_commits_path(@project, branch.commit.id) do = link_to project_commit_path(@project, branch.commit.id) do
= truncate branch.commit.id.to_s, :length => 10 = truncate branch.commit.id.to_s, :length => 10
= time_ago_in_words(branch.commit.committed_date) = time_ago_in_words(branch.commit.committed_date)
ago ago
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
%tr %tr
%td %td
= link_to project_commits_path(@project, :ref => branch.name) do = link_to project_commits_path(@project, :ref => branch.name) do
%strong= branch.name %strong= truncate(branch.name, :length => 60)
- if branch.name == @project.root_ref - if branch.name == @project.root_ref
%span.label default %span.label default
%td %td
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
= image_tag gravatar_icon(commit.author_email), :class => "", :width => 16 = image_tag gravatar_icon(commit.author_email), :class => "", :width => 16
= gfm truncate(commit.title, :length => 40) = gfm truncate(commit.title, :length => 40)
%td
%span.update-author.right %span.update-author.right
= time_ago_in_words(commit.committed_date) = time_ago_in_words(commit.committed_date)
ago ago
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
%tr %tr
%th Name %th Name
%th Last commit %th Last commit
%th Updated at
%th %th
%tbody %tbody
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
%tr %tr
%th Name %th Name
%th Last commit %th Last commit
%th Updated at
%th %th
- @activities.each do |update| - @activities.each do |update|
= render "repositories/branch", :branch => update.head = render "repositories/branch", :branch => update.head
......
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