diff --git a/Makefile b/Makefile index 0af7aa611..e398722f7 100644 --- a/Makefile +++ b/Makefile @@ -25,14 +25,11 @@ install-deps: cd js && npm install --deps cd js && ./node_modules/.bin/bower install -build: build-js build-css +build: build-js build-js: install-deps cd js && ./node_modules/.bin/grunt build -build-css: install-deps - ./js/node_modules/node-sass/bin/node-sass --output-style compressed css/legacy.scss css/style.css - watch: cd js && ./node_modules/.bin/grunt watch diff --git a/css/legacy.scss b/css/comp-appnav.scss similarity index 60% rename from css/legacy.scss rename to css/comp-appnav.scss index e99022075..49b0b2543 100644 --- a/css/legacy.scss +++ b/css/comp-appnav.scss @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016 Julius Härtl + * @copyright Copyright (c) 2017 Julius Härtl * * @author Julius Härtl * @@ -20,5 +20,26 @@ * */ -@import '../../../core/css/variables.scss'; -@import 'style.scss'; +/** + * Hotfix for support 0) - {this.counter--;} + if (this.counter > 0) { + this.counter--; + } if (this.counter <= 0) { this.active = false; this.counter = 0; @@ -70,7 +71,9 @@ app.factory('StatusService', function () { return { getInstance: function () { return new StatusService(); - } + }, + /* Shared StatusService instance between both ListController instances */ + listStatus: new StatusService() }; }); diff --git a/templates/part.boardlist.php b/templates/part.boardlist.php index f33748fa8..0a373449b 100644 --- a/templates/part.boardlist.php +++ b/templates/part.boardlist.php @@ -1,10 +1,15 @@ +
+
+
t('Status')); ?>
+

{{ statusservice.title }}

+

{{ statusservice.text }}

+
@@ -21,16 +26,15 @@ -
+
{{ b.title }}
- +
-

+

@@ -42,9 +46,10 @@ -
- +