diff --git a/app/views/repositories/_revisions.html.erb b/app/views/repositories/_revisions.html.erb index 9d28fa2b05..4cf000c447 100644 --- a/app/views/repositories/_revisions.html.erb +++ b/app/views/repositories/_revisions.html.erb @@ -46,7 +46,7 @@ See doc/COPYRIGHT.rdoc for more details. - +
@@ -110,14 +110,14 @@ See doc/COPYRIGHT.rdoc for more details. <% line_num = 1 %> <% revisions.each do |changeset| %> - + <%= link_to_revision(changeset, project) %> - + <%= label_tag "cb-#{line_num}", t(:description_compare_from) + ' ' + t(:label_changeset), class: 'hidden-for-sighted' %> <%= radio_button_tag('rev', changeset.identifier, (line_num==1), id: "cb-#{line_num}", onclick: "jQuery('#cbto-#{line_num+1}').attr('checked', true);") if show_diff && (line_num < revisions.size) %> - + <%= label_tag "cbto-#{line_num}", t(:description_compare_to) + ' ' + t(:label_changeset), class: 'hidden-for-sighted' %> <%= radio_button_tag('rev_to', changeset.identifier, (line_num==2), id: "cbto-#{line_num}", onclick: "if (jQuery('#cb-#{line_num}').attr('checked')) {jQuery('#cb-#{line_num-1}').attr('checked', true)}") if show_diff && (line_num > 1) %> @@ -135,7 +135,7 @@ See doc/COPYRIGHT.rdoc for more details. <% end %> - +
<% if show_diff %> diff --git a/app/views/wiki/history.html.erb b/app/views/wiki/history.html.erb index c515d50f24..3291ba6954 100644 --- a/app/views/wiki/history.html.erb +++ b/app/views/wiki/history.html.erb @@ -49,7 +49,7 @@ See doc/COPYRIGHT.rdoc for more details. - +
@@ -115,14 +115,14 @@ See doc/COPYRIGHT.rdoc for more details. <% line_num = 1 %> <% @versions.each do |ver| %> - <%= link_to h(ver.version), action: 'show', id: @page, project_id: @page.project, version: ver.version %> - + <%= link_to h(ver.version), action: 'show', id: @page, project_id: @page.project, version: ver.version %> + <% if show_diff && (line_num < @versions.size) %> <%= radio_button_tag('version', ver.version, (line_num==1), id: "cb-#{line_num}", onclick: "jQuery(#'cbto-#{line_num+1}').attr('checked', true);") %> <% end %> - + <% if show_diff && (line_num > 1) %> <%= radio_button_tag('version_from', ver.version, (line_num==2), id: "cbto-#{line_num}") %> @@ -137,7 +137,7 @@ See doc/COPYRIGHT.rdoc for more details. <% end %> - +
diff --git a/app/views/work_packages/_list_simple.html.erb b/app/views/work_packages/_list_simple.html.erb index f6519b9fa7..e4d019553b 100644 --- a/app/views/work_packages/_list_simple.html.erb +++ b/app/views/work_packages/_list_simple.html.erb @@ -39,7 +39,7 @@ See doc/COPYRIGHT.rdoc for more details. - +
@@ -80,7 +80,7 @@ See doc/COPYRIGHT.rdoc for more details. <% for work_package in work_packages %> - + <%= check_box_tag("ids[]", work_package.id, false, style: 'display:none;') %> <%= link_to_work_package(work_package, id_only: true) %> @@ -93,7 +93,7 @@ See doc/COPYRIGHT.rdoc for more details. <% end %> - +
<% end %> diff --git a/app/views/workflows/_form.html.erb b/app/views/workflows/_form.html.erb index 8dfef76fa8..02f9f3869a 100644 --- a/app/views/workflows/_form.html.erb +++ b/app/views/workflows/_form.html.erb @@ -36,7 +36,7 @@ See doc/COPYRIGHT.rdoc for more details. - +
@@ -54,7 +54,7 @@ See doc/COPYRIGHT.rdoc for more details. - + <%=l(:label_current_status)%> @@ -72,7 +72,7 @@ See doc/COPYRIGHT.rdoc for more details. <% for old_status in @statuses %> - + <%= link_to_function(icon_wrapper('icon-context icon-checkmark',"#{l(:label_check_uncheck_all_in_row)}"), "toggleCheckboxesBySelector('table.transitions-#{name} input.old-status-#{old_status.id}')", class: 'no-decoration-on-hover', diff --git a/frontend/app/components/wp-fast-table/builders/cell-builder.ts b/frontend/app/components/wp-fast-table/builders/cell-builder.ts index f39fbb9f75..a241f2b757 100644 --- a/frontend/app/components/wp-fast-table/builders/cell-builder.ts +++ b/frontend/app/components/wp-fast-table/builders/cell-builder.ts @@ -28,10 +28,6 @@ export class CellBuilder { container.classList.add(editCellContainer); const displayElement = this.buildDisplayElement(workPackage, name); - if (name === 'id') { - td.classList.add('-short'); - } - container.appendChild(displayElement); td.appendChild(container); diff --git a/frontend/app/components/wp-fast-table/builders/details-link-builder.ts b/frontend/app/components/wp-fast-table/builders/details-link-builder.ts index 0cfb7fc552..2137d6eeee 100644 --- a/frontend/app/components/wp-fast-table/builders/details-link-builder.ts +++ b/frontend/app/components/wp-fast-table/builders/details-link-builder.ts @@ -23,7 +23,7 @@ export class DetailsLinkBuilder { public build(workPackage:WorkPackageResource):HTMLElement { // Append details button let td = document.createElement('td'); - td.classList.add(detailsLinkTdClass, 'hide-when-print', '-short'); + td.classList.add(detailsLinkTdClass, 'hide-when-print'); let detailsLink = this.uiStatebuilder.linkToDetails( workPackage.id, diff --git a/frontend/app/components/wp-fast-table/builders/rows/hierarchy-rows-builder.ts b/frontend/app/components/wp-fast-table/builders/rows/hierarchy-rows-builder.ts index 87196d155d..3b7d30d775 100644 --- a/frontend/app/components/wp-fast-table/builders/rows/hierarchy-rows-builder.ts +++ b/frontend/app/components/wp-fast-table/builders/rows/hierarchy-rows-builder.ts @@ -240,7 +240,7 @@ export class HierarchyRowsBuilder extends PlainRowsBuilder { ); td.appendChild(link); - td.classList.add('-short', 'hierarchy-row--id-cell'); + td.classList.add('hierarchy-row--id-cell'); } tr.appendChild(td); diff --git a/frontend/app/components/wp-inline-create/inline-create-row-builder.ts b/frontend/app/components/wp-inline-create/inline-create-row-builder.ts index c7d5d4f4ae..daebb552ae 100644 --- a/frontend/app/components/wp-inline-create/inline-create-row-builder.ts +++ b/frontend/app/components/wp-inline-create/inline-create-row-builder.ts @@ -76,7 +76,7 @@ export class InlineCreateRowBuilder extends SingleRowBuilder { protected buildCancelButton() { const td = document.createElement('td'); - td.classList.add('wp-table--cancel-create-td', '-short'); + td.classList.add('wp-table--cancel-create-td'); td.innerHTML = `