mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +08:00
fix indentation
This commit is contained in:
parent
5f5829bbe4
commit
f2c314cc85
1 changed files with 11 additions and 11 deletions
|
@ -8,17 +8,17 @@
|
|||
</span>
|
||||
</li>
|
||||
<% repositories.each do |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>
|
||||
<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 %>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue