forked from bofh/fetsite
Semesteransicht auf RESTful routes aufgebaut
This commit is contained in:
@@ -1,16 +1,21 @@
|
||||
<%= render :partial=>'studien/navigation'%>
|
||||
<div class="container-fluid">
|
||||
<div class="row-fluid">
|
||||
<p id="notice"><%= notice %></p>
|
||||
|
||||
<%= link_to '<i class="icon-list"></i>'.html_safe+ I18n.t("studien.allestudien"), studien_path,:raw=>true %>|<%= link_to "Zu "+@link+ " wechseln", studium_path(@studium, :sem => @change)%>
|
||||
|
||||
<% if @sem=='false'%>
|
||||
<%= render :partial => "studien/modulansicht", @collection => @studium, :as=>:studium%>
|
||||
<% else %>
|
||||
<%= render :partial =>"studien/semesteransicht", @collection => @studium, :as=>:studium%>
|
||||
<h1><%= @studium.typ %> <%= @studium.name %> (<%= @studium.zahl %>)</h1>
|
||||
</div>
|
||||
<%= raw(@studium.desc) %>
|
||||
<% @studienphasen.each do |sp| %>
|
||||
<% sp[:modulgruppen].each do |row| %>
|
||||
<div class="row-fluid">
|
||||
<% row.each do |modulgruppe| %>
|
||||
<div class="span<%= sp[:width]%> min-width:13em;">
|
||||
<%= render modulgruppe %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
<br>
|
||||
|
||||
<% end %>
|
||||
|
||||
<div class="row-fluid">
|
||||
<span class="span12">
|
||||
|
||||
Reference in New Issue
Block a user