diff --git a/app/assets/stylesheets/layout.css.scss b/app/assets/stylesheets/layout.css.scss index 79299b6..cfe73a0 100755 --- a/app/assets/stylesheets/layout.css.scss +++ b/app/assets/stylesheets/layout.css.scss @@ -217,7 +217,8 @@ ul.ui-menu } ul.ui-menu > li > a -{padding:2px; -padding-left:10px; -cursor: pointer; -} \ No newline at end of file +{ + padding:2px; + padding-left:10px; + cursor: pointer; +} \ No newline at end of file diff --git a/app/models/lva.rb b/app/models/lva.rb index 1927fa0..c6e95be 100755 --- a/app/models/lva.rb +++ b/app/models/lva.rb @@ -146,7 +146,7 @@ class Lva < ActiveRecord::Base # end # end self.name=hash["course"]["title"]["de"] - self.pruefungsinformation = hash["course"]["examinationModalities"][I18n.locale.to_s].to_s + self.pruefungsinformation = hash["course"]["examinationModalities"][I18n.locale.to_s].to_s unless hash["course"]["examinationModalities"][I18n.locale.to_s].to_s.empty? self.desc= hash["course"]["objective"][I18n.locale.to_s]+"
"+hash["course"]["teachingContent"][I18n.locale.to_s] self.typ=hash["course"]["courseType"] self.stunden=hash["course"]["weeklyHours"]