From 71e291998cb0fad5592208d05fc113fb964fc4e5 Mon Sep 17 00:00:00 2001 From: Gregor Schmidt Date: Mon, 2 Jan 2012 15:36:29 +0100 Subject: [PATCH] white space changes --- app/views/roles/index.html.erb | 57 ++++++++++++++++++---------------- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/app/views/roles/index.html.erb b/app/views/roles/index.html.erb index 77a24185bd..5155900719 100644 --- a/app/views/roles/index.html.erb +++ b/app/views/roles/index.html.erb @@ -1,41 +1,44 @@
-<%= link_to l(:label_role_new), {:action => 'new'}, :class => 'icon icon-add' %> + <%= link_to l(:label_role_new), {:action => 'new'}, :class => 'icon icon-add' %>
+<% html_title(l(:label_role_plural)) -%>

<%=l(:label_role_plural)%>

- - - - - - + + + + + + + + -<% for role in @roles %> - "> - - "> + + - - - -<% end %> + + + + + <% end %>
<%=l(:label_role)%><%=l(:label_global)%><%=l(:button_sort)%>
<%=l(:label_role)%><%=l(:label_global)%><%=l(:button_sort)%>
<%= content_tag(role.builtin? ? 'em' : 'span', link_to(role.name, :action => 'edit', :id => role)) %> + <% for role in @roles %> +
+ <%= content_tag(role.builtin? ? 'em' : 'span', link_to(role.name, :action => 'edit', :id => role)) %> + <%= image_tag('true.png', :alt => l(:general_text_Yes)) if role.is_a?(GlobalRole) %> - - <% unless role.builtin? %> - <%= reorder_links('role', {:action => 'edit', :id => role}) %> - <% end %> - - <%= link_to(l(:button_delete), { :action => 'destroy', :id => role, :class => role.class }, - :method => :post, - :confirm => l(:text_are_you_sure), - :class => 'icon icon-del') unless role.builtin? %> -
+ <% unless role.builtin? %> + <%= reorder_links('role', {:action => 'edit', :id => role}) %> + <% end %> + + <%= link_to(l(:button_delete), { :action => 'destroy', :id => role, :class => role.class }, + :method => :post, + :confirm => l(:text_are_you_sure), + :class => 'icon icon-del') unless role.builtin? %> +

<%= pagination_links_full @role_pages %>

<%= link_to l(:label_permissions_report), :action => 'report' %>

- -<% html_title(l(:label_role_plural)) -%>