feat: show indicator on a repeating task (#925)

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#925
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
This commit is contained in:
konrad 2021-11-01 16:06:03 +00:00
parent b06b419817
commit d8d4803e2d
2 changed files with 7 additions and 6 deletions

View File

@ -58,6 +58,9 @@
<span v-if="task.description" class="icon">
<icon icon="align-left"/>
</span>
<span class="icon" v-if="task.repeatAfter.amount > 0">
<icon icon="history"/>
</span>
</div>
</div>
</template>

View File

@ -30,7 +30,7 @@
{{ task.title }}
</span>
<labels class="labels" :labels="task.labels"/>
<labels class="labels ml-2 mr-1" :labels="task.labels" v-if="task.labels.length > 0"/>
<user
:avatar-size="27"
:is-inline="true"
@ -58,6 +58,9 @@
<span class="list-task-icon" v-if="task.description">
<icon icon="align-left"/>
</span>
<span class="list-task-icon" v-if="task.repeatAfter.amount > 0">
<icon icon="history"/>
</span>
</span>
<checklist-summary :task="task"/>
</router-link>
@ -252,11 +255,6 @@ export default {
flex: 0 0 10px;
}
.labels {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.avatar {
border-radius: 50%;
vertical-align: bottom;