Skip to content

Commit

Permalink
removing whitespaces
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
  • Loading branch information
Ryan Fletcher authored and juliushaertl committed Aug 24, 2018
1 parent f1ebe01 commit d17d0ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions js/controller/BoardController.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St
$scope.filterData('-lastModified', $scope.searchText);
} else {
$scope.filterData('order', $scope.searchText);
}
}
};
$scope.checkCanEdit = function () {
return !BoardService.getCurrent().archived;
Expand All @@ -136,7 +136,7 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St
if ($scope.stacks === undefined) {
return;
}
angular.copy(StackService.getData(), $scope.stacks);
angular.copy(StackService.getData(), $scope.stacks);
$scope.stacks = $filter('orderBy')($scope.stacks, 'order');
angular.forEach($scope.stacks, function (value, key) {
var cards = $filter('cardSearchFilter')(value.cards, text);
Expand Down
12 changes: 6 additions & 6 deletions templates/part.board.mainView.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@
<div class="stack" ng-repeat="s in stacks" data-as-sortable-item
data-columnindex="{{$index}}" id="column{{$index}}"
style="">
<h3 data-as-sortable-item-handle>
<h3 data-as-sortable-item-handle>
<span class="editable-inline"
ng-show="!s.status.editStack"
ng-click="s.status.editStack=true">{{ s.title }}</span>
ng-show="!s.status.editStack"
ng-click="s.status.editStack=true">{{ s.title }}</span>

<form ng-if="s.status.editStack" ng-submit="stackservice.update(s); s.status.editStack=false">
<input type="text" placeholder="<?php p($l->t('Add a new stack')); ?>"
ng-blur="stackservice.update(s); s.status.editStack=false" ng-model="s.title"
autofocus-on-insert required maxlength="100" />
</form>
</form>
<button class="icon-delete button-inline stack-actions"
ng-if="!s.status.editStack"
ng-click="stackDelete(s)"></button>
Expand All @@ -69,7 +69,7 @@
<p><?php p($l->t('Drop your files here to upload it to the card')); ?></p>
</div>
<div data-as-sortable-item-handle>
<div class="card-upper">
<div class="card-upper">
<h4>
<span class="editable-inline"
ng-show="!c.status.editCard"
Expand All @@ -80,7 +80,7 @@
ng-blur="cardservice.update(c); c.status.editCard=false" ng-model="c.title"
autofocus-on-insert required maxlength="100" />
</form>
</h4>
</h4>
<ul class="labels">
<li ng-repeat="label in cardservice.get(c.id).labels"
ng-style="labelStyle(label.color)" title="{{ label.title }}">
Expand Down

0 comments on commit d17d0ec

Please sign in to comment.