def render_indicia_publisher(self, record): from apps.gcd.templatetags.display import absolute_url,\ show_indicia_pub from apps.gcd.templatetags.credits import get_country_flag return_val = show_indicia_pub(record) if record.series.publisher != self.brand.parent: return_val += " (%s%s)" % (get_country_flag( record.series.publisher.country), absolute_url(record.series.publisher)) return mark_safe(return_val)
def render_indicia_publisher(self, record): from apps.gcd.templatetags.display import absolute_url,\ show_indicia_pub return_val = show_indicia_pub(record) return mark_safe(return_val)