Permalink
Browse files

Don't hide mission desc

  • Loading branch information...
1 parent 8e1d0dc commit b1794b59756ce7d14dfa7aac6964d41b834ee4ad @digitalfox committed Apr 26, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 staffing/models.py
View
@@ -67,7 +67,10 @@ def __unicode__(self):
def short_name(self):
"""Name with deal name, mission desc and id. No client name"""
if self.lead:
- return u"%s (%s)" % (self.lead.name, self.mission_id())
+ if self.description:
+ return u"%s/%s (%s)" % (self.lead.name, self.description, self.mission_id())
+ else:
+ return u"%s (%s)" % (self.lead.name, self.mission_id())
else:
# default to full name
return self.full_name()

0 comments on commit b1794b5

Please sign in to comment.