diff --git a/app/views/profiles/show.html.erb b/app/views/profiles/show.html.erb index 7de2d10..946c138 100644 --- a/app/views/profiles/show.html.erb +++ b/app/views/profiles/show.html.erb @@ -1,10 +1,14 @@
<%= current_user.role %>
+ <% end %> +Aufgegebene Druckaufträge <%= current_user.jobs_as_costumer.count %> @@ -13,10 +17,11 @@ Abgebrochene Druckaufgräge <%= current_user.jobs_as_costumer.canceled.count %>
- <% if current_user.operator? or current_user.admin? %> + <% if is_admin_or_operator? %> +Gedruckte Druckaufträge - <%= current_user.jobs_as_operator.count %> + <%= current_user.jobs_as_operator.paid.count %>
<% end %>