diff --git a/app/views/extranet/application/_head.html.erb b/app/views/extranet/application/_head.html.erb index f88e4486416113a3cbe4907cf1e721de7733d773..5cb446c9c3f7a001762fd0046bccfea59cc157da 100644 --- a/app/views/extranet/application/_head.html.erb +++ b/app/views/extranet/application/_head.html.erb @@ -6,7 +6,7 @@ <%= stylesheet_link_tag 'extranet', media: 'all' %> <%= javascript_include_tag 'extranet' %> <%= favicon_link_tag 'favicon.png' %> -<% if current_extranet.color.present? %> +<% if current_extranet.color.present? && current_extranet.color != '#000000' %> <style> h1 a { color: <%= current_extranet.color %>; diff --git a/app/views/extranet/cohorts/show.html.erb b/app/views/extranet/cohorts/show.html.erb index a500f1056519906cb216d25e3e3393962e47a16f..594c9713096f28fd9f6fd7e5ee45e61b2798b749 100644 --- a/app/views/extranet/cohorts/show.html.erb +++ b/app/views/extranet/cohorts/show.html.erb @@ -4,9 +4,9 @@ <%= University::Person::Alumnus.model_name.human(count: @cohort.people.count).downcase %> <% end %> -<p> - <%= @cohort.program %><br> +<p class="mb-5"> <%= @cohort.program.diploma %> + <%= @cohort.program %> </p> <%= render 'extranet/persons/list', people: @cohort.people %>