mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
minor updates from code review
This commit is contained in:
parent
6c85cd18a9
commit
4563d22bf0
2 changed files with 6 additions and 5 deletions
|
|
@ -3,6 +3,8 @@
|
|||
"lotOfToDos": "Completed To-Dos are automatically archived after 3 days. You can access them from Settings > Export.",
|
||||
"deleteToDosExplanation": "If you click the button below, all of your completed To-Dos and archived To-Dos will be permanently deleted. Export them first if you want to keep a record of them.",
|
||||
"beeminderDeleteWarning": "Beeminder users: <strong>First</strong> read <a href=\"http://habitrpg.wikia.com/wiki/Beeminder#Deleting_Completed_To-Dos_Without_Confusing_Beeminder\">Deleting Completed To-Dos Without Confusing Beeminder</a>!",
|
||||
"addmultiple": "Add Multiple",
|
||||
"addsingle": "Add Single",
|
||||
"habits": "Habits",
|
||||
"newHabit": "New Habit",
|
||||
"newHabitBulk": "New Habits (one per line)",
|
||||
|
|
|
|||
|
|
@ -24,14 +24,13 @@ script(id='templates/habitrpg-tasks.html', type="text/ng-template")
|
|||
|
||||
// Add New
|
||||
form.task-add(name='new{{list.type}}form', ng-hide='obj._locked', ng-submit='addTask(obj[list.type+"s"],list)')
|
||||
textarea(rows='6', ng-model='list.newTask', placeholder='{{list.placeHolderBulk}}', ng-if='list.bulk', required)
|
||||
textarea(rows='6', ng-model='list.newTask', placeholder='{{list.placeHolderBulk}}', ng-if='list.bulk', ui-keydown='{"meta-enter ctrl-enter":"addTask(obj[list.type+\'s\'],list)"}', required)
|
||||
input(type='text', ng-model='list.newTask', placeholder='{{list.placeHolder}}', ng-if='!list.bulk', required)
|
||||
button(type='submit', ng-disabled='new{{list.type}}form.$invalid')
|
||||
span.glyphicon.glyphicon-plus
|
||||
span.help-block
|
||||
a(ng-click='toggleBulk(list)')
|
||||
span.add-multiple(ng-if='!list.bulk') Add Multiple
|
||||
span.add-single(ng-if='list.bulk') Add Single
|
||||
small.help-block.btn-link.pull-right(ng-click='toggleBulk(list)')
|
||||
span(ng-if='!list.bulk')=env.t('addmultiple')
|
||||
span(ng-if='list.bulk')=env.t('addsingle')
|
||||
|
||||
mixin taskColumnTabs(position)
|
||||
// Habits Tabs
|
||||
|
|
|
|||
Loading…
Reference in a new issue