FIX: Bracked category link in no-JS view
This commit is contained in:
parent
10e2c3f693
commit
34db30396c
|
@ -2,7 +2,7 @@
|
||||||
<% @list.topics.each do |t| %>
|
<% @list.topics.each do |t| %>
|
||||||
<a href="<%= t.relative_url %>"><%= t.title %></a>
|
<a href="<%= t.relative_url %>"><%= t.title %></a>
|
||||||
<% if !@category && t.category %>
|
<% if !@category && t.category %>
|
||||||
[<a href="/category/<%= t.category.slug.blank? ? t.category.id : t.category.slug %>"><%= t.category.name %></a>]
|
[<a href="<%= t.category.url%>"><%= t.category.name %></a>]
|
||||||
<% end %>
|
<% end %>
|
||||||
<span title='<%= t 'posts' %>'>(<%= t.posts_count %>)</span><br/>
|
<span title='<%= t 'posts' %>'>(<%= t.posts_count %>)</span><br/>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue