app/views/events/events.html.erb
<h1 id='agenda-title'><%= _("%s's events") % profile.name %></h1>
<div id='agenda-toolbar'>
<%= button :back, _('Back to %s') % profile.name, profile.url %>
<% if user && user.has_permission?('post_content', profile) %>
<%= button :new, _('New event'), new_cms_index_path(profile.identifier, :type => 'Event') %>
<% end %>
</div>
<div style="clear: both"></div>
<%= render :partial => 'agenda' %>
<%= javascript_include_tag 'events' %>