mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
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:
commit
d17af4e898
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