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

@ -405,23 +405,23 @@
cursor: pointer;
color: #555;
}
#app-content div.task-list.completed-hidden ol.completed-tasks {
#app-content div.task-list .completed-hidden ol.completed-tasks {
display: none;
}
#app-content div.task-list.completed-hidden h2.heading-hiddentasks text {
#app-content div.task-list .completed-hidden h2.heading-hiddentasks text {
opacity: 0.7;
}
#app-content div.task-list.completed-hidden h2.heading-hiddentasks .icon.toggle-completed-tasks {
#app-content div.task-list .completed-hidden h2.heading-hiddentasks .icon.toggle-completed-tasks {
opacity: 0.5;
background-position: -120px -20px;
}
#app-content div.task-list.completed-hidden h2.heading-hiddentasks:hover text {
#app-content div.task-list .completed-hidden h2.heading-hiddentasks:hover text {
opacity: 1;
}
#app-content div.task-list.completed-hidden h2.heading-hiddentasks:hover .icon.toggle-completed-tasks {
#app-content div.task-list .completed-hidden h2.heading-hiddentasks:hover .icon.toggle-completed-tasks {
opacity: 0.7;
}
#app-content div.task-list.completed-hidden div.loadmore {
#app-content div.task-list .completed-hidden div.loadmore {
display: none;
}
#app-content div.task-list .grouped-tasks {

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>