Skip to content

Commit

Permalink
Added activity stream to group front end
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Nov 5, 2012
1 parent 88166e8 commit eaef036
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ckan/templates/group/activity_stream.html
@@ -1,6 +1,8 @@
{% extends "page.html" %}
{% extends "group/read.html" %}

{% block primary_content %}
<h2 class="hide-heading">{{ _('Activity Stream') }}</h2>
{{ c.group_activity_stream | safe }}
{% block primary_content_inner %}
<section class="module-content">
<h2 class="hide-heading">{{ _('Activity Stream') }}</h2>
{{ c.group_activity_stream | safe }}
</section>
{% endblock %}
3 changes: 3 additions & 0 deletions ckan/templates/group/read.html
Expand Up @@ -23,6 +23,9 @@
<li{% if c.action == 'read' %} class="active"{% endif %}>
{% link_for _('Datasets'), controller='group', action='read', id=c.group_dict.name, icon='sitemap' %}
</li>
<li{% if c.action == 'activity' %} class="active"{% endif %}>
{% link_for _('Activity Stream'), controller='group', action='activity', id=c.group_dict.name, icon='time' %}
</li>
<li{% if c.action == 'followers' %} class="active"{% endif %}>
{% link_for _('Followers'), controller='group', action='followers', id=c.group_dict.name, icon='group' %}
</li>
Expand Down

0 comments on commit eaef036

Please sign in to comment.