link Profile und Gremien an neuigkeit

This commit is contained in:
Andreas Stephanides
2014-04-23 17:15:59 +02:00
parent 63f3b09a5d
commit 73a2627cd3
8 changed files with 30 additions and 5 deletions

View File

@@ -0,0 +1,2 @@
<h2><%=fa_icon("users 2x")+ nlink.name %></h2>
<p><%= raw(nlink.desc) %></p>

View File

@@ -38,6 +38,15 @@
<% end %>
</div>
<% end %>
<div class="row-fluid">
<div class="span12">
<ul class="unstyled">
<% @gremium.nlinks.each do |l| %>
<li><%= render l.neuigkeit %></li>
<% end %>
</ul>
</div>
</div>
</div>
</div>
<%= link_to I18n.t('common.edit'), edit_gremium_path(@gremium) %>