mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 06:56:54 +08:00
Merge pull request #1371 from Ducz0r/lm-fix-visual-bug-projects-index
Fix visual bug (everything bold) on projects index page
This commit is contained in:
commit
2ecefe0e6d
1 changed files with 50 additions and 50 deletions
|
@ -31,24 +31,6 @@
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div class="content-pane" id="projects-index">
|
|
||||||
|
|
||||||
<div id="projects-absent" style="display:none">
|
|
||||||
<div class="jumbotron text-center" style="margin-top:12%">
|
|
||||||
<strong><%=t 'projects.index.no_projects.text' %></strong>
|
|
||||||
<% if @teams.exists? && can_create_projects?(current_team) %>
|
|
||||||
<h2><strong><%=t 'projects.index.no_projects.title' %><strong></h2>
|
|
||||||
<br />
|
|
||||||
<a class="btn btn-primary btn-lg new-project-btn">
|
|
||||||
<span class="fas fa-plus"></span>
|
|
||||||
<span class="hidden-xs"><%= t('projects.index.no_projects.create_new_button') %></span>
|
|
||||||
</a>
|
|
||||||
<% else %>
|
|
||||||
<p><strong><%=t 'projects.index.no_projects.no_permission_title' %></strong></p>
|
|
||||||
<% end %>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="projects-present" style="display:none">
|
|
||||||
<!-- Edit project modal -->
|
<!-- Edit project modal -->
|
||||||
<div class="modal" id="edit-project-modal" tabindex="-1" role="dialog" aria-labelledby="edit-project-modal-label">
|
<div class="modal" id="edit-project-modal" tabindex="-1" role="dialog" aria-labelledby="edit-project-modal-label">
|
||||||
<div class="modal-dialog" role="document">
|
<div class="modal-dialog" role="document">
|
||||||
|
@ -98,6 +80,24 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="content-pane" id="projects-index">
|
||||||
|
|
||||||
|
<div id="projects-absent" style="display:none">
|
||||||
|
<div class="jumbotron text-center" style="margin-top:12%">
|
||||||
|
<strong><%=t 'projects.index.no_projects.text' %></strong>
|
||||||
|
<% if @teams.exists? && can_create_projects?(current_team) %>
|
||||||
|
<h2><strong><%=t 'projects.index.no_projects.title' %></strong></h2>
|
||||||
|
<br />
|
||||||
|
<a class="btn btn-primary btn-lg new-project-btn">
|
||||||
|
<span class="fas fa-plus"></span>
|
||||||
|
<span class="hidden-xs"><%= t('projects.index.no_projects.create_new_button') %></span>
|
||||||
|
</a>
|
||||||
|
<% else %>
|
||||||
|
<p><strong><%=t 'projects.index.no_projects.no_permission_title' %></strong></p>
|
||||||
|
<% end %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="projects-present" style="display:none">
|
||||||
<div id="projects-toolbar">
|
<div id="projects-toolbar">
|
||||||
|
|
||||||
<form class="form-inline" action="<%= projects_path %>">
|
<form class="form-inline" action="<%= projects_path %>">
|
||||||
|
|
Loading…
Reference in a new issue