annotations
This commit is contained in:
@@ -23,38 +23,46 @@ long_line_behaviour=1
|
|||||||
long_line_column=72
|
long_line_column=72
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
current_page=1
|
current_page=31
|
||||||
FILE_NAME_0=29;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Fcalendars%2Fshow.html.erb;0;4
|
FILE_NAME_0=29;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Fcalendars%2Fshow.html.erb;0;4
|
||||||
FILE_NAME_1=58;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Fcalendars%2F_tabs.html.erb;0;4
|
FILE_NAME_1=573;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Fcalendars%2F_tabs.html.erb;0;4
|
||||||
FILE_NAME_2=1179;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fmodels%2Fability.rb;0;4
|
FILE_NAME_2=1179;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fmodels%2Fability.rb;0;4
|
||||||
FILE_NAME_3=115;None;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Fcalendars%2Fshow.ics.erb;0;4
|
FILE_NAME_3=115;None;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Fcalendars%2Fshow.ics.erb;0;4
|
||||||
FILE_NAME_4=454;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fcontrollers%2Fusers_controller.rb;0;4
|
FILE_NAME_4=454;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fcontrollers%2Fusers_controller.rb;0;4
|
||||||
FILE_NAME_5=571;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fconfig%2Finitializers%2Fdevise.rb;0;4
|
FILE_NAME_5=571;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fconfig%2Finitializers%2Fdevise.rb;0;4
|
||||||
FILE_NAME_6=627;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fmodels%2Fneuigkeit.rb;0;4
|
FILE_NAME_6=883;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fmodels%2Fmodulgruppe.rb;0;4
|
||||||
FILE_NAME_7=421;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fmodels%2Fmodulgruppe.rb;0;4
|
FILE_NAME_7=0;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fmodels%2Flva.rb;0;4
|
||||||
FILE_NAME_8=0;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fmodels%2Flva.rb;0;4
|
FILE_NAME_8=363;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fmodels%2Fthema.rb;0;4
|
||||||
FILE_NAME_9=363;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fmodels%2Fthema.rb;0;4
|
FILE_NAME_9=255;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fdb%2Fmigrate%2F20130124000300_translate_lvas.rb;0;4
|
||||||
FILE_NAME_10=255;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fdb%2Fmigrate%2F20130124000300_translate_lvas.rb;0;4
|
FILE_NAME_10=222;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fdb%2Fmigrate%2F20130818161841_translate_neuigkeiten.rb;0;4
|
||||||
FILE_NAME_11=222;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fdb%2Fmigrate%2F20130818161841_translate_neuigkeiten.rb;0;4
|
FILE_NAME_11=1383;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fconfig%2Finitializers%2Finflections.rb;0;4
|
||||||
FILE_NAME_12=1383;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fconfig%2Finitializers%2Finflections.rb;0;4
|
FILE_NAME_12=1010;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fdb%2Fmigrate%2F20130818175905_fix_translation_tables.rb;0;4
|
||||||
FILE_NAME_13=1010;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fdb%2Fmigrate%2F20130818175905_fix_translation_tables.rb;0;4
|
FILE_NAME_13=615;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fdb%2Fmigrate%2F20130805171433_translate_themen.rb;0;4
|
||||||
FILE_NAME_14=615;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fdb%2Fmigrate%2F20130805171433_translate_themen.rb;0;4
|
FILE_NAME_14=844;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ftmp%2Ffetsite%2Fdb%2Fmigrate%2F20130818175905_fix_translation_tables.rb;0;4
|
||||||
FILE_NAME_15=844;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ftmp%2Ffetsite%2Fdb%2Fmigrate%2F20130818175905_fix_translation_tables.rb;0;4
|
FILE_NAME_15=114;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ftmp%2Ffetsite%2Fdb%2Fmigrate%2F20130805171433_translate_themen.rb;0;4
|
||||||
FILE_NAME_16=114;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ftmp%2Ffetsite%2Fdb%2Fmigrate%2F20130805171433_translate_themen.rb;0;4
|
FILE_NAME_16=169;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ftmp%2Ffetsite%2Fdb%2Fmigrate%2F20130805143719_create_themen.rb;0;4
|
||||||
FILE_NAME_17=191;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ftmp%2Ffetsite%2Fdb%2Fmigrate%2F20130805143719_create_themen.rb;0;4
|
FILE_NAME_17=0;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fdb%2Fmigrate%2F20130112110800_create_semesters.rb;0;4
|
||||||
FILE_NAME_18=0;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fdb%2Fmigrate%2F20130112110800_create_semesters.rb;0;4
|
FILE_NAME_18=0;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fdb%2Fmigrate%2F20130113160023_create_versions.rb;0;4
|
||||||
FILE_NAME_19=0;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fdb%2Fmigrate%2F20130113160023_create_versions.rb;0;4
|
FILE_NAME_19=0;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Frubriken%2Fshow.html.erb;0;4
|
||||||
FILE_NAME_20=0;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Frubriken%2Fshow.html.erb;0;4
|
FILE_NAME_20=161;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Frubriken%2F_tabs.html.erb;0;4
|
||||||
FILE_NAME_21=161;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Frubriken%2F_tabs.html.erb;0;4
|
FILE_NAME_21=439;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Flayouts%2Fapplication.html.erb;0;4
|
||||||
FILE_NAME_22=439;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Flayouts%2Fapplication.html.erb;0;4
|
FILE_NAME_22=0;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Fusers%2Findex.html.erb;0;4
|
||||||
FILE_NAME_23=0;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Fusers%2Findex.html.erb;0;4
|
FILE_NAME_23=3143;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fcontrollers%2Fmoduls_controller.rb;0;4
|
||||||
FILE_NAME_24=3143;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fcontrollers%2Fmoduls_controller.rb;0;4
|
FILE_NAME_24=0;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fcontrollers%2Fconfig_controller.rb;0;4
|
||||||
FILE_NAME_25=0;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fcontrollers%2Fconfig_controller.rb;0;4
|
FILE_NAME_25=0;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fcontrollers%2Fmodulgruppen_controller.rb;0;4
|
||||||
FILE_NAME_26=0;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fcontrollers%2Fmodulgruppen_controller.rb;0;4
|
FILE_NAME_26=783;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Flayouts%2Fmenu.html.erb;0;4
|
||||||
FILE_NAME_27=783;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Flayouts%2Fmenu.html.erb;0;4
|
FILE_NAME_27=375;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Fneuigkeiten%2Fshow.html.erb;0;4
|
||||||
|
FILE_NAME_28=1;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Fneuigkeiten%2F_neuigkeit.html.erb;0;4
|
||||||
|
FILE_NAME_29=1;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Fstudien%2Fshow.html.erb;0;4
|
||||||
|
FILE_NAME_30=658;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fmodels%2Fcalentry.rb;0;4
|
||||||
|
FILE_NAME_31=218;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fdb%2Fmigrate%2F20130823084252_add_object_to_calentries.rb;0;4
|
||||||
|
FILE_NAME_32=1069;HTML;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fviews%2Ffetprofiles%2F_form.html.erb;0;4
|
||||||
|
FILE_NAME_33=0;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fmodels%2Fbeispiel.rb;0;4
|
||||||
|
FILE_NAME_34=0;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fmodels%2Fcalendar.rb;0;4
|
||||||
|
FILE_NAME_35=477;Ruby;0;16;1;1;0;%2Fhome%2Fandreas%2Fwww%2Ffetsite%2Fapp%2Fmodels%2Frubrik.rb;0;4
|
||||||
|
|
||||||
[gproject]
|
[gproject]
|
||||||
source_patterns=*.rb;*.erb
|
source_patterns=*.rb;*.erb;
|
||||||
header_patterns=*.h;*.H;*.hpp;*.hxx;*.h++;*.hh;*.m;
|
header_patterns=*.h;*.H;*.hpp;*.hxx;*.h++;*.hh;*.m;
|
||||||
ignored_dirs_patterns=.*;CVS;
|
ignored_dirs_patterns=.*;CVS;
|
||||||
generate_tags=false
|
generate_tags=false
|
||||||
|
|||||||
@@ -1,3 +1,14 @@
|
|||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: attachments
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# name :string(255)
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# thema_id :integer
|
||||||
|
#
|
||||||
|
|
||||||
class Attachment < ActiveRecord::Base
|
class Attachment < ActiveRecord::Base
|
||||||
has_paper_trail
|
has_paper_trail
|
||||||
attr_accessible :name
|
attr_accessible :name
|
||||||
|
|||||||
@@ -2,16 +2,13 @@
|
|||||||
#
|
#
|
||||||
# Table name: beispiele
|
# Table name: beispiele
|
||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# name :string(255)
|
# name :string(255)
|
||||||
# desc :text
|
# desc :text
|
||||||
# lva_id :integer
|
# lva_id :integer
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# file_file_name :string(255)
|
# beispieldatei :string(255)
|
||||||
# file_content_type :string(255)
|
|
||||||
# file_file_size :integer
|
|
||||||
# file_updated_at :datetime
|
|
||||||
#
|
#
|
||||||
|
|
||||||
class Beispiel < ActiveRecord::Base
|
class Beispiel < ActiveRecord::Base
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: calendars
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# name :string(255)
|
||||||
|
# public :boolean
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# picture :string(255)
|
||||||
|
#
|
||||||
|
|
||||||
class Calendar < ActiveRecord::Base
|
class Calendar < ActiveRecord::Base
|
||||||
attr_accessible :name, :public, :picture
|
attr_accessible :name, :public, :picture
|
||||||
has_and_belongs_to_many :calentries
|
has_and_belongs_to_many :calentries
|
||||||
|
|||||||
@@ -1,3 +1,16 @@
|
|||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: calentries
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# start :datetime
|
||||||
|
# ende :datetime
|
||||||
|
# summary :string(255)
|
||||||
|
# typ :integer
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
#
|
||||||
|
|
||||||
class Calentry < ActiveRecord::Base
|
class Calentry < ActiveRecord::Base
|
||||||
attr_accessible :ende, :start, :summary, :typ,:calendar_ids
|
attr_accessible :ende, :start, :summary, :typ,:calendar_ids
|
||||||
has_and_belongs_to_many :calendars
|
has_and_belongs_to_many :calendars
|
||||||
@@ -8,6 +21,8 @@ class Calentry < ActiveRecord::Base
|
|||||||
errors.add(:ende, "Es muss ein Endzeitpunkt vorhanden sein")
|
errors.add(:ende, "Es muss ein Endzeitpunkt vorhanden sein")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
belongs_to :object, polymorphic: true
|
||||||
|
|
||||||
resourcify
|
resourcify
|
||||||
def start_time
|
def start_time
|
||||||
start
|
start
|
||||||
|
|||||||
@@ -1,3 +1,19 @@
|
|||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: fetprofiles
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# vorname :string(255)
|
||||||
|
# nachname :string(255)
|
||||||
|
# short :string(255)
|
||||||
|
# fetmailalias :string(255)
|
||||||
|
# desc :text
|
||||||
|
# picture :string(255)
|
||||||
|
# active :boolean
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
#
|
||||||
|
|
||||||
class Fetprofile < ActiveRecord::Base
|
class Fetprofile < ActiveRecord::Base
|
||||||
attr_accessible :active, :desc, :fetmailalias, :nachname, :picture, :short, :vorname
|
attr_accessible :active, :desc, :fetmailalias, :nachname, :picture, :short, :vorname
|
||||||
has_many :memberships
|
has_many :memberships
|
||||||
|
|||||||
@@ -1,3 +1,16 @@
|
|||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: fetzneditions
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# title :string(255)
|
||||||
|
# desc :text
|
||||||
|
# datum :date
|
||||||
|
# datei :string(255)
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
#
|
||||||
|
|
||||||
class Fetznedition < ActiveRecord::Base
|
class Fetznedition < ActiveRecord::Base
|
||||||
attr_accessible :datei, :datum, :desc, :title
|
attr_accessible :datei, :datum, :desc, :title
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,3 +1,16 @@
|
|||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: fotos
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# title :string(255)
|
||||||
|
# desc :text
|
||||||
|
# gallery_id :integer
|
||||||
|
# datei :string(255)
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
#
|
||||||
|
|
||||||
class Foto < ActiveRecord::Base
|
class Foto < ActiveRecord::Base
|
||||||
attr_accessible :datei, :desc, :gallery_id, :title
|
attr_accessible :datei, :desc, :gallery_id, :title
|
||||||
belongs_to :gallery
|
belongs_to :gallery
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: fragen
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# title :string(255)
|
||||||
|
# text :text
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# thema_id :integer
|
||||||
|
#
|
||||||
|
|
||||||
class Frage < ActiveRecord::Base
|
class Frage < ActiveRecord::Base
|
||||||
attr_accessible :text, :title, :thema_id
|
attr_accessible :text, :title, :thema_id
|
||||||
belongs_to :thema
|
belongs_to :thema
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: galleries
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# name :string(255)
|
||||||
|
# desc :text
|
||||||
|
# datum :date
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
#
|
||||||
|
|
||||||
class Gallery < ActiveRecord::Base
|
class Gallery < ActiveRecord::Base
|
||||||
attr_accessible :datum, :desc, :name
|
attr_accessible :datum, :desc, :name
|
||||||
has_many :fotos
|
has_many :fotos
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: gremien
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# name :string(255)
|
||||||
|
# desc :text
|
||||||
|
# typ :string(255)
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
#
|
||||||
|
|
||||||
class Gremium < ActiveRecord::Base
|
class Gremium < ActiveRecord::Base
|
||||||
attr_accessible :desc, :name, :typ
|
attr_accessible :desc, :name, :typ
|
||||||
has_many :memberships
|
has_many :memberships
|
||||||
|
|||||||
@@ -1,3 +1,16 @@
|
|||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: lecturers
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# name :string(255)
|
||||||
|
# email :string(255)
|
||||||
|
# oid :integer
|
||||||
|
# picture :string(255)
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
#
|
||||||
|
|
||||||
class Lecturer < ActiveRecord::Base
|
class Lecturer < ActiveRecord::Base
|
||||||
attr_accessible :email, :name, :oid, :picture, :remove_picture, :picture_cache, :lva_ids, :link
|
attr_accessible :email, :name, :oid, :picture, :remove_picture, :picture_cache, :lva_ids, :link
|
||||||
has_and_belongs_to_many :lvas
|
has_and_belongs_to_many :lvas
|
||||||
|
|||||||
@@ -1,4 +1,23 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: lvas
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# name :string(255)
|
||||||
|
# desc :text
|
||||||
|
# ects :decimal(, )
|
||||||
|
# lvanr :string(255)
|
||||||
|
# stunden :decimal(, )
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# modul_id :integer
|
||||||
|
# semester_id :integer
|
||||||
|
# pruefungsinformation :text
|
||||||
|
# lernaufwand :text
|
||||||
|
# typ :string(255)
|
||||||
|
#
|
||||||
|
|
||||||
# == Schema Information
|
# == Schema Information
|
||||||
#
|
#
|
||||||
# Table name: lvas
|
# Table name: lvas
|
||||||
|
|||||||
@@ -1,3 +1,17 @@
|
|||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: memberships
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# fetprofile_id :string(255)
|
||||||
|
# gremium_id :string(255)
|
||||||
|
# start :date
|
||||||
|
# stop :date
|
||||||
|
# typ :string(255)
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
#
|
||||||
|
|
||||||
class Membership < ActiveRecord::Base
|
class Membership < ActiveRecord::Base
|
||||||
attr_accessible :fetprofile_id, :gremium_id, :start, :stop, :typ
|
attr_accessible :fetprofile_id, :gremium_id, :start, :stop, :typ
|
||||||
belongs_to :fetprofile
|
belongs_to :fetprofile
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
# rubrik_id :integer
|
# rubrik_id :integer
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
|
# author_id :integer
|
||||||
#
|
#
|
||||||
|
|
||||||
class Neuigkeit < ActiveRecord::Base
|
class Neuigkeit < ActiveRecord::Base
|
||||||
@@ -19,4 +20,6 @@ class Neuigkeit < ActiveRecord::Base
|
|||||||
validates :rubrik, :presence=>true
|
validates :rubrik, :presence=>true
|
||||||
validates :author, :presence=>true
|
validates :author, :presence=>true
|
||||||
translates :title,:text, :versioning=>true, :fallbacks_for_empty_translations => true
|
translates :title,:text, :versioning=>true, :fallbacks_for_empty_translations => true
|
||||||
|
scope :published, -> {where("datum >= ?", Time.now.to_date)}
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,4 +1,19 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: studien
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# zahl :string(255)
|
||||||
|
# name :string(255)
|
||||||
|
# shortdesc :text
|
||||||
|
# desc :text
|
||||||
|
# typ :string(255)
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# abkuerzung :string(255)
|
||||||
|
#
|
||||||
|
|
||||||
# == Schema Information
|
# == Schema Information
|
||||||
#
|
#
|
||||||
# Table name: studien
|
# Table name: studien
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: themen
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# title :string(255)
|
||||||
|
# text :text
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# themengruppe_id :integer
|
||||||
|
#
|
||||||
|
|
||||||
class Thema < ActiveRecord::Base
|
class Thema < ActiveRecord::Base
|
||||||
attr_accessible :text, :title, :themengruppe_id
|
attr_accessible :text, :title, :themengruppe_id
|
||||||
has_many :fragen
|
has_many :fragen
|
||||||
|
|||||||
@@ -1,3 +1,14 @@
|
|||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: themengruppen
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# title :string(255)
|
||||||
|
# text :text
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
#
|
||||||
|
|
||||||
class Themengruppe < ActiveRecord::Base
|
class Themengruppe < ActiveRecord::Base
|
||||||
WORD_COUNT = 50
|
WORD_COUNT = 50
|
||||||
attr_accessible :text, :title
|
attr_accessible :text, :title
|
||||||
|
|||||||
@@ -21,11 +21,12 @@
|
|||||||
<%= semantic_fields_for m do |mf| %>
|
<%= semantic_fields_for m do |mf| %>
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span1"></div>
|
<div class="span1"></div>
|
||||||
|
<%= mf.inputs do %>
|
||||||
<div class="span3"><%= mf.input :start, :as=>:date %></div>
|
<div class="span3"><%= mf.input :start, :as=>:date %></div>
|
||||||
<div class="span3"><%= mf.input :stop %></div>
|
<div class="span3"><%= mf.input :stop %></div>
|
||||||
<div class="span3"><%= mf. input :gremium %></div>
|
<div class="span3"><%= mf. input :gremium %></div>
|
||||||
<div class="span2"><%= mf.input :typ ,:as=>:radio, :collection=>{"mitglied"=>1, "ersatzmitglied"=>2} %></div>
|
<div class="span2"><%= mf.input :typ ,:as=>:radio, :collection=>{"mitglied"=>1, "ersatzmitglied"=>2} %></div>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end
|
<% end
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
<h2><%= link_to neuigkeit.title,neuigkeit_path(neuigkeit) %></h2>
|
<h2><%= link_to neuigkeit.title,neuigkeit_path(neuigkeit) %></h2>
|
||||||
<%= if !neuigkeit.author.nil?
|
<%= if !neuigkeit.author.nil?
|
||||||
neuigkeit.author.email
|
neuigkeit.author.email
|
||||||
|
|||||||
@@ -1,14 +1,30 @@
|
|||||||
<ul class="breadcrumb">
|
<div class="container-fluid">
|
||||||
<li><%= link_to "Neuigkeiten", rubriken_path %></li>
|
<div class="row-fluid">
|
||||||
<li><span class="divider">/</span></li>
|
<div class="span12">
|
||||||
<li><%= link_to @neuigkeit.rubrik.name , rubrik_path(@neuigkeit.rubrik) %> </li>
|
<%= render 'rubriken/tabs' %>
|
||||||
</ul>
|
<p id="notice"><%= notice %></p>
|
||||||
<p id="notice"><%= notice %></p>
|
</div>
|
||||||
|
</div>
|
||||||
<%= render @neuigkeit %>
|
<div class="row-fluid">
|
||||||
<p>
|
<div class="span9">
|
||||||
<b>Datum:</b>
|
<%= @neuigkeit.rubrik.name %>
|
||||||
<%= @neuigkeit.datum %>
|
</div>
|
||||||
</p>
|
<div class="span3"><p>
|
||||||
|
<%= @neuigkeit.try(:author).email.to_s %> am
|
||||||
|
<%= I18n.l @neuigkeit.datum.to_date %></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span12">
|
||||||
|
<div class="media">
|
||||||
|
<div class="pull-right" href="#">
|
||||||
|
<p><br><%= "FOTO" %></p>
|
||||||
|
</div>
|
||||||
|
<div class="media-body">
|
||||||
|
<h1><%= link_to @neuigkeit.title,neuigkeit_path(@neuigkeit) %></h1>
|
||||||
|
<%= raw(@neuigkeit.text) %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= toolbar_html (@toolbar_elements) %>
|
<%= toolbar_html (@toolbar_elements) %>
|
||||||
|
|||||||
Reference in New Issue
Block a user