From da3b8d6e54ffd6a911dba81b23f6d5ae7820d766 Mon Sep 17 00:00:00 2001 From: Alex Coles Date: Thu, 8 Jan 2015 11:45:20 +0100 Subject: [PATCH] Fix member roles checkbox spacing in proj.settings Signed-off-by: Alex Coles --- app/views/projects/settings/_members.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/projects/settings/_members.html.erb b/app/views/projects/settings/_members.html.erb index 625c6d5568..188423b645 100644 --- a/app/views/projects/settings/_members.html.erb +++ b/app/views/projects/settings/_members.html.erb @@ -79,13 +79,13 @@ See doc/COPYRIGHT.rdoc for more details. :style => 'display:none' }) do |f| %>

<% roles.each do |role| %>
+ :disabled => member.member_roles.detect {|mr| mr.role_id == role.id && !mr.inherited_from.nil?} %> <%=h role %> <% end %>

<%= hidden_field_tag 'member[role_ids][]', '' %> -

<%= submit_tag l(:button_change), :class => 'button -highlight' %> +

<%= submit_tag l(:button_change), :class => 'button -highlight -small' %> <%= link_to_function l(:button_cancel), "$('member-#{member.id}-roles').show(); $('member-#{member.id}-roles-form').hide(); return false;", - class: 'button' %>

+ class: 'button -small' %>

<% end %> <%= link_to_function l(:button_edit), "$('member-#{member.id}-roles').hide(); $('member-#{member.id}-roles-form').show(); return false;", :class => 'icon icon-edit' %>