Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#2304] Add /user/{id}/followers page with list of user's followers
- Loading branch information
Sean Hammond
committed
Apr 23, 2012
1 parent
ca8eb76
commit 3d040bb
Showing
4 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<html xmlns:py="http://genshi.edgewall.org/" | ||
xmlns:i18n="http://genshi.edgewall.org/i18n" | ||
xmlns:xi="http://www.w3.org/2001/XInclude" | ||
py:strip=""> | ||
|
||
<py:def function="page_title">${c.user} - Followers - User</py:def> | ||
<py:def function="page_heading"> | ||
${c.user_dict.display_name}'s Followers | ||
</py:def> | ||
|
||
<div py:match="content"> | ||
<ul class="userlist"> | ||
<li py:for="follower in c.followers" class="user"> | ||
<ul> | ||
${h.linked_user(follower['name'], maxlength=20)} | ||
</ul> | ||
</li> | ||
</ul> | ||
</div> | ||
|
||
<xi:include href="layout.html" /> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters