Fix some HTML validation issue.
This commit is contained in:
parent
48a3a317bc
commit
b92e1b0584
6 changed files with 65 additions and 89 deletions
|
@ -2,7 +2,7 @@
|
|||
<% cl = cycle('table0', 'table1') %>
|
||||
<td class="<%= cl %>">
|
||||
<% if trace.inserted %>
|
||||
<a href="<%= url_for :controller => 'trace', :action => 'view', :id => trace.id, :display_name => trace.user.display_name %>"><img src="<%= url_for :controller => 'trace', :action => 'icon', :id => trace.id, :display_name => trace.user.display_name %>" border="0"></a>
|
||||
<a href="<%= url_for :controller => 'trace', :action => 'view', :id => trace.id, :display_name => trace.user.display_name %>"><img src="<%= url_for :controller => 'trace', :action => 'icon', :id => trace.id, :display_name => trace.user.display_name %>" border="0" alt="" /></a>
|
||||
<% else %>
|
||||
<span style="color:red">PENDING</span>
|
||||
<% end %>
|
||||
|
@ -13,9 +13,10 @@
|
|||
(<%= trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/,'\1,') %> points)
|
||||
<% end %>
|
||||
... <%= time_ago_in_words( trace.timestamp ) %> ago</span>
|
||||
<%= link_to 'more', {:controller => 'trace', :action => 'view', :display_name => trace.user.display_name, :id => trace.id} %> /
|
||||
<a href="/edit.html?lat=<%= trace.latitude %>&lon=<%= trace.longitude %>&zoom=14" title="create maps">map</a><br />
|
||||
<%= trace.description %>
|
||||
<%= link_to 'more', {:controller => 'trace', :action => 'view', :display_name => trace.user.display_name, :id => trace.id} %> /
|
||||
<%= link_to 'map', {:controller => 'site', :action => 'edit', :lat => trace.latitude, :lon => trace.longitude, :zoom => 14}, {:title => 'create maps'} %>
|
||||
<br />
|
||||
<%= escape_once(trace.description) %>
|
||||
<br />
|
||||
by <%= link_to trace.user.display_name, {:controller => 'user', :action => 'view', :display_name => trace.user.display_name} %>
|
||||
in
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
Traces filtered by tag <b><%= @tag %></b>
|
||||
<br/><br/>
|
||||
<% end %>
|
||||
<span class="rsssmall"><a href="<%= url_for :controller => 'trace', :action => 'georss' %>"><img src="/images/RSS.gif" border="0"></a></span> |
|
||||
<span class="rsssmall"><a href="<%= url_for :controller => 'trace', :action => 'georss' %>"><img src="/images/RSS.gif" border="0" alt="RSS" /></a></span> |
|
||||
<%= link_to 'See just your traces, or upload a trace', {:controller => 'trace', :action => 'mine'} %>
|
||||
<% if @tag %>
|
||||
| <%= link_to 'See all traces', {:controller => 'trace', :action => 'list'} %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue