external links and link widget fixed for development

This commit is contained in:
harrybomrah authored and saurabhbhatia committed 2013-09-24 15:37:40 +08:00
1 parent a067bcd304
commit 58fb2d1c73
2 files changed
+8 -6

No files matched your search

@@ -10,11 +10,13 @@
<ul>
<% wlcg["web_links"].each do |post| %>
<li>
<%= link_to post["title"], post["url"], {:target => '_blank', :title => post["title"], :class=>"o-links-title"} %>
<% if !post["is_hot"].blank? %><span class="o-links-hot"><%= t('hot')%></span><% end %>
<div class="o-links-description"><%= post["context"] %></div>
</li>
<% if !web_link.title.empty? %>
<li>
<%= link_to post["title"], post["url"], {:target => '_blank', :title => post["title"], :class=>"o-links-title"} %>
<% if !post["is_hot"].blank? %><span class="o-links-hot"><%= t('hot')%></span><% end %>
<div class="o-links-description"><%= post["context"] %></div>
</li>
<% end %>
<% end %>
</ul>