<ol class="activity-feed{{' notification-feed' if get('notifications_feed', False) else ''}}" data-paginated-list>
% for action in actions:
% repo_url = "/" + action["repo_owner_username"] + "/" + action["repo_name"] if action["repo_owner_username"] and action["repo_name"] else ""
% show_repo_context = repo_url and action["target_url"] != repo_url
<li>
% if get('notifications_feed', False):
% include('notification_card.tpl', action=action, show_repo_context=show_repo_context)
% else:
<a class="feed-card" href="{{action['target_url']}}" aria-label="{{action['actor_label']}} {{action['summary']}} {{action['target_label']}}">
% include('activity_card_content.tpl', action=action, show_repo_context=show_repo_context)
</a>
% end
</li>
% end
</ol>