Merge pull request #2840 from hirtie-maxim/fix/19583_overview_wrong_sum

Fix displaying of sums in work packages overview
pull/2913/head
Jan Sandbrink 10 years ago
commit d29ea78df4
  1. 4
      frontend/app/templates/work_packages/work_packages_table.html

@ -144,7 +144,7 @@
'issue', 'issue',
'work_package' 'work_package'
]"> ]">
<td colspan="{{2 - (!!hideWorkPackageDetails * 1)}}"> <td colspan="{{1 - (!!hideWorkPackageDetails * 1)}}">
{{ I18n.t('js.label_sum_for') }} {{ I18n.t('js.label_sum_for') }}
<span work-package-column <span work-package-column
work-package="row.object" work-package="row.object"
@ -164,7 +164,7 @@
<tr work-package-total-sums <tr work-package-total-sums
ng-if="displaySums" ng-if="displaySums"
class="sum group all issue work_package"> class="sum group all issue work_package">
<td colspan="{{2 - (!!hideWorkPackageDetails * 1)}}"> <td colspan="{{1 - (!!hideWorkPackageDetails * 1)}}">
<div class="work-packages-table--footer-outer"> <div class="work-packages-table--footer-outer">
{{ I18n.t('js.label_sum_for') }} {{ I18n.t('js.label_all_work_packages') }} {{ I18n.t('js.label_sum_for') }} {{ I18n.t('js.label_all_work_packages') }}
</div> </div>

Loading…
Cancel
Save