forked from bofh/fetsite
div kleinigkeiten(FAQ Link)
This commit is contained in:
@@ -8,7 +8,7 @@ class RubrikenController < ApplicationController
|
|||||||
@rubriken = Rubrik.where(:public=>true)
|
@rubriken = Rubrik.where(:public=>true)
|
||||||
end
|
end
|
||||||
@neuigkeiten = @rubriken.collect(&:neuigkeiten).map(&:recent).flatten
|
@neuigkeiten = @rubriken.collect(&:neuigkeiten).map(&:recent).flatten
|
||||||
@calentries= @rubriken.collect(&:calendar).collect(&:calentries).flatten
|
@calentries= @rubriken.collect(&:calentries).flatten
|
||||||
end
|
end
|
||||||
def intern
|
def intern
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
class Fetprofile < ActiveRecord::Base
|
class Fetprofile < ActiveRecord::Base
|
||||||
attr_accessible :active, :desc, :fetmailalias, :nachname, :picture, :short, :vorname, :memberships_attributes, :remove_picture, :picture_cache, :plz, :street, :city, :instant,:skype, :telnr, :hdynr, :birth_day,:birth_month, :birth_year,:geschlecht
|
attr_accessible :active, :desc, :fetmailalias, :nachname, :picture, :short, :vorname, :memberships_attributes, :remove_picture, :picture_cache, :plz, :street, :city, :instant,:skype, :telnr, :hdynr, :birth_day, :birth_month, :birth_year,:geschlecht
|
||||||
has_many :memberships, dependent: :delete_all
|
has_many :memberships, dependent: :delete_all
|
||||||
has_many :gremien, :through=> :membership
|
has_many :gremien, :through=> :membership
|
||||||
mount_uploader :picture, PictureUploader
|
mount_uploader :picture, PictureUploader
|
||||||
|
|||||||
@@ -29,7 +29,8 @@
|
|||||||
<div class="span8">
|
<div class="span8">
|
||||||
<h2><%= sem.name %></h2>
|
<h2><%= sem.name %></h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4"><div class="pull-right"><%= link_to I18n.t("lva.addrem"), edit_semester_path(sem), :class=>"btn-small"%></div>
|
<div class="span4">
|
||||||
|
<div class="pull-right"><!--<% link_to I18n.t("lva.addrem"), edit_semester_path(sem), :class=>"btn-small"%>--></div>
|
||||||
</div></div>
|
</div></div>
|
||||||
<% sem.lvas.each do |lva| %>
|
<% sem.lvas.each do |lva| %>
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
|
|||||||
@@ -28,6 +28,10 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<%= link_to "Entwicklungsstatus" , dev_home_index_path %>
|
<%= link_to "Entwicklungsstatus" , dev_home_index_path %>
|
||||||
|
<p>
|
||||||
|
<%= link_to "FAQS", faqs_themengruppen_path,class: :btn %>
|
||||||
|
</p>
|
||||||
|
|
||||||
<%= render 'beispiele' %>
|
<%= render 'beispiele' %>
|
||||||
</div>
|
</div>
|
||||||
<div class="span6">
|
<div class="span6">
|
||||||
@@ -44,6 +48,7 @@ Verschiedene Styles
|
|||||||
<li> <%= link_to "2003", home_index_path({:theme=>"2003"}) %></li>
|
<li> <%= link_to "2003", home_index_path({:theme=>"2003"}) %></li>
|
||||||
<li> <%= link_to "white_1", home_index_path({:theme=>"white_1"}) %></li>
|
<li> <%= link_to "white_1", home_index_path({:theme=>"white_1"}) %></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user