forked from bofh/fetsite
studien
This commit is contained in:
@@ -16,4 +16,4 @@
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
<%= render :partial=>'layouts/pretty_toolbar', :locals=>{:elements=>@toolbar_elements} %>
|
||||
|
||||
|
||||
@@ -3,31 +3,29 @@
|
||||
<p id="notice"><%= notice %></p>
|
||||
<h1><%= @studium.typ %> <%= @studium.name %> (<%= @studium.zahl %>)</h1>
|
||||
<div>
|
||||
<p>
|
||||
<p>
|
||||
<div class="pull-right">
|
||||
<%= link_to I18n.t("studien.ansicht.semester"), studium_path(@studium, :ansicht=>"semesteransicht"), :class=>"btn" unless params[:ansicht]=='semesteransicht' %>
|
||||
<%= link_to I18n.t("studien.ansicht.modulgruppe"), studium_path(@studium, :ansicht=>"modulgruppenansicht"), :class=>"btn" unless params[:ansicht]=='modulgruppenansicht' %>
|
||||
<%= link_to I18n.t("studien.ansicht.info"), studium_path(@studium, :ansicht=>"infoansicht"), :class=>"btn" unless params[:ansicht]=='infoansicht' %>
|
||||
</div>
|
||||
</p>
|
||||
</p>
|
||||
</div>
|
||||
<% if params[:ansicht]=='modulgruppenansicht' %>
|
||||
<%= render partial: 'modulgruppenansicht' %>
|
||||
<% else if params[:ansicht]=='infoansicht' %>
|
||||
<%= render partial: 'infoansicht' %>
|
||||
<%= render partial: 'infoansicht' %>
|
||||
<% else if params[:ansicht]== 'qualifikationsprofil' %>
|
||||
<h2>Qualifikationsprofil</h2>
|
||||
<p>
|
||||
<%= raw(@studium.qualifikation) %>
|
||||
</p>
|
||||
<% else %>
|
||||
<%= render partial: 'semesteransicht' %>
|
||||
|
||||
<h2>Qualifikationsprofil</h2>
|
||||
<p>
|
||||
<%= raw(@studium.qualifikation) %>
|
||||
</p>
|
||||
<% else %>
|
||||
<%= render partial: 'semesteransicht' %>
|
||||
<% end %>
|
||||
<% end %> <% end %>
|
||||
|
||||
|
||||
|
||||
<% end %> <% end %> <% end %>
|
||||
|
||||
<%= render :partial=>'layouts/pretty_toolbar', :object=>@toolbar_modulgruppen %><br>
|
||||
<%= render :partial=>'layouts/pretty_toolbar', :object=>@toolbar_modulgruppen %>
|
||||
<br>
|
||||
<%= render 'layouts/pretty_toolbar' %>
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<%= link_to themengruppe,{:class=>'linkbox color-4-dark'} do %>
|
||||
<%= link_to themengruppe,{:class=>'linkbox color-1-dark'} do %>
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<div class="media">
|
||||
|
||||
Reference in New Issue
Block a user