Commit 5d932494d86289eabf028463ca3986550173b907
1 parent
5992a0fc
Exists in
master
and in
22 other branches
Fix events view
Showing
2 changed files
with
11 additions
and
12 deletions
Show diff stats
app/views/events/events.rhtml
| 1 | -<h1 id='agenda-title'> | |
| 2 | - <div id='agenda-toolbar'> | |
| 3 | - <%= button :back, _('Back to %s') % profile.name, profile.url %> | |
| 4 | - <% if user && user.has_permission?('post_content', profile) %> | |
| 5 | - <%= button :new, _('New event'), myprofile_url(:controller => 'cms', :action => 'new', :type => 'Event') %> | |
| 6 | - <% end %> | |
| 7 | - </div> | |
| 8 | - <%= _("%s's events") % profile.name %> | |
| 9 | -</h1> | |
| 1 | +<h1 id='agenda-title'><%= _("%s's events") % profile.name %></h1> | |
| 2 | + | |
| 3 | +<div id='agenda-toolbar'> | |
| 4 | + <%= button :back, _('Back to %s') % profile.name, profile.url %> | |
| 5 | + <% if user && user.has_permission?('post_content', profile) %> | |
| 6 | + <%= button :new, _('New event'), myprofile_url(:controller => 'cms', :action => 'new', :type => 'Event') %> | |
| 7 | + <% end %> | |
| 8 | +</div> | |
| 9 | + | |
| 10 | +<div style="clear: both"></div> | |
| 10 | 11 | |
| 11 | 12 | <%= render :partial => 'agenda' %> | ... | ... |
public/stylesheets/application.css