mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-10 22:25:59 +08:00
Small improvements [SCI-1273]
This commit is contained in:
parent
e99e3edb7b
commit
b223646f07
2 changed files with 3 additions and 2 deletions
|
|
@ -1,2 +1,2 @@
|
|||
<div id="alert-container"></div>
|
||||
<h4><%= @repository.name %></h4>
|
||||
<h2><%= @repository.name %></h2>
|
||||
|
|
|
|||
|
|
@ -188,7 +188,8 @@
|
|||
</a>
|
||||
</li>
|
||||
<% end %>
|
||||
<% if can_view_repositories(@my_module.experiment.project.team) %>
|
||||
<% if can_view_repositories(@my_module.experiment.project.team) &&
|
||||
@my_module.experiment.project.team.repositories.exists? %>
|
||||
<li id="repositories-nav-tab" class="<%= "active" if module_repository_page? %>">
|
||||
<a href="#" id="repositoriesDropdownMenuLink" title="<%=t "nav2.modules.repositories" %>" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<span class="hidden-sm hidden-md"><%=t "nav2.modules.repositories" %></span>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue