widget link fixed on homepage
This commit is contained in:
parent
eb8495bcbd
commit
1b5f6a79c7
|
@ -8,11 +8,13 @@
|
||||||
<div class="o-links-list">
|
<div class="o-links-list">
|
||||||
<ul>
|
<ul>
|
||||||
<% web_links.page(params[:page_main]).per(@page_num).each do |web_link| %>
|
<% web_links.page(params[:page_main]).per(@page_num).each do |web_link| %>
|
||||||
|
<% if !web_link.title.empty? %>
|
||||||
<li>
|
<li>
|
||||||
<%= link_to web_link.title, web_link.url, {:target => '_blank', :title => web_link.title, :class=>"o-links-title"} %>
|
<%= link_to web_link.title, web_link.url, {:target => '_blank', :title => web_link.title, :class=>"o-links-title"} %>
|
||||||
<div class="o-links-description"><%= web_link.context %></div>
|
<div class="o-links-description"><%= web_link.context %></div>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue