From 1f3380bfadb9a96d6453941a4e9f6e80ef55fb75 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 26 Dec 2006 15:02:33 +0000 Subject: [PATCH] misc GUI changes on roles views git-svn-id: http://redmine.rubyforge.org/svn/trunk@120 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/roles/_form.rhtml | 2 +- app/views/roles/workflow.rhtml | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/views/roles/_form.rhtml b/app/views/roles/_form.rhtml index e0ab1c099..df4a58dd3 100644 --- a/app/views/roles/_form.rhtml +++ b/app/views/roles/_form.rhtml @@ -3,7 +3,7 @@

<%= f.text_field :name, :required => true %>

-<%=l(:label_permissions)%>: +

<%=l(:label_permissions)%>

<% permissions = @permissions.group_by {|p| p.group_id } %> <% permissions.keys.sort.each do |group_id| %>
<%= l(Permission::GROUPS[group_id]) %> diff --git a/app/views/roles/workflow.rhtml b/app/views/roles/workflow.rhtml index ee5b3a278..b544ab4ce 100644 --- a/app/views/roles/workflow.rhtml +++ b/app/views/roles/workflow.rhtml @@ -28,11 +28,11 @@ <%= form_tag ({:action => 'workflow', :role_id => @role, :tracker_id => @tracker }, :id => 'workflow_form' ) %> - + - + <% for new_status in @statuses %> <% end %> @@ -40,9 +40,7 @@ <% for old_status in @statuses %> - - - + <% for new_status in @statuses %>
<%=l(:label_current_status)%><%=l(:label_current_status)%> <%=l(:label_new_statuses_allowed)%>
<%= new_status.name %>
 
<%= old_status.name %>
<%= old_status.name %>