mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-05 23:25:46 +08:00
Merge pull request #1088 from ZmagoD/zd_SCI_2290
remove catched views [fixes SCI-2290]
This commit is contained in:
commit
f5127bad99
1 changed files with 10 additions and 12 deletions
|
@ -8,19 +8,17 @@
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
<% repositories.each do |repository| %>
|
<% repositories.each do |repository| %>
|
||||||
<% cache repository do %>
|
<li class="<%= 'active parent_li' if current_page?(repository_path(repository)) %>" >
|
||||||
<li class="<%= 'active parent_li' if current_page?(repository_path(repository)) %>" >
|
<span class="tree-link line-wrap no-indent">
|
||||||
<span class="tree-link line-wrap no-indent">
|
<% if current_page?(repository_path(repository)) %>
|
||||||
<% if current_page?(repository_path(repository)) %>
|
|
||||||
<span title="<%= repository.name %>"><%= repository.name %></span>
|
<span title="<%= repository.name %>"><%= repository.name %></span>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to repository.name,
|
<%= link_to repository.name,
|
||||||
repository_path(repository),
|
repository_path(repository),
|
||||||
data: { 'no-turbolink' => 'true' } %>
|
data: { 'no-turbolink' => 'true' } %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue