Merge branch 'fibre' of ssh://git.onelab.eu/git/myslice into fibre
[myslice.git] / portal / contactview.py
index 2b9edb4..24e06eb 100644 (file)
@@ -43,7 +43,6 @@ class ContactView (FreeAccessView, ThemeView):
             ## we don't need it cz the new ticketing systems sends a confirmation email ###
             #if cc_myself:
             #    recipients.append(email)
-            #recipients = ['support@myslice.info']
             theme.template_name = 'contact_support_email.html'
             html_content = render_to_string(theme.template, form.cleaned_data)
         
@@ -109,5 +108,6 @@ class ContactView (FreeAccessView, ThemeView):
                 'theme' : self.theme,
                 'username': username,
                 'pi': pi,
-                'section': "Contact"
+                'section': "Contact",
+                'email': request.user.username
                 })