summaryrefslogtreecommitdiff
path: root/app/views/repositories
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-08-08 17:08:43 +0300
committerrandx <dmitriy.zaporozhets@gmail.com>2012-08-08 17:08:43 +0300
commitf197fa1fbffae2607c01d323aad1a839e086fbbc (patch)
tree206d1b1b72f042c23ac4c4ff4dbaf8f6809e7b3f /app/views/repositories
parenta8ce107c64c98f547613fd0e5a2b38c360f17fae (diff)
downloadgitlab-ce-f197fa1fbffae2607c01d323aad1a839e086fbbc.tar.gz
Fix github issue #1153
Diffstat (limited to 'app/views/repositories')
-rw-r--r--app/views/repositories/_branch.html.haml3
-rw-r--r--app/views/repositories/branches.html.haml1
-rw-r--r--app/views/repositories/show.html.haml1
3 files changed, 1 insertions, 4 deletions
diff --git a/app/views/repositories/_branch.html.haml b/app/views/repositories/_branch.html.haml
index 6b2698d9f49..b67c4026a4b 100644
--- a/app/views/repositories/_branch.html.haml
+++ b/app/views/repositories/_branch.html.haml
@@ -3,7 +3,7 @@
%tr
%td
= 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
%span.label default
%td
@@ -12,7 +12,6 @@
= image_tag gravatar_icon(commit.author_email), :class => "", :width => 16
= gfm truncate(commit.title, :length => 40)
- %td
%span.update-author.right
= time_ago_in_words(commit.committed_date)
ago
diff --git a/app/views/repositories/branches.html.haml b/app/views/repositories/branches.html.haml
index 52c0bf8e618..f4cf9193e34 100644
--- a/app/views/repositories/branches.html.haml
+++ b/app/views/repositories/branches.html.haml
@@ -5,7 +5,6 @@
%tr
%th Name
%th Last commit
- %th Updated at
%th
%tbody
diff --git a/app/views/repositories/show.html.haml b/app/views/repositories/show.html.haml
index ceb971a4e17..add3324e060 100644
--- a/app/views/repositories/show.html.haml
+++ b/app/views/repositories/show.html.haml
@@ -5,7 +5,6 @@
%tr
%th Name
%th Last commit
- %th Updated at
%th
- @activities.each do |update|
= render "repositories/branch", :branch => update.head