Skip to content

Commit

Permalink
Added service request option for public servants
Browse files Browse the repository at this point in the history
  • Loading branch information
abisosa committed Apr 20, 2015
1 parent d996190 commit 79319a1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/views/admins/shared/_public_servant_sidebar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
<%= i18n_admin_sidebar('.requests') %>
<span class="caret"></span>
<% end %>
<ul class="dropdown-menu">
<% unless current_admin.has_service_assigned? %>
<li><em><%= i18n_admin_sidebar(".no_requests") %></em></li>
<% else %>
<li>
<%= link_to current_admin.assigned_service_name, admins_service_path(current_admin.service) %>
</li>
<% end %>
</ul>
</li>
<hr>
<li class="admin-email">
Expand Down

0 comments on commit 79319a1

Please sign in to comment.