Skip to content

Commit

Permalink
Fix(Requests Index): Readd navigation links
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisma committed Apr 5, 2019
1 parent d7b9f92 commit b1ff5ba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/views/requests/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
title: 'New VM request',
:data => { toggle: 'tooltip', placement: 'bottom' },
class: "btn btn-primary float-right mt-3" %>
<% if current_user.admin? %>
<%= link_to "Templates", request_templates_path,
class: "btn btn-primary float-right mt-3 mr-3" %>
<%= link_to 'Operating Systems', operating_systems_path,
class: 'btn btn-primary float-right mt-3 mr-3' %>
<% end %>
</div>

<h2 id="pending">Pending requests</h2>
Expand Down

0 comments on commit b1ff5ba

Please sign in to comment.