From 068c2a2e5520b6730dc8266d4c9b44924465f04d Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Fri, 17 Jul 2015 14:03:07 +0200 Subject: [PATCH] AutoCommit Fre Jul 17 14:03:07 CEST 2015 --- app/assets/stylesheets/layout.css.scss | 9 +++++---- app/models/lva.rb | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) 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"]