From c2ff0a21a89a9923a0fddddf9f9bad27167fd24c Mon Sep 17 00:00:00 2001 From: serag Date: Thu, 24 Apr 2014 00:58:43 +0200 Subject: [PATCH] Issue #206 final point mixed with statistics of Mahdi --- tutor/app/views/lecturers/show.html.erb | 4 ---- tutor/app/views/students/show.html.erb | 4 ++-- tutor/app/views/teaching_assistants/show.html.erb | 4 ---- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/tutor/app/views/lecturers/show.html.erb b/tutor/app/views/lecturers/show.html.erb index 762e6590..db7c3295 100644 --- a/tutor/app/views/lecturers/show.html.erb +++ b/tutor/app/views/lecturers/show.html.erb @@ -9,7 +9,6 @@
@@ -41,9 +40,6 @@

Name: <%= @lecturer.name %>

Email: <%= @lecturer.email %>

-
-

@lecturer.getStat() "to be reviewed"

-
diff --git a/tutor/app/views/students/show.html.erb b/tutor/app/views/students/show.html.erb index 09faba6b..49b3d9a2 100644 --- a/tutor/app/views/students/show.html.erb +++ b/tutor/app/views/students/show.html.erb @@ -9,7 +9,7 @@
@@ -42,7 +42,7 @@

Email: <%= @student.email %>

-

@student.getStat() "to be reviewed"

+ <%= link_to "Statistics", { :controller => 'students', :action => 'get_performance', :id => @student.id }, :method => :get, class: "btn btn-success" %>
diff --git a/tutor/app/views/teaching_assistants/show.html.erb b/tutor/app/views/teaching_assistants/show.html.erb index 61289657..73989adc 100644 --- a/tutor/app/views/teaching_assistants/show.html.erb +++ b/tutor/app/views/teaching_assistants/show.html.erb @@ -9,7 +9,6 @@
@@ -41,9 +40,6 @@

Name: <%= @teaching_assistant.name %>

Email: <%= @teaching_assistant.email %>

-
-

@teaching_assistant.getStat() "to be reviewed"

-