Skip to content

Commit

Permalink
added raw2
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismatthieu committed Oct 4, 2010
1 parent f6a765a commit 7c171b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/repositories/index.html.erb
Expand Up @@ -18,7 +18,7 @@
<% end %>
<%= image_tag('watchers.png', :border =>"0", :width => "20", :title => "Watchers") %> <%=h repository.watchers %>
<%= image_tag('forkstrans.png', :border =>"0", :height => "20", :title => "Forks") %> <%=h repository.forks %>
<%= '- updated at ' + link_to(raw(repository.commits.last.created_at.to_s), repository.commits.last.url) + ' by ' + link_to(raw(repository.commits.last.authorname), 'http://github.com/' + h(repository.commits.last.authorname)) + ' - "' + repository.commits.last.message + '"' rescue "" %>
<%= '- updated at ' + link_to(repository.commits.last.created_at.to_s, raw(repository.commits.last.url)) + ' by ' + link_to(repository.commits.last.authorname, raw('http://github.com/' + h(repository.commits.last.authorname)) + ' - "' + repository.commits.last.message + '"') rescue "" %>
<%= link_to_function(' more...') do |page|
# page['commits_' + repository.id.to_s].toggle :slide
page.visual_effect :toggle_blind, 'commits_' + repository.id.to_s
Expand All @@ -33,7 +33,7 @@
<% repository.commits.each do |commit| %>
<tr>
<td>
<%= '> Updated at ' + link_to(raw(commit.created_at.to_s), commit.url) + ' by ' + link_to(raw(commit.authorname), 'http://github.com/' + h(commit.authorname)) + ' - "' + commit.message + '"' rescue "" %>
<%= '> Updated at ' + link_to(commit.created_at.to_s, raw(commit.url)) + ' by ' + link_to(commit.authorname, raw('http://github.com/' + h(commit.authorname))) + ' - "' + commit.message + '"' rescue "" %>
</td>
</tr>
<% end %>
Expand Down

0 comments on commit 7c171b1

Please sign in to comment.