diff --git a/src/content/mytinytodo.js b/src/content/mytinytodo.js
index b9e90ad..7fd17eb 100644
--- a/src/content/mytinytodo.js
+++ b/src/content/mytinytodo.js
@@ -1090,14 +1090,18 @@ function prepareTaskBlocks(item)
"\n" +
'
' +
- '
' +
- preparePrio(item.prio,id) +
- '
' + prepareTaskTitleInlineHtml(item.title) + ' ' +
- (curList.id == -1 ? '
'+ tabLists.get(item.listId).name +'' : '') +
- prepareTagsStr(item) +
- '
'+item.dateInlineTitle+'' +
+ '
' +
+ '
' +
+ preparePrio(item.prio,id) +
+ '' + prepareTaskTitleInlineHtml(item.title) + ' ' +
+ (curList.id == -1 ? ''+ tabLists.get(item.listId).name +'' : '') +
+ prepareTagsStr(item) +
+ '
' +
+ '
' + prepareDueDate(item) + "
" +
+ '
' +
+ '
' +
+ prepareInlineDate(item) +
'
' +
- '
' + prepareDueDate(item) + prepareCompletedDate(item) + "
" +
"
" +
'
' +
@@ -1169,16 +1173,11 @@ function prepareDueDate(item)
};
_mtt.prepareDueDate = prepareDueDate;
-function prepareCompletedDate(item)
+function prepareInlineDate(item)
{
- // — = — = —
- return '
' +
- '' + item.dateInline + '—' +
- '' + item.dateCompletedInline + '' +
- '';
-};
-_mtt.prepareCompletedDate = prepareCompletedDate;
-
+ return '
#' + item.id + ' ' + (item.compl ? item.dateCompletedInlineTitle : item.dateInlineTitle) ;
+}
+_mtt.prepareInlineDate = prepareInlineDate;
function submitNewTask(form)
{
diff --git a/src/content/theme/style.css b/src/content/theme/style.css
index 0f53e8d..26511f1 100644
--- a/src/content/theme/style.css
+++ b/src/content/theme/style.css
@@ -482,19 +482,26 @@ li.task-row.task-expanded .task-toggle { transform:rotate(90deg); }
.task-middle {
flex-grow:1;
margin-left: 5px;
- min-width:0; /*for long text*/
- display: flex;
align-items: baseline;
line-height: 1.2rem;
+ min-width: 0; /*for long text*/
+}
+.task-middle-top {
+ display: flex;
}
.task-actions { flex:0 0 1rem; margin-left:5px; }
.task-left label { min-width:18px; text-align:center; } /* Safari has small checkboxes */
-.task-date { color:var(--color-text-reduced3); font-size:0.8rem; margin-left:4px; display:none; }
-.task-date-completed { color:var(--color-text-reduced3); display:none; margin-left:5px; }
-#mtt.show-inline-date .task-date { display:inline; }
-#mtt.show-inline-date li.task-row.task-completed .task-date-completed { display:inline; }
-#mtt.show-inline-date li.task-row.task-completed .task-date { display:none; }
+.task-date {
+ color: var(--color-text-reduced3);
+ font-size: 0.8rem;
+ margin-top: 0.2rem;
+ display: none;
+}
+.task-id {
+ /*display: none;*/
+}
+#mtt.show-inline-date .task-date { display: block; }
.task-through { overflow:hidden; flex-grow:1; }
.task-title a { color: var(--color-text-default); }
.task-title a:hover { color: var(--color-tasklist-link-hover); }
@@ -953,7 +960,11 @@ li.mtt-item-hidden { display:none; }
#toolbar.mtt-insearch .searchbox-c { width:100%; max-width:100%; }
#search { padding:5px 20px; border-radius:15px; }
- .task-date { display:none; }
+ .task-date {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
.task-note-actions { display:block; padding-top:8px; }
.task-note-block {
padding-left: 0.625rem;
diff --git a/src/content/theme/style_rtl.css b/src/content/theme/style_rtl.css
index 6b1fb0e..8d12cce 100644
--- a/src/content/theme/style_rtl.css
+++ b/src/content/theme/style_rtl.css
@@ -25,7 +25,6 @@ h2 { padding-left:10px; padding-right:0px; }
.duedate { margin-left:0; margin-right:5px; }
.duedate-arrow { display:none; }
.duedate:before { content:'\20\2190\20'; }
-.task-date-completed { margin-left:0; margin-right:5px; }
#tagcloud { box-shadow:-1px 2px 5px rgba(0,0,0,0.5); }
#tagcloudcancel { float:left; }
diff --git a/src/includes/lang/en.json b/src/includes/lang/en.json
index 9fccaf2..c9d6c63 100644
--- a/src/includes/lang/en.json
+++ b/src/includes/lang/en.json
@@ -17,7 +17,7 @@
"searching": "Searching for",
"tasks": "Tasks",
"taskdate_inline_created": "created at %s",
- "taskdate_inline_completed": "Completed at %s",
+ "taskdate_inline_completed": "completed at %s",
"taskdate_inline_duedate": "Due %s",
"taskdate_created": "Created",
"taskdate_completed": "Completed",
diff --git a/src/includes/lang/ru.json b/src/includes/lang/ru.json
index 46b9ad3..7f2827c 100644
--- a/src/includes/lang/ru.json
+++ b/src/includes/lang/ru.json
@@ -17,7 +17,7 @@
"searching": "Поиск",
"tasks": "Задачи",
"taskdate_inline_created": "добавлена %s",
- "taskdate_inline_completed": "Завершена %s",
+ "taskdate_inline_completed": "завершена %s",
"taskdate_inline_duedate": "В срок %s",
"taskdate_created": "Дата создания",
"taskdate_completed": "Дата завершения",