diff --git a/xian_favor/api.py b/xian_favor/api.py index 4859214..614d16b 100644 --- a/xian_favor/api.py +++ b/xian_favor/api.py @@ -1179,14 +1179,14 @@ function renderItems(items) {
${getTypeIcon(item.type)} ${item.title || truncate(item.content || item.url, 30)} ${item.type === 'todo' && item.status === 'completed' ? ' ✓' : ''} + + ${formatShortDate(item.created_at)}${item.updated_at && item.updated_at !== item.created_at ? '→' + formatShortDate(item.updated_at) : ''} +

${item.url ? truncate(item.url, 50) : item.content ? truncate(item.content, 50) : item.note ? truncate(item.note, 50) : ''} ${item.type === 'todo' ? `${getStatusLabelShort(item.status)} ${getPriorityLabelShort(item.priority)} ${item.due_date ? '📅' + formatDueDate(item.due_date) : ''}` : ''}

-

- ${formatShortDate(item.created_at)}${item.updated_at && item.updated_at !== item.created_at ? ' → ' + formatShortDate(item.updated_at) : ''} -

${item.tags.slice(0, 2).map(t => `${t}`).join('')}