Skip to content

Commit

Permalink
Made related name plural
Browse files Browse the repository at this point in the history
  • Loading branch information
Jairus Martin committed Feb 10, 2014
1 parent 7e40dba commit f98bcac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xadmin/plugins/relate.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def get_brand_name(self):
else:
to_model_name = force_unicode(self.to_model._meta.verbose_name)

return mark_safe(u"<span class='rel-brand'>%s <i class='icon-caret-right'></i></span> %s" % (to_model_name, force_unicode(self.opts.verbose_name)))
return mark_safe(u"<span class='rel-brand'>%s <i class='icon-caret-right'></i></span> %s" % (to_model_name, force_unicode(self.opts.verbose_name_plural)))


class BaseRelateDisplayPlugin(BaseAdminPlugin):
Expand Down

0 comments on commit f98bcac

Please sign in to comment.