mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 23:00:46 +08:00
fix spaces and use link_to instead of <a> tags
This commit is contained in:
parent
d81cd6eb80
commit
105ae2a174
|
@ -6,7 +6,7 @@
|
|||
<td style="vertical-align:top; padding:0 20px 20px 0;">
|
||||
<h2>Popular topics</h2>
|
||||
<% @popular.each do |t| %>
|
||||
<a href='<%= t.relative_url %>'><%= t.title %></a><br/>
|
||||
<%= link_to t.title, t.relative_url %><br/>
|
||||
<% end %>
|
||||
<br/>
|
||||
<a href="/popular" class="btn">See More…</a>
|
||||
|
@ -14,7 +14,7 @@
|
|||
<td style="vertical-align:top; padding:0 0 20px 0;">
|
||||
<h2>Recent topics</h2>
|
||||
<% @recent.each do |t| %>
|
||||
<a href='<%= t.relative_url %>'><%= t.title %></a><br/>
|
||||
<%= link_to t.title, t.relative_url %><br/>
|
||||
<% end %>
|
||||
<br/>
|
||||
<a href="/popular" class="btn">See More…</a>
|
||||
|
|
Loading…
Reference in New Issue
Block a user