Skip to content

Commit

Permalink
author removed from course title
Browse files Browse the repository at this point in the history
  • Loading branch information
ebarra committed Oct 31, 2017
1 parent 2857081 commit 236f811
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/courses/show.html.erb
@@ -1,4 +1,4 @@
<%content_for :title do %><%= @course.title %> - <%= !@course.author.nil? ? @course.author.name : "" %><% end %>
<%content_for :title do %><%= @course.title %><% end %>
<%content_for :description do %><%=t("site.meta_desc.course")+@course.title + ". " + (@course.description ? @course.description : "")%><% end %>
<%content_for :keywords do %><%= @course.tag_list %><% end %>
<%content_for :alternate_urls do%><%=raw alternate_urls(polymorphic_url(@course), @course)%><%end%>
Expand Down Expand Up @@ -67,7 +67,7 @@
<% end %>
<%else%>
<% if @course.end_date.present? && @course.end_date < Date.today %>
<div class=""><%=t('course.msgs.course_ended')%></div>
<div class=""><%=t('course.msgs.course_ended')%></div>
<% else %>
<% if user_signed_in? %>
<%if !@course.restricted || (@course.restricted && @course.restriction_email.present? && (current_user.email.ends_with? @course.restriction_email))%>
Expand Down Expand Up @@ -159,4 +159,4 @@
container: "#course_button_bar"
});
});
</script>
</script>

0 comments on commit 236f811

Please sign in to comment.