<%= image_tag(@logoLink, width:@course_page.image_width,height: @course_page.image_height) %>
<% if @school_id.nil? and (User.current.user_extensions.nil? || User.current.user_extensions.school.nil?) %>
<% else %>
<% if @school_id == "0" %>
<% else %>
<% if @school_id.nil? %>
<%= link_to School.find(User.current.user_extensions.school.id).name, options={:action => 'course', :school_id => User.current.user_extensions.school.id}, html_options={:class => 'font_welcome_school', :method => 'get'} %>
<% else %> <%= link_to School.find(@school_id).name, options={:action => 'course', :school_id => @school_id}, html_options={:class => 'font_welcome_school', :method => 'get'} %>
<% end %> <% end %> <% end %> <% unless @course_page.nil? %> <%= l(:label_welcome_trustie_course) %> <% if @school_id.nil? and (User.current.user_extensions.nil? || User.current.user_extensions.school.nil?) %> , <%= l(:label_welcome_trustie_course_description) %> <% else %> <% if @school_id == "0" %> , <%= @course_page.description %> <% end %> <% end %> <% end %>
<% else %> <%= link_to School.find(@school_id).name, options={:action => 'course', :school_id => @school_id}, html_options={:class => 'font_welcome_school', :method => 'get'} %>
<% end %> <% end %> <% end %> <% unless @course_page.nil? %> <%= l(:label_welcome_trustie_course) %> <% if @school_id.nil? and (User.current.user_extensions.nil? || User.current.user_extensions.school.nil?) %> , <%= l(:label_welcome_trustie_course_description) %> <% else %> <% if @school_id == "0" %> , <%= @course_page.description %> <% end %> <% end %> <% end %>