21 lines
1.4 KiB
HTML
21 lines
1.4 KiB
HTML
<tr ng-if="row.Initialized" ng-show="row.Show">
|
|
<td ng-repeat="header in (ViewModel.Header.Weeks) track by $index"
|
|
ng-if="header.Initialized"
|
|
ng-show="header.Show"
|
|
ng-class="row.CSSClass[$index]"
|
|
style="height: 31px; {{ row.CSSStyle[$index] }}">
|
|
<a href="javascript:void(0)" editable-text="row.Cells[$index]" e-name="ColValue" e-ng-blur="onTxtBlur(this);" onshow="watchKeyInput(this)" buttons="no"
|
|
blur="submit" onbeforesave="checkResourceValue(row, $index, $data)" e-required
|
|
ng-if="row.EditableForecastWeeks[$index] && !row.IsMultipleECs && ViewModel.Visibility.ForecastEditable">
|
|
{{ row.Cells[$index] || 0 | number:2 }}
|
|
</a>
|
|
<span ng-if="!row.EditableForecastWeeks[$index] || row.IsMultipleECs || !ViewModel.Visibility.ForecastEditable" ng-attr-title='{{ row.IsMultipleECs ? "This resource is in more than one ECs/Project Roles" : "" }}'>
|
|
{{ (row.Cells[$index] | number:2) }}
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<!-- Project Parts -->
|
|
<tr ng-if="row.IsMaster && part.Initialized" ng-repeat="part in row.Children" grid-row templateUrl="{{part.Templates.Numbers}}" ng-init="row = part"></tr>
|
|
<!-- Actuals Rows -->
|
|
<tr ng-if="!row.IsMaster && actRow.Initialized" ng-repeat="actRow in row.Children" grid-row templateUrl="{{actRow.Templates.Numbers}}" ng-init="row = actRow"></tr>
|