mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-10 13:59:56 +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">
|
<div class="tree">
|
||||||
<% if !project_page? %>
|
<% if !project_page? %>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="active">
|
<li>
|
||||||
<span class="tree-link line-wrap">
|
<span class="tree-link line-wrap">
|
||||||
<i></i>
|
<i></i>
|
||||||
<%= link_to @project.name,
|
<%= link_to @project.name,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<% if project.active_experiments.present? then %>
|
<% if project.active_experiments.present? then %>
|
||||||
<% if experiment_page? %>
|
<% if experiment_page? %>
|
||||||
<li>
|
<li class="active">
|
||||||
<span class="tree-link line-wrap">
|
<span class="tree-link line-wrap">
|
||||||
<i></i>
|
<i></i>
|
||||||
<span title="<%= @experiment.name %>"><%= @experiment.name %></span>
|
<span title="<%= @experiment.name %>"><%= @experiment.name %></span>
|
||||||
|
|
Loading…
Add table
Reference in a new issue