Example #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
Example #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
Example #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
Example #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
Example #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
Example #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
Example #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
Example #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
Example #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
Example #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
Example #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
Example #12
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self,
                     _("Submitter"),
                     db_field="submitter__username",
                     shrink=True,
                     sortable=True,
                     link=True,
                     *args,
                     **kwargs)
Example #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
Example #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 = {}
Example #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 = {}
 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 = {}
Example #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"
Example #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)
Example #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
Example #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 = {}
Example #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
Example #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
Example #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
     )
Example #24
0
 def __init__(self, autolink_func='', *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.autolink_func = autolink_func
Example #25
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.link = True
     self.link_func = self.link_to_object
Example #26
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
Example #27
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, _("Submitter"), db_field="submitter__username",
                     shrink=True, sortable=True, link=True,
                     *args, **kwargs)
Example #28
0
 def __init__(self, label=_("Summary"), *args, **kwargs):
     Column.__init__(self, label=label, *args, **kwargs)
     self.sortable = True
Example #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
Example #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
Example #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
Example #32
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
     self.link = True
     self.link_func = self.link_to_object
Example #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
Example #34
0
 def __init__(self, *args, **kwargs):
     Column.__init__(self, *args, **kwargs)
Example #35
0
 def __init__(self, label=_("Summary"), *args, **kwargs):
     Column.__init__(self, label=label, *args, **kwargs)
     self.sortable = True