Index: /main/waeup.uniben/trunk/src/waeup/uniben/students/browser_templates/plagtestinfopage.pt
===================================================================
--- /main/waeup.uniben/trunk/src/waeup/uniben/students/browser_templates/plagtestinfopage.pt	(revision 16807)
+++ /main/waeup.uniben/trunk/src/waeup/uniben/students/browser_templates/plagtestinfopage.pt	(revision 16808)
@@ -1,6 +1,6 @@
 <h1>Final Year Plagiarism Test</h1>
 
-<p> Your payment was successful. Please upload your project / thesis file on the
-<a tal:attributes="href view/facdep">Turn-it-in Web Site</a>.</p>
+<p> Your payment was successful. Please upload your project/thesis file
+<a tal:attributes="href view/facdep">here: Turn-it-in Web Site</a>.</p>
 
 
Index: /main/waeup.uniben/trunk/src/waeup/uniben/students/viewlets.py
===================================================================
--- /main/waeup.uniben/trunk/src/waeup/uniben/students/viewlets.py	(revision 16807)
+++ /main/waeup.uniben/trunk/src/waeup/uniben/students/viewlets.py	(revision 16808)
@@ -27,5 +27,5 @@
     ExportPDFClearanceSlip, StudyCourseDisplayFormPage,
     StudyLevelDisplayFormPage, StudentClearanceDisplayFormPage,
-    StudentBaseDisplayFormPage)
+    StudentBaseDisplayFormPage, OnlinePaymentDisplayFormPage)
 from waeup.kofa.students.viewlets import (
     RequestTranscriptActionButton, StudentPassportActionButton)
@@ -33,5 +33,5 @@
 from waeup.uniben.students.interfaces import (
     ICustomStudentStudyCourse, ICustomStudentStudyLevel,
-    ICustomStudent,)
+    ICustomStudent, ICustomStudentOnlinePayment)
 
 from waeup.uniben.students.browser import StudentMedicalHistoryEditFormPage
@@ -201,4 +201,20 @@
     target = 'medical_questionnaire_slip.pdf'
 
+class PlagTestLinkActionButton(ManageActionButton):
+    grok.order(10)  
+    grok.context(ICustomStudentOnlinePayment)
+    grok.view(OnlinePaymentDisplayFormPage)
+    grok.require('waeup.viewStudent')
+    icon = 'actionicon_up.png'
+    text = _('Upload project/thesis file')
+    target = 'plagtestinfo'
+
+    @property
+    def target_url(self):
+        if self.context.p_state != 'paid' \
+            or self.context.p_category != 'plag_test':
+            return ''
+        return self.view.url(self.view.context, self.target)
+
 # JAMB Letter
 
