diff --git a/gulpfile.js b/gulpfile.js index 69223423e..45834f178 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -242,8 +242,7 @@ gulp.task('watch', ['js', 'templates', 'pdf-worker'], function () { gulp.task('pot', function () { return gulp.src([ 'openslides/core/static/templates/*.html', - 'openslides/*/static/templates/*/*.html', - 'openslides/*/static/templates/*/*/*.html', + 'openslides/*/static/templates/**/*.html', 'openslides/*/static/js/*/*.js', ]) .pipe(gettext.extract('template-en.pot', {})) diff --git a/openslides/motions/static/js/motions/base.js b/openslides/motions/static/js/motions/base.js index 930be6767..008f449ec 100644 --- a/openslides/motions/static/js/motions/base.js +++ b/openslides/motions/static/js/motions/base.js @@ -192,7 +192,6 @@ angular.module('OpenSlidesApp.motions', [ .factory('Motion', [ 'DS', '$http', - '$filter', 'MotionPoll', 'MotionChangeRecommendation', 'MotionComment', @@ -205,7 +204,7 @@ angular.module('OpenSlidesApp.motions', [ 'OpenSlidesSettings', 'Projector', 'operator', - function(DS, $http, $filter, MotionPoll, MotionChangeRecommendation, MotionComment, jsDataModel, gettext, gettextCatalog, + function(DS, $http, MotionPoll, MotionChangeRecommendation, MotionComment, jsDataModel, gettext, gettextCatalog, Config, lineNumberingService, diffService, OpenSlidesSettings, Projector, operator) { var name = 'motions/motion'; return DS.defineResource({