Render user display names in trophy messages

Review Request #1255 — Created June 4, 2018 and updated

guest9095
Review Board
d83bdd3...
Nic
Trophy message rendering has been reworked. Instead of a method that
every `TrophyType` subclass must implement, instead they must only add a
format string attribute. By default, the recipient's name is the only
provided parameter, but `TrophyType.format_display_text` can be
overridden to add extra context. All builtin trophies have been updated
to use this new behaviour.

Testing Done:
Ran unit tests.

Reviewed at https://reviews.reviewboard.org/r/9932/

Did some stuff.

  • 1
  • 0
  • 0
  • 0
  • 1
Description From Last Updated
Here's an issue!!!!! guest9095 guest9095
Loading...