fix for due date control

Signed-off-by: Artem Anufrij <artem.anufrij@live.de>
This commit is contained in:
Artem Anufrij
2017-07-05 20:31:01 +02:00
committed by Julius Härtl
parent a14b74223b
commit 14c90e53ce
2 changed files with 2 additions and 2 deletions

View File

@@ -569,13 +569,13 @@ input.input-inline {
.timepicker-input {
width: 50px;
border-left: 0;
border-radius: 0px 3px 3px 0px;
}
.datepicker-input {
width: 85px;
margin: 3px 0px;
border-right: 0;
border-radius: 3px 0px 0px 3px;
}

View File

@@ -52,7 +52,7 @@
</h3>
<div class="duedate">
<input class="datepicker-input medium focus" type="text" placeholder="<?php p($l->t('Click to set')); ?>" value="{{ cardservice.getCurrent().duedate | parseDate }}" datepicker="due" />
<input class="timepicker-input medium focus" type="text" placeholder="00:00:00" ng-if="cardservice.getCurrent().duedate" value="{{ cardservice.getCurrent().duedate | parseTime }}" timepicker="due" />
<input class="timepicker-input medium focus" type="text" placeholder="00:00" ng-disabled="!cardservice.getCurrent().duedate" value="{{ cardservice.getCurrent().duedate | parseTime }}" timepicker="due" />
<button class="icon icon-delete button-inline" title="<?php p($l->t('Remove due date')); ?>" ng-if="cardservice.getCurrent().duedate" ng-click="resetDuedate()"></button>
</div>