minor improvements
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -143,7 +143,8 @@ public class Time implements Mappable{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Time stop(LocalDateTime endTime) {
|
public Time stop(LocalDateTime endTime) {
|
||||||
end = endTime.withNano(0);
|
end = endTime.withSecond(0).withNano(0);
|
||||||
|
start = start.withSecond(0).withNano(0);
|
||||||
state = State.Open;
|
state = State.Open;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -163,9 +163,13 @@
|
|||||||
{time.subject}
|
{time.subject}
|
||||||
</td>
|
</td>
|
||||||
<td class="tasks" onclick={e => {detail = time.id}}>
|
<td class="tasks" onclick={e => {detail = time.id}}>
|
||||||
{#each Object.entries(time.tasks) as [tid,task]}
|
<ul>
|
||||||
<a href="#" onclick={e => openTask(tid)}>{task}</a>
|
{#each Object.entries(time.tasks) as [tid,task]}
|
||||||
{/each}
|
<li>
|
||||||
|
<a href="#" onclick={e => openTask(tid)}>{task}</a>
|
||||||
|
</li>
|
||||||
|
{/each}
|
||||||
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
<td class="state" onclick={e => {detail = time.id}}>
|
<td class="state" onclick={e => {detail = time.id}}>
|
||||||
{t("state_"+time.state.name.toLowerCase())}
|
{t("state_"+time.state.name.toLowerCase())}
|
||||||
|
|||||||
Reference in New Issue
Block a user