Index: /main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/viewlets.py
===================================================================
--- /main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/viewlets.py	(revision 15848)
+++ /main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/viewlets.py	(revision 15849)
@@ -19,5 +19,5 @@
 import grok
 from zope.component import getUtility
-from waeup.kofa.interfaces import REQUESTED
+from waeup.kofa.interfaces import REQUESTED, IExtFileStore
 from waeup.kofa.browser.viewlets import ManageActionButton
 from waeup.kofa.students.interfaces import IStudent, IStudentsUtils
@@ -79,4 +79,22 @@
     download_name = u'signature'
 
+class SignatureDownloadButton(ManageActionButton):
+
+    grok.order(12)
+    grok.context(IStudent)
+    grok.view(StudentBaseDisplayFormPage)
+    grok.require('waeup.manageStudent')
+    target = 'signature'
+    text = _('Signature')
+    icon = 'actionicon_signature.png'
+
+    @property
+    def target_url(self):
+        image = getUtility(IExtFileStore).getFileByContext(
+            self.context, attr='signature')
+        if not image:
+            return ''
+        return self.view.url(self.view.context, self.target)
+
 # JAMB Result
 
