diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-26 15:02:33 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-26 15:02:33 +0000 |
commit | 1f3380bfadb9a96d6453941a4e9f6e80ef55fb75 (patch) | |
tree | e969a60e22b772ed6691cf4ab883769384db03aa /app/views/roles | |
parent | 451ec230601ef1ef07932bdafe2622d3eb5277b6 (diff) | |
download | redmine-1f3380bfadb9a96d6453941a4e9f6e80ef55fb75.tar.gz redmine-1f3380bfadb9a96d6453941a4e9f6e80ef55fb75.zip |
misc GUI changes on roles views
git-svn-id: http://redmine.rubyforge.org/svn/trunk@120 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/roles')
-rw-r--r-- | app/views/roles/_form.rhtml | 2 | ||||
-rw-r--r-- | 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 @@ <!--[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>
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' ) %>
<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">
|