##// END OF EJS Templates
Adds links to changesets atom feed on repository browser (#1873)....
Adds links to changesets atom feed on repository browser (#1873). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1802 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1415:06e44b8e6437
r1800:b73141a1537c
Show More
_form.rhtml
29 lines | 1.1 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Initial commit...
r2 <%= error_messages_for 'role' %>
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663
Jean-Philippe Lang
Don't show attributes on role form for built-in roles....
r777 <% unless @role.builtin? %>
Jean-Philippe Lang
0.3 unstable...
r10 <div class="box">
Jean-Philippe Lang
Don't show attributes on role form for built-in roles....
r777 <p><%= f.text_field :name, :required => true %></p>
Jean-Philippe Lang
Added a 'Assignable' boolean on Role model....
r643 <p><%= f.check_box :assignable %></p>
Jean-Philippe Lang
Workflow copy:...
r1237 <% if @role.new_record? && @roles.any? %>
<p><label><%= l(:label_copy_workflow_from) %></label>
<%= select_tag(:copy_workflow_from, content_tag("option") + options_from_collection_for_select(@roles, :id, :name)) %></p>
<% end %>
Jean-Philippe Lang
Added project module concept....
r714 </div>
Jean-Philippe Lang
Don't show attributes on role form for built-in roles....
r777 <% end %>
Jean-Philippe Lang
Added project module concept....
r714
Jean-Philippe Lang
Application layout refactored....
r736 <h3><%= l(:label_permissions) %></h3>
Jean-Philippe Lang
Do not toggle assignable check box when using un/check all permissions links on role form....
r1415 <div class="box" id="permissions">
Jean-Philippe Lang
Added project module concept....
r714 <% perms_by_module = @permissions.group_by {|p| p.project_module.to_s} %>
<% perms_by_module.keys.sort.each do |mod| %>
<fieldset><legend><%= mod.blank? ? l(:label_project) : mod.humanize %></legend>
<% perms_by_module[mod].each do |permission| %>
Jean-Philippe Lang
Added label tags on role form permission checkboxes....
r795 <label class="floating">
Jean-Philippe Lang
Added project module concept....
r714 <%= check_box_tag 'role[permissions][]', permission.name, (@role.permissions.include? permission.name) %>
<%= permission.name.to_s.humanize %>
Jean-Philippe Lang
Added label tags on role form permission checkboxes....
r795 </label>
Jean-Philippe Lang
Added project module concept....
r714 <% end %>
</fieldset>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% end %>
Jean-Philippe Lang
Do not toggle assignable check box when using un/check all permissions links on role form....
r1415 <br /><%= check_all_links 'permissions' %>
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 <%= hidden_field_tag 'role[permissions][]', '' %>
Jean-Philippe Lang
Added project module concept....
r714 </div>