OSDN Git Service

Fix github issue #1153
authorrandx <dmitriy.zaporozhets@gmail.com>
Wed, 8 Aug 2012 14:08:43 +0000 (17:08 +0300)
committerrandx <dmitriy.zaporozhets@gmail.com>
Wed, 8 Aug 2012 14:08:43 +0000 (17:08 +0300)
app/views/protected_branches/index.html.haml
app/views/repositories/_branch.html.haml
app/views/repositories/branches.html.haml
app/views/repositories/show.html.haml

index bd1e9ce..586d4f6 100644 (file)
@@ -39,7 +39,7 @@
               - if branch.name == @project.root_ref
                 %span.label default
           %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
             = time_ago_in_words(branch.commit.committed_date)
             ago
index 6b2698d..b67c402 100644 (file)
@@ -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
index 52c0bf8..f4cf919 100644 (file)
@@ -5,7 +5,6 @@
       %tr
         %th Name
         %th Last commit
-        %th Updated at
         %th
 
     %tbody
index ceb971a..add3324 100644 (file)
@@ -5,7 +5,6 @@
     %tr
       %th Name
       %th Last commit
-      %th Updated at
       %th
   - @activities.each do |update|
     = render "repositories/branch", :branch => update.head