Revision db66d048

b/db/models.py
453 453
        verbose_name = u'Invitation'
454 454

  
455 455
    def __unicode__(self):
456
        return self.name
456
        return "From: %s, To: %s" % (self.source, self.target)
457 457

  
458 458

  
459 459
class NetworkInterface(models.Model):
b/invitations/invitations.py
242 242

  
243 243
    data = render_to_string('invitation.txt', {'email': email})
244 244

  
245
    _logger.debug("Invitation URL: %s" % email['url'])
246

  
245 247
    send_async(
246 248
        frm = "%s <%s>"%(invitation.source.realname,invitation.source.uniq),
247 249
        to = "%s <%s>"%(invitation.target.realname,invitation.target.uniq),
b/invitations/templates/welcome.html
3 3
<html>
4 4
<head>
5 5
    <title>Ωκεανός - Καλώς ήλθατε!</title>
6
    <meta http-equiv="REFRESH" content="0;url={{ data.url }}"></HEAD>
6 7
</head>
7 8
<body>
8 9
    <div>
9
        Αγαπητέ {{ data.name }}
10
        Αγαπητέ {{ data.user }}
10 11
    </div>
11 12
    <div>
12 13
        Καλώς ήλθατε στην υπηρεσία Ωκεανός, παρακαλώ χρησιμοποιήστε την παρακάτω διεύθυνση

Also available in: Unified diff