Issue #149 fixed
This commit is contained in:
parent
5baa5fad0a
commit
afe98ae74a
7 changed files with 15 additions and 11 deletions
|
@ -6,7 +6,7 @@
|
|||
= image_tag "no_avatar.png", :class => "left", :width => 40, :style => "padding-right:5px;"
|
||||
%p{:style => "margin-bottom: 3px;"}
|
||||
%strong
|
||||
= link_to commit.truncated_message(60), project_commit_path(@project, :id => commit.id)
|
||||
= link_to truncate(commit.safe_message, :length => 60), project_commit_path(@project, :id => commit.id)
|
||||
|
||||
%span
|
||||
%span.author
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
- css_class = "dash_commit"
|
||||
- commit = parent
|
||||
- item_code = commit.author.email
|
||||
- link_item_name = commit.truncated_message(50)
|
||||
- link_item_name = truncate(commit.safe_message, :length => 50)
|
||||
- link_to_item = project_commit_path(@project, :id => commit.id)
|
||||
- else
|
||||
- css_class = "dash_wall"
|
||||
|
|
|
@ -12,4 +12,4 @@
|
|||
= time_ago_in_words(content_commit.committed_date)
|
||||
ago
|
||||
%td
|
||||
= link_to content_commit.truncated_message(40), project_commit_path(@project, content_commit)
|
||||
= link_to truncate(content_commit.safe_message, :length => 40), project_commit_path(@project, content_commit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue