Rename timeline column directive

pull/1241/head
Till Breuer 11 years ago
parent 207ec760e0
commit 422cfdbbfd
  1. 4
      app/assets/javascripts/angular/directives/timelines/timeline-column-data-directive.js
  2. 0
      public/templates/timelines/timeline_column_data.html
  3. 2
      public/templates/timelines/timeline_table.html

@ -29,7 +29,7 @@
angular.module('openproject.timelines.directives')
.constant('WORK_PACKAGE_DATE_COLUMNS', ['start_date', 'due_date'])
.directive('timelineColumn', ['WORK_PACKAGE_DATE_COLUMNS', 'I18n', 'CustomFieldHelper', function(WORK_PACKAGE_DATE_COLUMNS, I18n, CustomFieldHelper) {
.directive('timelineColumnData', ['WORK_PACKAGE_DATE_COLUMNS', 'I18n', 'CustomFieldHelper', function(WORK_PACKAGE_DATE_COLUMNS, I18n, CustomFieldHelper) {
return {
@ -40,7 +40,7 @@ angular.module('openproject.timelines.directives')
timeline: '=',
customFields: '='
},
templateUrl: '/templates/timelines/timeline_column.html',
templateUrl: '/templates/timelines/timeline_column_data.html',
link: function(scope, element) {
scope.isDateColumn = WORK_PACKAGE_DATE_COLUMNS.indexOf(scope.columnName) !== -1;

@ -57,7 +57,7 @@
</span>
</td>
<td timeline-column
<td timeline-column-data
ng-repeat="columnName in columns"
column-name="columnName"
row-object="rowObject"

Loading…
Cancel
Save