subcategories and editing for tasks
This commit is contained in:
@@ -10,7 +10,14 @@
|
||||
<div class="card" style="border-left: 5px solid {{ entry.activity.color }}; transition: transform 0.1s;">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center;">
|
||||
<div>
|
||||
<h3 style="margin: 0;">{{ entry.activity.name }}</h3>
|
||||
<h3 style="margin: 0;">
|
||||
{{ entry.activity.name }}
|
||||
{% if entry.subcategory %}
|
||||
<span style="font-size: 0.8rem; background: #eee; padding: 2px 8px; border-radius: 10px; color: #555; vertical-align: middle;">
|
||||
{{ entry.subcategory }}
|
||||
</span>
|
||||
{% endif %}
|
||||
</h3>
|
||||
<small style="color: #666;">
|
||||
{{ entry.start_time.strftime('%Y-%m-%d %H:%M') }} - {{ entry.end_time.strftime('%H:%M') }}
|
||||
</small>
|
||||
|
||||
Reference in New Issue
Block a user