Always show load tasks button in completed list

closes #187
This commit is contained in:
Raimund Schlüßler 2015-06-17 21:23:42 +02:00
parent e693021cd1
commit 2ba31897f3
4 changed files with 9 additions and 9 deletions

View file

@ -426,7 +426,7 @@
margin-top: 10px;
text-align: center;
}
&.completed-hidden{
.completed-hidden{
ol.completed-tasks{
display:none;
}

View file

@ -87,7 +87,7 @@
ng-keydown="checkTaskInput($event)"/>
</form>
</div>
<div class="task-list" ng-class="{'completed-hidden':!settingsmodel.getById('various').showHidden}">
<div class="task-list">
<?php print_unescaped($this->inc('part.tasklist')); ?>
<?php print_unescaped($this->inc('part.collectionall')); ?>
<?php print_unescaped($this->inc('part.collectionweek')); ?>

View file

@ -1,6 +1,6 @@
<!-- <div ng-switch-default> -->
<div ng-if="route.listID != 'week' && route.listID != 'starred' && route.listID != 'completed' && route.listID != 'all' && route.listID != 'today' && route.listID != 'current'">
<div class="grouped-tasks">
<div class="grouped-tasks" ng-class="{'completed-hidden':!settingsmodel.getById('various').showHidden}">
<ol class="tasks" rel="uncompleted" oc-drop-task>
<li ng-repeat="(id, task) in tasks | filter:filterTasks(task,route.listID) | filter:{'completed':'false'} | filter:filterTasksByString(task) | orderBy:sortDue | orderBy:'starred':true"
class="task-item ui-draggable handler" rel="{{ task.id }}" ng-click="openDetails(task.id)" ng-class="{done: task.completed}" oc-drag-task>