Files
fetsite/app/views/fetprofiles/index.html.erb
Andreas Stephanides 9e26c49f0e theme_anpassung
2014-01-15 13:47:35 +01:00

50 lines
919 B
Plaintext

<%= render 'fetprofiles/tabs' %>
<div class="content-wrap content-column">
<h1>
<%= I18n.t 'profile.all_members' if params[:filter] == "all" %>
<%= I18n.t 'profile.active_members' if params[:filter].nil? || params[:filter]== "active"
%>
</h1>
<ul class="unstyled fetprofile_list linkbox-list" style="width:100%">
<% @fetprofiles.each do |fetprofile| %>
<li>
<%= link_to fetprofile, {class: :linkbox} do %>
<div class="media">
<span class="pull-left">
<%= image_tag fetprofile.picture.portrait.url %>
</span>
<div class="media-body">
<h2><%= fetprofile.name %></h2>
<p><%= fetprofile.fetmail %></p>
<% if false %>
<p><%= fetprofile.desc %></p>
<% end %>
</div>
</div>
<% end %>
</li>
<% end %>
</ul>
<div class="row-fluid">
<div class="span12">
<%= link_to I18n.t('fetprofiles.new'), new_fetprofile_path %>
</div>
</div></div>
</div>