Skip to content

Commit

Permalink
Renames role to title to conform with the latest seantis people release.
Browse files Browse the repository at this point in the history
  • Loading branch information
href committed Dec 23, 2013
1 parent 2853e28 commit 10e5a03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/HISTORY.rst
Expand Up @@ -5,6 +5,9 @@ Changelog
0.2 (unreleased)
~~~~~~~~~~~~~~~~

- Renames role to title to conform with the latest seantis people release.
[href]

- Adds an edit title form to change the title of the memberlist tile. Fixes #2.
[href]

Expand Down
4 changes: 4 additions & 0 deletions seantis/cover/people/membership.py
Expand Up @@ -46,6 +46,10 @@ def __init__(self, uuid, role=None, start=None, end=None):
self.start = start
self.end = end

@property
def title(self):
return self.role

@property
def person(self):
return api.content.get(UID=self.uuid)
Expand Down

0 comments on commit 10e5a03

Please sign in to comment.