Upstream sync
This commit is contained in:
10
app/views/projects/_new_project_button.html.erb
Normal file
10
app/views/projects/_new_project_button.html.erb
Normal file
@@ -0,0 +1,10 @@
|
||||
<% if policy(Project).new? %>
|
||||
<div class="col-sm-6 col-md-4 col-lg-3 mt-4">
|
||||
<li class="card h-100 shadow-sm">
|
||||
<div class="card-body d-flex flex-column justify-content-center align-items-center">
|
||||
<%= fa_icon("plus-circle", class: "text-success", style: "font-size:4rem") %>
|
||||
<%= link_to t(".actions.new"), [:new, :project], class: "mt-4 text-reset text-decoration-none stretched-link" %>
|
||||
</div>
|
||||
</li>
|
||||
</div>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user