Ejemplo n.º 1
0
 def create(self):
     b1 = ''
     b2 = ''
     style = ''
     if self.is_new:
         b1 = '<b>'
         b2 = '</b>'
         style = ' style="color:red;'
     self.value = '<td class="mail_link">%s<a%s class="mail_link" href="/mail/%s">%s</a>%s</td> <td class="mail_c">%s</td> <td class="mail_c">%s</td> <td class="mail_c">%s</td>' % (b1, style, self.con, userfilter3(self.con), b2, self.count_in, self.count_out, self.count_in_new)
Ejemplo n.º 2
0
 def create(self):
     self.value = '<div class="mail_contact"><a href="/mail/%s">%s</a> %s</div>' % (self.con, userfilter3(self.con), self.count)