Set the display name correctly in the image URL.

This commit is contained in:
Tom Hughes 2007-08-20 14:18:22 +00:00
parent c1dc2410c3
commit a0962c03c0

View file

@ -1,6 +1,6 @@
<h2><%= @title %></h2> <h2><%= @title %></h2>
<img src="<%= url_for :controller => 'trace', :action => 'picture', :id => @trace.id, :user_login => @trace.user.display_name %>"> <img src="<%= url_for :controller => 'trace', :action => 'picture', :id => @trace.id, :display_name => @trace.user.display_name %>">
<table border="0"> <table border="0">
<tr><td>filename:</td><td><%= @trace.name %> (<%= link_to 'download', :controller => 'trace', :action => 'data', :id => @trace.id %>)</td></tr> <!-- TODO link to download --> <tr><td>filename:</td><td><%= @trace.name %> (<%= link_to 'download', :controller => 'trace', :action => 'data', :id => @trace.id %>)</td></tr> <!-- TODO link to download -->