Defect #15307 ยป obsoleted_tag_align.diff
| app/views/account/login.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<%= back_url_hidden_field_tag %>
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td align="right"><label for="username"><%=l(:field_login)%>:</label></td>
|
||
|
<td align="left"><%= text_field_tag 'username', params[:username], :tabindex => '1' %></td>
|
||
|
<td style="text-align: right;"><label for="username"><%=l(:field_login)%>:</label></td>
|
||
|
<td style="text-align: left;"><%= text_field_tag 'username', params[:username], :tabindex => '1' %></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="right"><label for="password"><%=l(:field_password)%>:</label></td>
|
||
|
<td align="left"><%= password_field_tag 'password', nil, :tabindex => '2' %></td>
|
||
|
<td style="text-align: right;"><label for="password"><%=l(:field_password)%>:</label></td>
|
||
|
<td style="text-align: left;"><%= password_field_tag 'password', nil, :tabindex => '2' %></td>
|
||
|
</tr>
|
||
|
<% if Setting.openid? %>
|
||
|
<tr>
|
||
|
<td align="right"><label for="openid_url"><%=l(:field_identity_url)%></label></td>
|
||
|
<td align="left"><%= text_field_tag "openid_url", nil, :tabindex => '3' %></td>
|
||
|
<td style="text-align: right;"><label for="openid_url"><%=l(:field_identity_url)%></label></td>
|
||
|
<td style="text-align: left;"><%= text_field_tag "openid_url", nil, :tabindex => '3' %></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td align="left">
|
||
|
<td style="text-align: left;">
|
||
|
<% if Setting.autologin? %>
|
||
|
<label for="autologin"><%= check_box_tag 'autologin', 1, false, :tabindex => 4 %> <%= l(:label_stay_logged_in) %></label>
|
||
|
<% end %>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left">
|
||
|
<td style="text-align: left;">
|
||
|
<% if Setting.lost_password? %>
|
||
|
<%= link_to l(:label_password_lost), lost_password_path %>
|
||
|
<% end %>
|
||
|
</td>
|
||
|
<td align="right">
|
||
|
<td style="text-align: right;">
|
||
|
<input type="submit" name="login" value="<%=l(:button_login)%> »" tabindex="5"/>
|
||
|
</td>
|
||
|
</tr>
|
||
| app/views/my/blocks/_timelog.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<td class="subject"><%=h entry.project %> <%= h(' - ') + link_to_issue(entry.issue, :truncate => 50) if entry.issue %></td>
|
||
|
<td class="comments"><%=h entry.comments %></td>
|
||
|
<td class="hours"><%= html_hours("%.2f" % entry.hours) %></td>
|
||
|
<td align="center">
|
||
|
<td style="text-align: center;">
|
||
|
<% if entry.editable_by?(@user) -%>
|
||
|
<%= link_to image_tag('edit.png'), {:controller => 'timelog', :action => 'edit', :id => entry},
|
||
|
:title => l(:button_edit) %>
|
||
| app/views/workflows/index.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<tr class="<%= cycle('odd', 'even') %>">
|
||
|
<td><%= h tracker %></td>
|
||
|
<% roles.each do |role, count| -%>
|
||
|
<td align="center">
|
||
|
<td style="text-align: center;">
|
||
|
<%= link_to((count > 0 ? count : image_tag('false.png')), {:action => 'edit', :role_id => role, :tracker_id => tracker}, :title => l(:button_edit)) %>
|
||
|
</td>
|
||
|
<% end -%>
|
||
| app/views/workflows/permissions.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<table class="list fields_permissions">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th align="left">
|
||
|
<th style="text-align: left;">
|
||
|
</th>
|
||
|
<th align="center" colspan="<%= @statuses.length %>"><%=l(:label_issue_status)%></th>
|
||
|
<th style="text-align: center;" colspan="<%= @statuses.length %>"><%=l(:label_issue_status)%></th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<% for status in @statuses %>
|
||
|
<td width="<%= 75 / @statuses.size %>%" align="center">
|
||
|
<td width="<%= 75 / @statuses.size %>%" style="text-align: center;">
|
||
|
<%=h status.name %>
|
||
|
</td>
|
||
|
<% end %>
|
||
| ... | ... | |
|
<%=h name %> <%= content_tag('span', '*', :class => 'required') if field_required?(field) %>
|
||
|
</td>
|
||
|
<% for status in @statuses -%>
|
||
|
<td align="center" class="<%= @permissions[status.id][field] %>">
|
||
|
<td style="text-align: center;" class="<%= @permissions[status.id][field] %>">
|
||
|
<%= field_permission_tag(@permissions, status, field) %>
|
||
|
</td>
|
||
|
<% end -%>
|
||
| ... | ... | |
|
<%=h field.name %> <%= content_tag('span', '*', :class => 'required') if field_required?(field) %>
|
||
|
</td>
|
||
|
<% for status in @statuses -%>
|
||
|
<td align="center" class="<%= @permissions[status.id][field.id.to_s] %>">
|
||
|
<td style="text-align: center;" class="<%= @permissions[status.id][field.id.to_s] %>">
|
||
|
<%= field_permission_tag(@permissions, status, field) %>
|
||
|
</td>
|
||
|
<% end -%>
|
||
| app/views/workflows/_form.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<table class="list transitions transitions-<%= name %>">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th align="left">
|
||
|
<th style="text-align: left;">
|
||
|
<%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input')",
|
||
|
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
|
||
|
<%=l(:label_current_status)%>
|
||
|
</th>
|
||
|
<th align="center" colspan="<%= @statuses.length %>"><%=l(:label_new_statuses_allowed)%></th>
|
||
|
<th style="text-align: center;" colspan="<%= @statuses.length %>"><%=l(:label_new_statuses_allowed)%></th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<% for new_status in @statuses %>
|
||
|
<td width="<%= 75 / @statuses.size %>%" align="center">
|
||
|
<td width="<%= 75 / @statuses.size %>%" style="text-align: center;">
|
||
|
<%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input.new-status-#{new_status.id}')",
|
||
|
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
|
||
|
<%=h new_status.name %>
|
||
| ... | ... | |
|
</td>
|
||
|
<% for new_status in @statuses -%>
|
||
|
<% checked = workflows.detect {|w| w.old_status_id == old_status.id && w.new_status_id == new_status.id} %>
|
||
|
<td align="center" class="<%= checked ? 'enabled' : '' %>">
|
||
|
<td style="text-align: center;" class="<%= checked ? 'enabled' : '' %>">
|
||
|
<%= check_box_tag "issue_status[#{ old_status.id }][#{new_status.id}][]", name, checked,
|
||
|
:class => "old-status-#{old_status.id} new-status-#{new_status.id}" %>
|
||
|
</td>
|
||
| app/views/reports/_simple.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<table class="list">
|
||
|
<thead><tr>
|
||
|
<th style="width:25%"></th>
|
||
|
<th align="center" style="width:25%"><%=l(:label_open_issues_plural)%></th>
|
||
|
<th align="center" style="width:25%"><%=l(:label_closed_issues_plural)%></th>
|
||
|
<th align="center" style="width:25%"><%=l(:label_total)%></th>
|
||
|
<th style="text-align: center; width:25%;"><%=l(:label_open_issues_plural)%></th>
|
||
|
<th style="text-align: center;" style="width:25%"><%=l(:label_closed_issues_plural)%></th>
|
||
|
<th style="text-align: center;" style="width:25%"><%=l(:label_total)%></th>
|
||
|
</tr></thead>
|
||
|
<tbody>
|
||
|
<% for row in rows %>
|
||
|
<tr class="<%= cycle("odd", "even") %>">
|
||
|
<td><%= link_to h(row.name), aggregate_path(@project, field_name, row) %></td>
|
||
|
<td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td>
|
||
|
<td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td>
|
||
|
<td align="center"><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*") %></td>
|
||
|
<td style="text-align: center;"><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td>
|
||
|
<td style="text-align: center;"><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td>
|
||
|
<td style="text-align: center;"><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*") %></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
</tbody>
|
||
| app/views/reports/_details.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<% for status in @statuses %>
|
||
|
<th style="width:<%= col_width %>%"><%=h status.name %></th>
|
||
|
<% end %>
|
||
|
<th align="center" style="width:<%= col_width %>%"><strong><%=l(:label_open_issues_plural)%></strong></th>
|
||
|
<th align="center" style="width:<%= col_width %>%"><strong><%=l(:label_closed_issues_plural)%></strong></th>
|
||
|
<th align="center" style="width:<%= col_width %>%"><strong><%=l(:label_total)%></strong></th>
|
||
|
<th style="text-align: center; width:<%= col_width %>%;"><strong><%=l(:label_open_issues_plural)%></strong></th>
|
||
|
<th style="text-align: center; width:<%= col_width %>%;"><strong><%=l(:label_closed_issues_plural)%></strong></th>
|
||
|
<th style="text-align: center; width:<%= col_width %>%;"><strong><%=l(:label_total)%></strong></th>
|
||
|
</tr></thead>
|
||
|
<tbody>
|
||
|
<% for row in rows %>
|
||
|
<tr class="<%= cycle("odd", "even") %>">
|
||
|
<td><%= link_to h(row.name), aggregate_path(@project, field_name, row) %></td>
|
||
|
<% for status in @statuses %>
|
||
|
<td align="center"><%= aggregate_link data, { field_name => row.id, "status_id" => status.id }, aggregate_path(@project, field_name, row, :status_id => status.id) %></td>
|
||
|
<td style="text-align: center;"><%= aggregate_link data, { field_name => row.id, "status_id" => status.id }, aggregate_path(@project, field_name, row, :status_id => status.id) %></td>
|
||
|
<% end %>
|
||
|
<td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td>
|
||
|
<td align="center"><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td>
|
||
|
<td align="center"><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*") %></td>
|
||
|
<td style="text-align: center;"><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td>
|
||
|
<td style="text-align: center;"><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td>
|
||
|
<td style="text-align: center;"><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*") %></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
</tbody>
|
||
| app/views/custom_fields/_index.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<% (@custom_fields_by_type[tab[:name]] || []).sort.each do |custom_field| -%>
|
||
|
<tr class="<%= cycle("odd", "even") %>">
|
||
|
<td><%= link_to h(custom_field.name), edit_custom_field_path(custom_field) %></td>
|
||
|
<td align="center"><%= l(Redmine::CustomFieldFormat.label_for(custom_field.field_format)) %></td>
|
||
|
<td align="center"><%= checked_image custom_field.is_required? %></td>
|
||
|
<td style="text-align: center;"><%= l(Redmine::CustomFieldFormat.label_for(custom_field.field_format)) %></td>
|
||
|
<td style="text-align: center;"><%= checked_image custom_field.is_required? %></td>
|
||
|
<% if tab[:name] == 'IssueCustomField' %>
|
||
|
<td align="center"><%= checked_image custom_field.is_for_all? %></td>
|
||
|
<td align="center"><%= l(:label_x_projects, :count => custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td>
|
||
|
<td style="text-align: center;"><%= checked_image custom_field.is_for_all? %></td>
|
||
|
<td style="text-align: center;"><%= l(:label_x_projects, :count => custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td>
|
||
|
<% end %>
|
||
|
<td align="center" style="width:15%;"><%= reorder_links('custom_field', {:action => 'update', :id => custom_field}, :put) %></td>
|
||
|
<td style="text-align: center; width:15%;"><%= reorder_links('custom_field', {:action => 'update', :id => custom_field}, :put) %></td>
|
||
|
<td class="buttons">
|
||
|
<%= delete_link custom_field_path(custom_field) %>
|
||
|
</td>
|
||
| app/views/timelog/_list.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<tr class="time-entry <%= cycle("odd", "even") %> hascontextmenu">
|
||
|
<td class="checkbox hide-when-print"><%= check_box_tag("ids[]", entry.id, false, :id => nil) %></td>
|
||
|
<%= raw @query.inline_columns.map {|column| "<td class=\"#{column.css_classes}\">#{column_content(column, entry)}</td>"}.join %>
|
||
|
<td align="center">
|
||
|
<td style="text-align: center;">
|
||
|
<% if entry.editable_by?(User.current) -%>
|
||
|
<%= link_to image_tag('edit.png'), edit_time_entry_path(entry),
|
||
|
:title => l(:button_edit) %>
|
||
| app/views/users/index.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<td class="firstname"><%= h(user.firstname) %></td>
|
||
|
<td class="lastname"><%= h(user.lastname) %></td>
|
||
|
<td class="email"><%= mail_to(h(user.mail)) %></td>
|
||
|
<td align="center"><%= checked_image user.admin? %></td>
|
||
|
<td class="created_on" align="center"><%= format_time(user.created_on) %></td>
|
||
|
<td class="last_login_on" align="center"><%= format_time(user.last_login_on) unless user.last_login_on.nil? %></td>
|
||
|
<td style="text-align: center;"><%= checked_image user.admin? %></td>
|
||
|
<td class="created_on" style="text-align: center;"><%= format_time(user.created_on) %></td>
|
||
|
<td class="last_login_on" style="text-align: center;"><%= format_time(user.last_login_on) unless user.last_login_on.nil? %></td>
|
||
|
<td class="buttons">
|
||
|
<%= change_status_link(user) %>
|
||
|
<%= delete_link user_path(user, :back_url => users_path(params)) unless User.current == user %>
|
||
| app/views/files/index.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<% next if container.attachments.empty? -%>
|
||
|
<% if container.is_a?(Version) -%>
|
||
|
<tr>
|
||
|
<th colspan="6" align="left">
|
||
|
<th colspan="6" style="text-align: left;">
|
||
|
<%= link_to(h(container), {:controller => 'versions', :action => 'show', :id => container}, :class => "icon icon-package") %>
|
||
|
</th>
|
||
|
</tr>
|
||
| ... | ... | |
|
<td class="filesize"><%= number_to_human_size(file.filesize) %></td>
|
||
|
<td class="downloads"><%= file.downloads %></td>
|
||
|
<td class="digest"><%= file.digest %></td>
|
||
|
<td align="center">
|
||
|
<td style="text-align: center;">
|
||
|
<%= link_to(image_tag('delete.png'), attachment_path(file),
|
||
|
:data => {:confirm => l(:text_are_you_sure)}, :method => :delete) if delete_allowed %>
|
||
|
</td>
|
||
| app/views/auth_sources/index.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<th><%=l(:field_type)%></th>
|
||
|
<th><%=l(:field_host)%></th>
|
||
|
<th><%=l(:label_user_plural)%></th>
|
||
|
<th></th>
|
||
|
</tr></thead>
|
||
|
<tbody>
|
||
|
<% for source in @auth_sources %>
|
||
|
<tr id="auth-source-<%= source.id %>" class="<%= cycle("odd", "even") %>">
|
||
|
<td><%= link_to(h(source.name), :action => 'edit', :id => source)%></td>
|
||
|
<td align="center"><%= h source.auth_method_name %></td>
|
||
|
<td align="center"><p><%= h source.host %></p><p><%= h source.host1 %></p><p><%= h source.host2 %></p></td>
|
||
|
<td align="center"><%= h source.users.count %></td>
|
||
|
<td style="text-align: center;"><%= h source.auth_method_name %></td>
|
||
|
<td style="text-align: center;"><p><%= h source.host %></p><p><%= h source.host1 %></p><p><%= h source.host2 %></p></td>
|
||
|
<td style="text-align: center;"><%= h source.users.count %></td>
|
||
|
<td class="buttons">
|
||
|
<%= link_to l(:button_test), try_connection_auth_source_path(source), :class => 'icon icon-test' %>
|
||
|
<%= delete_link auth_source_path(source) %>
|
||
| app/views/versions/_issue_counts.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<table>
|
||
|
<% counts.each do |count| %>
|
||
|
<tr>
|
||
|
<td width="130px" align="right" >
|
||
|
<td width="130px" style="text-align: right;" >
|
||
|
<% if count[:group] -%>
|
||
|
<%= link_to(h(count[:group]), project_issues_path(version.project, :set_filter => 1, :status_id => '*', :fixed_version_id => version, "#{criteria}_id" => count[:group])) %>
|
||
|
<% else -%>
|
||
| app/views/trackers/fields.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<%= l("field_#{field}".sub(/_id$/, '')) %>
|
||
|
</td>
|
||
|
<% @trackers.each do |tracker| %>
|
||
|
<td align="center">
|
||
|
<td style="text-align: center;">
|
||
|
<%= check_box_tag "trackers[#{tracker.id}][core_fields][]", field, tracker.core_fields.include?(field),
|
||
|
:class => "tracker-#{tracker.id} core-field-#{field}" %>
|
||
|
</td>
|
||
| ... | ... | |
|
<%= field.name %>
|
||
|
</td>
|
||
|
<% @trackers.each do |tracker| %>
|
||
|
<td align="center">
|
||
|
<td style="text-align: center;">
|
||
|
<%= check_box_tag "trackers[#{tracker.id}][custom_field_ids][]", field.id, tracker.custom_fields.include?(field),
|
||
|
:class => "tracker-#{tracker.id} custom-field-#{field.id}" %>
|
||
|
</td>
|
||
| app/views/trackers/index.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<% for tracker in @trackers %>
|
||
|
<tr class="<%= cycle("odd", "even") %>">
|
||
|
<td><%= link_to h(tracker.name), edit_tracker_path(tracker) %></td>
|
||
|
<td align="center">
|
||
|
<td style="text-align: center;">
|
||
|
<% unless tracker.workflow_rules.count > 0 %>
|
||
|
<span class="icon icon-warning">
|
||
|
<%= l(:text_tracker_no_workflow) %> (<%= link_to l(:button_edit), workflows_edit_path(:tracker_id => tracker) %>)
|
||
|
</span>
|
||
|
<% end %>
|
||
|
</td>
|
||
|
<td align="center" style="width:15%;">
|
||
|
<td style="text-align: center; width:15%;">
|
||
|
<%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %>
|
||
|
</td>
|
||
|
<td class="buttons">
|
||
| app/views/groups/index.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<tr class="<%= cycle 'odd', 'even' %>">
|
||
|
<td><%= link_to h(group), edit_group_path(group) %></td>
|
||
|
<td><%= auth_label %></td>
|
||
|
<td align="center"><%= group.users.size %></td>
|
||
|
<td style="text-align: center;"><%= group.users.size %></td>
|
||
|
<td class="buttons"><%= delete_link group %></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
| app/views/issue_statuses/index.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<tr class="<%= cycle("odd", "even") %>">
|
||
|
<td><%= link_to h(status.name), edit_issue_status_path(status) %></td>
|
||
|
<% if Issue.use_status_for_done_ratio? %>
|
||
|
<td align="center"><%= h status.default_done_ratio %></td>
|
||
|
<td style="text-align: center;"><%= h status.default_done_ratio %></td>
|
||
|
<% end %>
|
||
|
<td align="center"><%= checked_image status.is_default? %></td>
|
||
|
<td align="center"><%= checked_image status.is_closed? %></td>
|
||
|
<td align="center" style="width:15%;"><%= reorder_links('issue_status', {:action => 'update', :id => status}, :put) %></td>
|
||
|
<td style="text-align: center;"><%= checked_image status.is_default? %></td>
|
||
|
<td style="text-align: center;"><%= checked_image status.is_closed? %></td>
|
||
|
<td style="text-align: center; width:15%;"><%= reorder_links('issue_status', {:action => 'update', :id => status}, :put) %></td>
|
||
|
<td class="buttons">
|
||
|
<%= delete_link issue_status_path(status) %>
|
||
|
</td>
|
||
| app/views/roles/index.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<% for role in @roles %>
|
||
|
<tr class="<%= cycle("odd", "even") %>">
|
||
|
<td><%= content_tag(role.builtin? ? 'em' : 'span', link_to(h(role.name), edit_role_path(role))) %></td>
|
||
|
<td align="center" style="width:15%;">
|
||
|
<td style="text-align: center; width:15%;">
|
||
|
<% unless role.builtin? %>
|
||
|
<%= reorder_links('role', {:action => 'update', :id => role}, :put) %>
|
||
|
<% end %>
|
||
| app/views/roles/permissions.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<%= l_or_humanize(permission.name, :prefix => 'permission_') %>
|
||
|
</td>
|
||
|
<% @roles.each do |role| %>
|
||
|
<td align="center">
|
||
|
<td style="text-align: center">
|
||
|
<% if role.setable_permissions.include? permission %>
|
||
|
<%= check_box_tag "permissions[#{role.id}][]", permission.name, (role.permissions.include? permission.name), :id => nil, :class => "role-#{role.id}" %>
|
||
|
<% end %>
|
||
| app/views/admin/projects.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<% project_tree(@projects) do |project, level| %>
|
||
|
<tr class="<%= cycle("odd", "even") %> <%= project.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
|
||
|
<td class="name"><span><%= link_to_project_settings(project, {}, :title => project.short_description) %></span></td>
|
||
|
<td align="center"><%= checked_image project.is_public? %></td>
|
||
|
<td align="center"><%= format_date(project.created_on) %></td>
|
||
|
<td style="text-align: center;"><%= checked_image project.is_public? %></td>
|
||
|
<td style="text-align: center;"><%= format_date(project.created_on) %></td>
|
||
|
<td class="buttons">
|
||
|
<%= link_to(l(:button_archive), { :controller => 'projects', :action => 'archive', :id => project, :status => params[:status] }, :data => {:confirm => l(:text_are_you_sure)}, :method => :post, :class => 'icon icon-lock') unless project.archived? %>
|
||
|
<%= link_to(l(:button_unarchive), { :controller => 'projects', :action => 'unarchive', :id => project, :status => params[:status] }, :method => :post, :class => 'icon icon-unlock') if project.archived? && (project.parent.nil? || !project.parent.archived?) %>
|
||
| app/views/projects/settings/_repositories.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<%= link_to repository.identifier,
|
||
|
{:controller => 'repositories', :action => 'show',:id => @project, :repository_id => repository.identifier_param} if repository.identifier.present? %>
|
||
|
</td>
|
||
|
<td align="center"><%= checked_image repository.is_default? %></td>
|
||
|
<td style="text-align: center;"><%= checked_image repository.is_default? %></td>
|
||
|
<td><%=h repository.scm_name %></td>
|
||
|
<td><%=h repository.url %></td>
|
||
|
<td class="buttons">
|
||
| app/views/projects/settings/_boards.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<tr class="<%= cycle 'odd', 'even' %>">
|
||
|
<td style="padding-left: <%= level * 18 %>px;"><%= link_to board.name, project_board_path(@project, board) %></td>
|
||
|
<td><%=h board.description %></td>
|
||
|
<td align="center">
|
||
|
<td style="text-align: center;">
|
||
|
<% if authorize_for("boards", "edit") %>
|
||
|
<%= reorder_links('board', {:controller => 'boards', :action => 'update', :project_id => @project, :id => board}, :put) %>
|
||
|
<% end %>
|
||
| app/views/projects/settings/_activities.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<%= ff.hidden_field :parent_id, :value => enumeration.id unless enumeration.project %>
|
||
|
<%= h(enumeration) %>
|
||
|
</td>
|
||
|
<td align="center" style="width:15%;"><%= checked_image !enumeration.project %></td>
|
||
|
<td style="text-align: center;" style="width:15%;"><%= checked_image !enumeration.project %></td>
|
||
|
<% enumeration.custom_field_values.each do |value| %>
|
||
|
<td align="center">
|
||
|
<td style="text-align: center;">
|
||
|
<%= custom_field_tag "enumerations[#{enumeration.id}]", value %>
|
||
|
</td>
|
||
|
<% end %>
|
||
|
<td align="center" style="width:15%;">
|
||
|
<td style="text-align: center;" style="width:15%;">
|
||
|
<%= ff.check_box :active %>
|
||
|
</td>
|
||
|
</tr>
|
||
| app/views/gantts/show.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<table style="width:100%">
|
||
|
<tr>
|
||
|
<td align="left">
|
||
|
<td style="text-align: left;">
|
||
|
<%= link_to_content_update("\xc2\xab " + l(:label_previous),
|
||
|
params.merge(@gantt.params_previous)) %>
|
||
|
</td>
|
||
|
<td align="right">
|
||
|
<td style="text-align: right;">
|
||
|
<%= link_to_content_update(l(:label_next) + " \xc2\xbb",
|
||
|
params.merge(@gantt.params_next)) %>
|
||
|
</td>
|
||
| app/views/enumerations/index.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<th style="width:15%;"><%= l(:field_is_default) %></th>
|
||
|
<th style="width:15%;"><%= l(:field_active) %></th>
|
||
|
<th style="width:15%;"></th>
|
||
|
<th align="center" style="width:10%;"> </th>
|
||
|
<th style="text-align: center; width:10%;"> </th>
|
||
|
</tr></thead>
|
||
|
<% enumerations.each do |enumeration| %>
|
||
|
<tr class="<%= cycle('odd', 'even') %>">
|
||
| app/views/queries/index.html.erb (.../app) (working copy) | ||
|---|---|---|
|
<td>
|
||
|
<%= link_to h(query.name), :controller => 'issues', :action => 'index', :project_id => @project, :query_id => query %>
|
||
|
</td>
|
||
|
<td align="right">
|
||
|
<td style="text-align: right;">
|
||
|
<small>
|
||
|
<% if query.editable_by?(User.current) %>
|
||
|
<%= link_to l(:button_edit), edit_query_path(query), :class => 'icon icon-edit' %>
|
||