themen print + gremien view

This commit is contained in:
Andreas Stephanides
2015-03-15 19:50:42 +01:00
parent 001c2e3070
commit 1981efafac
2 changed files with 11 additions and 4 deletions

View File

@@ -39,7 +39,11 @@
<ul class="unstyled"> <ul class="unstyled">
<% unless thema.gremium.nil? %> <% unless thema.gremium.nil? %>
<li> <li>
<%= link_to fa_icon("users 2x")+thema.gremium.name , thema.gremium,:class=>"linkbox" %>
<%= link_to thema.gremium,:class=>"linkbox" do %>
<%= render partial: "gremien/nlink", object: thema.gremium %>
<% end %>
</li> </li>
<% end %> <% end %>

View File

@@ -11,7 +11,7 @@
<% end %> <% end %>
<div class="content-wrap content-column" > <div class="content-wrap content-column" >
<ul class="linklist"> <ul class="linklist hidden-print">
<% if @themengruppe.public %> <% if @themengruppe.public %>
<li><%= link_to fa_icon("arrow-circle-left 2x")+I18n.t("themengruppe.showall"), themengruppen_path, :class=>"linkbox" %></li> <li><%= link_to fa_icon("arrow-circle-left 2x")+I18n.t("themengruppe.showall"), themengruppen_path, :class=>"linkbox" %></li>
<% else %> <% else %>
@@ -20,8 +20,9 @@
<li><%= link_to fa_icon("question 2x")+ I18n.t("themengruppe.faqs"), faqs_themengruppen_path(:anchor=>"themengruppe_"+@themengruppe.id.to_s), :class=>"linkbox" %> <li><%= link_to fa_icon("question 2x")+ I18n.t("themengruppe.faqs"), faqs_themengruppen_path(:anchor=>"themengruppe_"+@themengruppe.id.to_s), :class=>"linkbox" %>
</li> </li>
</ul> </ul>
<div class="hidden-print">
<%= render :partial=>'layouts/pretty_toolbar' %> <%= render :partial=>'layouts/pretty_toolbar' %>
</div>
<h1> <% unless @themengruppe.icon.nil? or @themengruppe.icon.empty? %> <i class="<%= @themengruppe.icon %>" style="font-size:1.5em;margin:0"></i> <h1> <% unless @themengruppe.icon.nil? or @themengruppe.icon.empty? %> <i class="<%= @themengruppe.icon %>" style="font-size:1.5em;margin:0"></i>
<% end %> <% end %>
<%= @themengruppe.title %></h1> <%= @themengruppe.title %></h1>
@@ -37,7 +38,9 @@
<ul class="unstyled"> <ul class="unstyled">
<% unless thema.gremium.nil? %> <% unless thema.gremium.nil? %>
<li> <li>
<%= link_to fa_icon("users 2x")+thema.gremium.name , thema.gremium,:class=>"linkbox" %> <%= link_to thema.gremium,:class=>"linkbox" do %>
<%= render partial: "gremien/nlink", object: thema.gremium %>
<% end %>
</li> </li>
<% end %> <% end %>