diff --git a/app/views/profiles/show.html.erb b/app/views/profiles/show.html.erb index cb2a634..7de2d10 100644 --- a/app/views/profiles/show.html.erb +++ b/app/views/profiles/show.html.erb @@ -1,4 +1,35 @@
Find me in app/views/profiles/show.html.erb
++ Aufgegebene Druckaufträge + <%= current_user.jobs_as_costumer.count %> +
++ Abgebrochene Druckaufgräge + <%= current_user.jobs_as_costumer.canceled.count %> +
+ <% if current_user.operator? or current_user.admin? %> ++ Gedruckte Druckaufträge + <%= current_user.jobs_as_operator.count %> +
+ <% end %> +