diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js index 34674d0e8..157678b20 100644 --- a/customize.dist/translations/messages.js +++ b/customize.dist/translations/messages.js @@ -478,6 +478,10 @@ define(function () { out.download_mt_button = "Download"; out.todo_title = "CryptTodo"; + out.todo_newTodoNamePlaceholder = "Describe your task..."; + out.todo_newTodoNameTitle = "Add this task to your todo list"; + out.todo_markAsCompleteTitle = "Mark this task as complete"; + out.todo_markAsIncompleteTitle = "Mark this task as incomplete"; // general warnings out.warn_notPinned = "This pad is not in anyone's CryptDrive. It will expire after 3 months. Learn more..."; diff --git a/www/todo/inner.html b/www/todo/inner.html index 476376a4d..6fd175357 100644 --- a/www/todo/inner.html +++ b/www/todo/inner.html @@ -10,8 +10,8 @@
- - + +
diff --git a/www/todo/main.js b/www/todo/main.js index 20cece307..749fdfe4d 100644 --- a/www/todo/main.js +++ b/www/todo/main.js @@ -52,8 +52,13 @@ define([ var entry = APP.lm.proxy.data[id]; var checked = entry.state === 1? 'cp-task-checkbox-checked fa-check-square-o': 'cp-task-checkbox-unchecked fa-square-o'; + var title = entry.state === 1? + Messages.todo_markAsIncompleteTitle: + Messages.todo_markAsCompleteTitle; + return $('', { 'class': 'cp-task-checkbox fa ' + checked, + //title: title, }).on('click', function () { entry.state = (entry.state + 1) % 2; if (typeof(cb) === 'function') { @@ -82,9 +87,9 @@ define([ $('', { 'class': 'cp-task-text' }) .text(entry.task) .appendTo($taskDiv); - $('', { 'class': 'cp-task-date' }) + /*$('', { 'class': 'cp-task-date' }) .text(new Date(entry.ctime).toLocaleString()) - .appendTo($taskDiv); + .appendTo($taskDiv);*/ $('