cirandas.net

ref: master

plugins/profile_members_headlines/views/blocks/profile_members_headlines.html.erb


<%= block_title(block.title, block.subtitle) %>
<% members = block.authors_list %>

<% unless members.empty? %>
  
<% members.each do |member| %>
<% headline = member.headline %> <%= link_to_profile(profile_image(member, :big) + content_tag(:p, member.short_name), member.identifier, {:class => 'author'}) %>

<%= link_to(headline.title, headline.url, :class => 'title') %>

<%= headline.short_lead %>
<%= show_date(headline.published_at) %>
<%= safe_join(headline.tags.map { |t| link_to(t, :controller => 'profile', :profile => member.identifier, :action => 'tags', :id => t.name ) }, "\n") %>
<% end %>
<% if block.navigation %>
<% end %> <% else %> <%= _('No headlines to be shown.') %> <% end %>