Ejemplo n.º 1
0
 def __init__(self, label="Date d'achat",
              detailed_label="Date d'achat",
              *args, **kwargs):
     Column.__init__(self, label=label, detailed_label=detailed_label,
                     *kwargs, **kwargs)
     self.sortable = True
     self.shrink = True
Ejemplo n.º 2
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.image_url = settings.MEDIA_URL + "rb/images/star_on.png"
     self.image_width = 16
     self.image_height = 15
     self.image_alt = "Starred"
     self.detailed_label = "Starred"
     self.shrink = True
Ejemplo n.º 3
0
 def __init__(self, label=_("Reviews"),
              detailed_label=_("Number of Reviews"),
              *args, **kwargs):
     Column.__init__(self, label=label, detailed_label=detailed_label,
                     *kwargs, **kwargs)
     self.shrink = True
     self.link = True
     self.link_func = self.link_to_object
Ejemplo n.º 4
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.image_url = static("rb/images/convo.png")
     self.image_width = 18
     self.image_height = 16
     self.image_alt = "New Updates"
     self.detailed_label = "New Updates"
     self.shrink = True
Ejemplo n.º 5
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.image_url = settings.MEDIA_URL + "rb/images/convo.png"
     self.image_width = 18
     self.image_height = 16
     self.image_alt = "New Updates"
     self.detailed_label = "New Updates"
     self.shrink = True
Ejemplo n.º 6
0
 def __init__(self, label=_("Reviews"),
              detailed_label=_("Number of Reviews"),
              *args, **kwargs):
     Column.__init__(self, label=label, detailed_label=detailed_label,
                     *kwargs, **kwargs)
     self.shrink = True
     self.link = True
     self.link_func = self.link_to_object
Ejemplo n.º 7
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.image_url = static("rb/images/comment-draft-small.png")
     self.image_width = 16
     self.image_height = 16
     self.image_alt = _("My Comments")
     self.detailed_label = _("My Comments")
     self.shrink = True
Ejemplo n.º 8
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.image_url = settings.MEDIA_URL + "rb/images/comment-draft-small.png"
     self.image_width = 16
     self.image_height = 16
     self.image_alt = _("My Comments")
     self.detailed_label = _("My Comments")
     self.shrink = True
Ejemplo n.º 9
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.image_url = "%srb/images/convo.png?%s" % \
         (settings.STATIC_URL, settings.MEDIA_SERIAL)
     self.image_width = 18
     self.image_height = 16
     self.image_alt = "New Updates"
     self.detailed_label = "New Updates"
     self.shrink = True
Ejemplo n.º 10
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.image_url = "%srb/images/comment-draft-small.png?%s" % \
         (settings.STATIC_URL, settings.MEDIA_SERIAL)
     self.image_width = 16
     self.image_height = 16
     self.image_alt = _("My Comments")
     self.detailed_label = _("My Comments")
     self.shrink = True
Ejemplo n.º 11
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.image_url = "%srb/images/convo.png?%s" % \
         (settings.MEDIA_URL, settings.MEDIA_SERIAL)
     self.image_width = 18
     self.image_height = 16
     self.image_alt = "New Updates"
     self.detailed_label = "New Updates"
     self.shrink = True
Ejemplo n.º 12
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self,
                     _("Submitter"),
                     db_field="submitter__username",
                     shrink=True,
                     sortable=True,
                     link=True,
                     *args,
                     **kwargs)
Ejemplo n.º 13
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.image_url = "%srb/images/comment-draft-small.png?%s" % \
         (settings.MEDIA_URL, settings.MEDIA_SERIAL)
     self.image_width = 16
     self.image_height = 16
     self.image_alt = _("My Comments")
     self.detailed_label = _("My Comments")
     self.shrink = True
Ejemplo n.º 14
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.image_url = static("rb/images/star_on.png")
     self.image_width = 16
     self.image_height = 15
     self.image_alt = _("Starred")
     self.detailed_label = _("Starred")
     self.shrink = True
     self.all_starred = {}
Ejemplo n.º 15
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.image_url = static("rb/images/star_on.png")
     self.image_width = 16
     self.image_height = 15
     self.image_alt = _("Starred")
     self.detailed_label = _("Starred")
     self.shrink = True
     self.all_starred = {}
Ejemplo n.º 16
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.image_url = "%srb/images/star_on.png?%s" % (settings.MEDIA_URL, settings.MEDIA_SERIAL)
     self.image_width = 16
     self.image_height = 15
     self.image_alt = _("Starred")
     self.detailed_label = _("Starred")
     self.shrink = True
     self.all_starred = {}
Ejemplo n.º 17
0
 def __init__(self, label="Titre",
              detailed_label="Titre",
              *args, **kwargs):
     Column.__init__(self, label=label, detailed_label=detailed_label,
                     *kwargs, **kwargs)
     self.sortable = True
     self.shrink = True
     self.link = True
     self.link_func = self.link_to_object
     self.css_class = "linkedcolumn"
Ejemplo n.º 18
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self,
                     _("Repository"),
                     db_field="repository__name",
                     shrink=True,
                     sortable=True,
                     link=False,
                     css_class='repository-column',
                     *args,
                     **kwargs)
Ejemplo n.º 19
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.image_url = static("rb/images/shipit.png")
     self.image_width = 16
     self.image_height = 16
     self.image_alt = _("Ship It!")
     self.detailed_label = _("Ship It!")
     self.db_field = "shipit_count"
     self.sortable = True
     self.shrink = True
Ejemplo n.º 20
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.image_url = "%srb/images/star_on.png?%s" % \
         (settings.MEDIA_URL, settings.MEDIA_SERIAL)
     self.image_width = 16
     self.image_height = 15
     self.image_alt = _("Starred")
     self.detailed_label = _("Starred")
     self.shrink = True
     self.all_starred = {}
Ejemplo n.º 21
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.image_url = settings.MEDIA_URL + "rb/images/shipit.png"
     self.image_width = 16
     self.image_height = 16
     self.image_alt = _("Ship It!")
     self.detailed_label = _("Ship It!")
     self.db_field = "shipit_count"
     self.sortable = True
     self.shrink = True
Ejemplo n.º 22
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.image_url = "%srb/images/shipit.png?%s" % \
         (settings.MEDIA_URL, settings.MEDIA_SERIAL)
     self.image_width = 16
     self.image_height = 16
     self.image_alt = _("Ship It!")
     self.detailed_label = _("Ship It!")
     self.db_field = "shipit_count"
     self.sortable = True
     self.shrink = True
Ejemplo n.º 23
0
 def __init__(self, *args, **kwargs):
     Column.__init__(
         self,
         _("Repository"),
         db_field="repository__name",
         shrink=True,
         sortable=True,
         link=False,
         css_class="repository-column",
         *args,
         **kwargs
     )
Ejemplo n.º 24
0
 def __init__(self, autolink_func='', *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.autolink_func = autolink_func
Ejemplo n.º 25
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.link = True
     self.link_func = self.link_to_object
Ejemplo n.º 26
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
Ejemplo n.º 27
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, _("Submitter"), db_field="submitter__username",
                     shrink=True, sortable=True, link=True,
                     *args, **kwargs)
Ejemplo n.º 28
0
 def __init__(self, label=_("Summary"), *args, **kwargs):
     Column.__init__(self, label=label, *args, **kwargs)
     self.sortable = True
Ejemplo n.º 29
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.label = _("Groups")
     self.detailed_label = _("Target Groups")
     self.sortable = False
     self.shrink = False
Ejemplo n.º 30
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.label = u"\u00BB"  # this is »
     self.detailed_label = u"\u00BB To Me"
     self.shrink = True
Ejemplo n.º 31
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.label = u"\u00BB"  # this is »
     self.detailed_label = u"\u00BB To Me"
     self.shrink = True
Ejemplo n.º 32
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.link = True
     self.link_func = self.link_to_object
Ejemplo n.º 33
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.label = _("Groups")
     self.detailed_label = _("Target Groups")
     self.sortable = False
     self.shrink = False
Ejemplo n.º 34
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
Ejemplo n.º 35
0
 def __init__(self, label=_("Summary"), *args, **kwargs):
     Column.__init__(self, label=label, *args, **kwargs)
     self.sortable = True