Skip to content

Commit

Permalink
Doc block for new method
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Dec 6, 2012
1 parent dd521ac commit dc2baa6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ckan/lib/activity_streams.py
Expand Up @@ -188,7 +188,13 @@ def activity_stream_string_new_related_item():
activity_stream_actions_with_detail = ['changed package']

def activity_list_to_html(context, activity_stream, activity_params):
'''Return the given activity stream as a snippet of HTML.'''
'''Return the given activity stream as a snippet of HTML.
:param activity_stream: Array of activity items
:param activity_params: Dictionary of params that the load more button needs for context
:rtype html of activity list
'''

activity_list = [] # These are the activity stream messages.
for activity in activity_stream:
Expand Down

0 comments on commit dc2baa6

Please sign in to comment.