Merge pull request #66 from ZmagoD/zd_SCI_331

adds active class to experiment name in sidebar [fixes SCI-331]
This commit is contained in:
Zmago Devetak 2016-08-18 08:06:03 +02:00 committed by GitHub
commit d17af4e898
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@
<div class="tree">
<% if !project_page? %>
<ul>
<li class="active">
<li>
<span class="tree-link line-wrap">
<i></i>
<%= link_to @project.name,

View file

@ -1,7 +1,7 @@
<ul>
<% if project.active_experiments.present? then %>
<% if experiment_page? %>
<li>
<li class="active">
<span class="tree-link line-wrap">
<i></i>
<span title="<%= @experiment.name %>"><%= @experiment.name %></span>