mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-07 21:55:20 +08:00
displays org name on the project index page if no project
This commit is contained in:
parent
8a6899aeea
commit
54a3237994
2 changed files with 2 additions and 2 deletions
|
@ -109,6 +109,8 @@
|
|||
<%= link_to t("projects.index.no_orgs.btn"), organizations_path, class: "btn btn-primary" %>
|
||||
</p>
|
||||
</div>
|
||||
<% else %>
|
||||
<h2 class="page-header"><%= current_organization.name %></h2>
|
||||
<% end %>
|
||||
|
||||
<% if current_organization.projects.length > 0 %>
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
<h2 class="page-header"><%= org.name %></h2>
|
||||
|
||||
<div class="row">
|
||||
<% projects.each_index do |i| project = projects[i] %>
|
||||
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
|
||||
|
|
Loading…
Add table
Reference in a new issue