mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +08:00
adds active class to experiment name in sidebar [fixes SCI-331]
This commit is contained in:
parent
da735a51f4
commit
8d69ca0b88
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue