mirror of
https://github.com/discourse/discourse.git
synced 2025-02-12 03:06:16 +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;">
|
<td style="vertical-align:top; padding:0 20px 20px 0;">
|
||||||
<h2>Popular topics</h2>
|
<h2>Popular topics</h2>
|
||||||
<% @popular.each do |t| %>
|
<% @popular.each do |t| %>
|
||||||
<a href='<%= t.relative_url %>'><%= t.title %></a><br/>
|
<%= link_to t.title, t.relative_url %><br/>
|
||||||
<% end %>
|
<% end %>
|
||||||
<br/>
|
<br/>
|
||||||
<a href="/popular" class="btn">See More…</a>
|
<a href="/popular" class="btn">See More…</a>
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
<td style="vertical-align:top; padding:0 0 20px 0;">
|
<td style="vertical-align:top; padding:0 0 20px 0;">
|
||||||
<h2>Recent topics</h2>
|
<h2>Recent topics</h2>
|
||||||
<% @recent.each do |t| %>
|
<% @recent.each do |t| %>
|
||||||
<a href='<%= t.relative_url %>'><%= t.title %></a><br/>
|
<%= link_to t.title, t.relative_url %><br/>
|
||||||
<% end %>
|
<% end %>
|
||||||
<br/>
|
<br/>
|
||||||
<a href="/popular" class="btn">See More…</a>
|
<a href="/popular" class="btn">See More…</a>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user