mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-03 22:21:53 +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>
|
||||
</li>
|
||||
<% repositories.each do |repository| %>
|
||||
<% cache repository do %>
|
||||
<li class="<%= 'active parent_li' if current_page?(repository_path(repository)) %>" >
|
||||
<span class="tree-link line-wrap no-indent">
|
||||
<% 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">
|
||||
<% if current_page?(repository_path(repository)) %>
|
||||
<span title="<%= repository.name %>"><%= repository.name %></span>
|
||||
<% else %>
|
||||
<%= link_to repository.name,
|
||||
repository_path(repository),
|
||||
data: { 'no-turbolink' => 'true' } %>
|
||||
<% end %>
|
||||
</span>
|
||||
</li>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<%= link_to repository.name,
|
||||
repository_path(repository),
|
||||
data: { 'no-turbolink' => 'true' } %>
|
||||
<% end %>
|
||||
</span>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue