misc GUI changes on roles views
git-svn-id: http://redmine.rubyforge.org/svn/trunk@120 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
451ec23060
commit
1f3380bfad
|
@ -3,7 +3,7 @@
|
|||
<!--[form:role]-->
|
||||
<p><%= f.text_field :name, :required => true %></p>
|
||||
|
||||
<strong><%=l(:label_permissions)%>:</strong>
|
||||
<h3><%=l(:label_permissions)%></h3>
|
||||
<% permissions = @permissions.group_by {|p| p.group_id } %>
|
||||
<% permissions.keys.sort.each do |group_id| %>
|
||||
<fieldset style="margin-top: 6px;"><legend><strong><%= l(Permission::GROUPS[group_id]) %></strong></legend>
|
||||
|
|
|
@ -28,11 +28,11 @@
|
|||
<%= form_tag ({:action => 'workflow', :role_id => @role, :tracker_id => @tracker }, :id => 'workflow_form' ) %>
|
||||
<table>
|
||||
<tr>
|
||||
<td align="center" colspan="2"><strong><%=l(:label_current_status)%></strong></td>
|
||||
<td align="center"><strong><%=l(:label_current_status)%></strong></td>
|
||||
<td align="center" colspan="<%= @statuses.length %>"><strong><%=l(:label_new_statuses_allowed)%></strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"></td>
|
||||
<td></td>
|
||||
<% for new_status in @statuses %>
|
||||
<td width="80" align="center"><%= new_status.name %></td>
|
||||
<% end %>
|
||||
|
@ -40,9 +40,7 @@
|
|||
|
||||
<% for old_status in @statuses %>
|
||||
<tr>
|
||||
<td width="20" align="center"><div style="background-color:#<%= old_status.html_color %>"> </div></td>
|
||||
<td><%= old_status.name %></td>
|
||||
|
||||
<td><div class="square" style="background:#<%= old_status.html_color %>;"></div> <%= old_status.name %></td>
|
||||
<% for new_status in @statuses %>
|
||||
<td align="center">
|
||||
|
||||
|
|
Loading…
Reference in New Issue