Skip to content

Commit

Permalink
954 - Update nav-header color and disable Forms link (rubyforgood#963)
Browse files Browse the repository at this point in the history
* Update nav-header color and disable Forms link

- Change nav-header color to white
- Disable the Forms link in navigation

* remove additional css-class

* removed the form
  • Loading branch information
Aaryanpal authored Sep 9, 2024
1 parent 3d9499d commit 8b8f033
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions app/views/layouts/dashboard/_sidebar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<% end %>
</li>
<li class="nav-item">
<div class="navbar-heading">Pets</div>
<div class="navbar-heading text-white">Pets</div>
</li>
<li class="nav-item">
<%= active_link_to staff_pets_path, class: "nav-link" do %>
Expand All @@ -44,7 +44,7 @@
<div class="nav-divider"></div>
</li>
<li class="nav-item">
<div class="navbar-heading">People</div>
<div class="navbar-heading text-white">People</div>
</li>
<li class="nav-item">
<%= active_link_to staff_fosterers_path, class: "nav-link" do %>
Expand All @@ -67,22 +67,13 @@
<div class="nav-divider"></div>
</li>
<li class="nav-item">
<div class="navbar-heading">Admin</div>
<div class="navbar-heading text-white">Admin</div>
</li>
<li class="nav-item">
<%= active_link_to staff_faqs_path, class: "nav-link" do %>
<i class="nav-icon fe fe-file-text me-2"></i>FAQs
<% end %>
</li>
<% if allowed_to?(:index?, CustomForm::Form, namespace: Organizations,
context: {organization: Current.organization})
%>
<li class="nav-item">
<%= active_link_to staff_custom_form_forms_path, class: 'nav-link' do %>
<i class="nav-icon fe fe-clipboard me-2"></i>Forms
<% end %>
</li>
<% end %>
<% if allowed_to?(:edit?, Organization, namespace: Organizations,
context: {organization: Current.organization})
%>
Expand Down

0 comments on commit 8b8f033

Please sign in to comment.