From 422cfdbbfd7e11234e08c55d612da16981eb0c76 Mon Sep 17 00:00:00 2001 From: Till Breuer Date: Tue, 29 Apr 2014 17:14:54 +0200 Subject: [PATCH] Rename timeline column directive --- ...-column-directive.js => timeline-column-data-directive.js} | 4 ++-- .../{timeline_column.html => timeline_column_data.html} | 0 public/templates/timelines/timeline_table.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename app/assets/javascripts/angular/directives/timelines/{timeline-column-directive.js => timeline-column-data-directive.js} (94%) rename public/templates/timelines/{timeline_column.html => timeline_column_data.html} (100%) diff --git a/app/assets/javascripts/angular/directives/timelines/timeline-column-directive.js b/app/assets/javascripts/angular/directives/timelines/timeline-column-data-directive.js similarity index 94% rename from app/assets/javascripts/angular/directives/timelines/timeline-column-directive.js rename to app/assets/javascripts/angular/directives/timelines/timeline-column-data-directive.js index 68ae87c789..f091dd811a 100644 --- a/app/assets/javascripts/angular/directives/timelines/timeline-column-directive.js +++ b/app/assets/javascripts/angular/directives/timelines/timeline-column-data-directive.js @@ -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; diff --git a/public/templates/timelines/timeline_column.html b/public/templates/timelines/timeline_column_data.html similarity index 100% rename from public/templates/timelines/timeline_column.html rename to public/templates/timelines/timeline_column_data.html diff --git a/public/templates/timelines/timeline_table.html b/public/templates/timelines/timeline_table.html index c463f81b12..cc11ae4eb9 100644 --- a/public/templates/timelines/timeline_table.html +++ b/public/templates/timelines/timeline_table.html @@ -57,7 +57,7 @@ -