adds active class to experiment name in sidebar [fixes SCI-331]

This commit is contained in:
zmagod 2016-08-17 11:21:48 +02:00
parent da735a51f4
commit 8d69ca0b88
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>