Patch #30203 » add-link-to-administration-pages.diff
| app/views/projects/settings/_activities.html.erb (working copy) | ||
|---|---|---|
|
:method => :delete,
|
||
|
:data => {:confirm => l(:text_are_you_sure)},
|
||
|
:class => 'icon icon-del') %>
|
||
|
<% if User.current.admin? %>
|
||
|
<%= link_to l(:label_administration), enumerations_path, :class => "icon icon-settings" %>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
<%= form_tag(project_enumerations_path(@project), :method => :put, :class => "tabular") do %>
|
||
| app/views/projects/settings/_issues.html.erb (working copy) | ||
|---|---|---|
|
<% unless @trackers.empty? %>
|
||
|
<fieldset class="box tabular" id="project_trackers"><legend><%= toggle_checkboxes_link('#project_trackers input[type=checkbox]') %><%= l(:label_tracker_plural)%></legend>
|
||
|
<% if User.current.admin? %>
|
||
|
<div class="contextual"><%= link_to l(:label_administration), trackers_path, :class => "icon icon-settings" %></div>
|
||
|
<% end %>
|
||
|
<% @trackers.each do |tracker| %>
|
||
|
<label class="floating">
|
||
|
<%= check_box_tag 'project[tracker_ids][]', tracker.id, @project.trackers.to_a.include?(tracker), :id => nil %>
|
||
| ... | ... | |
|
<% unless @issue_custom_fields.empty? %>
|
||
|
<fieldset class="box tabular" id="project_issue_custom_fields"><legend><%= toggle_checkboxes_link('#project_issue_custom_fields input[type=checkbox]:enabled') %><%=l(:label_custom_field_plural)%></legend>
|
||
|
<% if User.current.admin? %>
|
||
|
<div class="contextual"><%= link_to l(:label_administration), custom_fields_path, :class => "icon icon-settings" %></div>
|
||
|
<% end %>
|
||
|
<% @issue_custom_fields.each do |custom_field| %>
|
||
|
<label class="floating">
|
||
|
<%= check_box_tag 'project[issue_custom_field_ids][]', custom_field.id, (@project.all_issue_custom_fields.include? custom_field),
|
||
| app/views/projects/settings/_members.html.erb (working copy) | ||
|---|---|---|
|
<% members = @project.memberships.preload(:project).sorted.to_a %>
|
||
|
<% if User.current.admin? %>
|
||
|
<div class="contextual"><%= link_to l(:label_administration), users_path, :class => "icon icon-settings" %></div>
|
||
|
<% end %>
|
||
|
<p><%= link_to l(:label_member_new), new_project_membership_path(@project), :remote => true, :class => "icon icon-add" %></p>
|
||
|
<% if members.any? %>
|
||
- « Previous
- 1
- 2
- 3
- 4
- Next »