mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 03:36:44 +08:00
Add hook
This commit is contained in:
parent
a1ea71e512
commit
24c345721c
1 changed files with 3 additions and 1 deletions
|
@ -1,10 +1,12 @@
|
||||||
|
|
||||||
<% provide(:head_title, t("projects.index.head_title")) %>
|
<% provide(:head_title, t("projects.index.head_title")) %>
|
||||||
|
|
||||||
<% if current_team %>
|
<% if current_team %>
|
||||||
<%= render partial: "shared/sidebar", locals: { page: 'project' } %>
|
<%= render partial: "shared/sidebar", locals: { page: 'project' } %>
|
||||||
<%= render partial: "shared/secondary_navigation" %>
|
<%= render partial: "shared/secondary_navigation" %>
|
||||||
|
|
||||||
|
<span style="display: none;" data-hook="projects-index-html"></span>
|
||||||
|
|
||||||
<% if can_create_projects?(current_team) %>
|
<% if can_create_projects?(current_team) %>
|
||||||
<!-- New project modal -->
|
<!-- New project modal -->
|
||||||
<div class="modal" id="new-project-modal" tabindex="-1" role="dialog" aria-labelledby="new-project-modal-label">
|
<div class="modal" id="new-project-modal" tabindex="-1" role="dialog" aria-labelledby="new-project-modal-label">
|
||||||
|
|
Loading…
Reference in a new issue