ref: master
app/views/events/events.html.erb
<%= _("Events at %s") % profile.name %>
<%= button :back, _('Back to %s') % profile.name, profile.url %> <% if user && user.has_permission?('post_content', profile) %> <%= button :new, _('New event'), myprofile_path(:controller => 'cms', :profile => profile.identifier, :action => 'new', :type => 'Event') %> <% end %><%= render :partial => 'agenda' %>