<h1> FET Intern NEU blue2</h1>
<div class="container-fluid">
  <div class="row-fluid">
    <div class="span6">
			<div>
			<ul class="linklist">
				<li>
					<%= link_to fa_icon("list")+"Adressliste", internlist_fetprofiles_path ,class: :linkbox %>
				</li>
				<li>     
					<%= link_to ff_icon("ffi1-setting")+"Admin" , admin_home_index_path, class: :linkbox if current_user.has_role?(:fetadmin) %>
				</li>
				<li>     
					<%= link_to ff_icon("fa fa-folder")+"Treeview" , treeview_home_index_path, class: :linkbox if current_user.has_role?(:fetadmin) %>
				</li>
				<li>     
					<%= link_to ff_icon("ffi1-newspaper9")+"Crawler" , crawler_index_path, class: :linkbox if current_user.has_role?(:fetadmin) %>
				</li>
<li>     
					<%= link_to ff_icon("ffi1-setting")+"Meetings" , meetingtyps_path, class: :linkbox if current_user.has_role?(:fetadmin) %>
				</li>
<li>     
					<%= link_to ff_icon("ffi1-setting")+"Alte Oberfläche" , set_preferred_theme_user_path(current_user, params: {theme: "blue1"}), class: :linkbox if can? :set_preferred_theme, current_user %>
				</li>

			</ul><br>
		</div>
			<div>Suche nach Protokollen
				<%= semantic_form_for :search,:remote=>true, :url=>search_documents_path, :html=>{:id=>"search_form",:class=>"", :method=>'get'} do |f| %>
					<%= f.input :query, :input_html => { :name => 'query' } , :label=>false, :class=>"search-query" %>
					<% f.actions do %>
						<% f.action :submit, :as => :input %>
					<% end %>
				<% end %>
				<div id="searchresults">
					<%= render :partial=>"documents/search_results", :object=>@results %>
				</div>
			</div>
      <ul class="unstyled linkbox-list">
				<li>  
					<% @themengruppen.each do |themengruppe| %>
						<div class="container-fluid">
							<%= render themengruppe if can?(:show,themengruppe)%>
						</div>
					<% end %>
				</li>
      </ul>

      <%= link_to "Users", users_path %>
    </div>
    <div class="span6">
      <h2>Neuigkeiten</h2>
      <ul class="unstyled linkbox-list">	
				<% @neuigkeiten.each do |n| %>
					<li><%= render n if can?(:show, n) %></li>
				<% end %>
      </ul>
    </div>
  </div>
</div>

<h2></h2>
