From bb82bcc62aa7c729a3037e09bee916e3fadeefc3 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Tue, 5 Mar 2013 15:52:47 -0500 Subject: [PATCH] namespacing for tasks & rewards too --- views/app/index.html | 6 ++--- views/app/modals.html | 4 +-- views/app/rewards.html | 14 +++++----- views/app/tasks.html | 58 +++++++++++++++++++++--------------------- 4 files changed, 41 insertions(+), 41 deletions(-) diff --git a/views/app/index.html b/views/app/index.html index 69ce9f1db5..c3ce1ca06f 100644 --- a/views/app/index.html +++ b/views/app/index.html @@ -1,9 +1,9 @@ - + - + @@ -31,7 +31,7 @@
- +
diff --git a/views/app/modals.html b/views/app/modals.html index 5b0b26792f..aa6d010a1d 100644 --- a/views/app/modals.html +++ b/views/app/modals.html @@ -17,7 +17,7 @@ - +

Highly discouraged because red tasks provide good incentive to improve (read more). However, this becomes necessary after long bouts of bad habits.

<@footer> {#if lt(_user.balance,1)} @@ -30,7 +30,7 @@ - +

You're out of tokens, which are used to buy pets and mounts.

<@footer> Buy More TokensNot enough tokens diff --git a/views/app/rewards.html b/views/app/rewards.html index e7e1bd29e9..673db54571 100644 --- a/views/app/rewards.html +++ b/views/app/rewards.html @@ -1,17 +1,17 @@
    - {#each _rewardList as :task}{/} + {#each _rewardList as :task}{/}
{#if _user.flags.itemsEnabled}
    - {#with _view.items.weapon as :item}{/} - {#with _view.items.armor as :item}{/} - {#with _view.items.head as :item}{/} - {#with _view.items.shield as :item}{/} - {#with _view.items.potion as :item}{/} - {#with _view.items.reroll as :item}{/} + {#with _view.items.weapon as :item}{/} + {#with _view.items.armor as :item}{/} + {#with _view.items.head as :item}{/} + {#with _view.items.shield as :item}{/} + {#with _view.items.potion as :item}{/} + {#with _view.items.reroll as :item}{/}
{/} diff --git a/views/app/tasks.html b/views/app/tasks.html index 3c20388679..4c2e0ed39b 100644 --- a/views/app/tasks.html +++ b/views/app/tasks.html @@ -2,23 +2,23 @@

Habits

- -
    {#each _habitList as :task}{/}
+ +
    {#each _habitList as :task}{/}

Daily

- -
    {#each _dailyList as :task}{/}
+ +
    {#each _dailyList as :task}{/}

Todos

- +
    - {#each _todoList as :task}{/} + {#each _todoList as :task}{/}
Clear Completed @@ -55,53 +55,53 @@
--> {else} - + {/}
- + {#if _user.flags.petsEnabled}
- +
{#with _view.items.pets as :pets}
- {#with :pets[0]}{/} - {#with :pets[1]}{/} - {#with :pets[2]}{/} - {#with :pets[3]}{/} + {#with :pets[0]}{/} + {#with :pets[1]}{/} + {#with :pets[2]}{/} + {#with :pets[3]}{/}
- {#with :pets[4]}{/} - {#with :pets[5]}{/} - {#with :pets[6]}{/} - {#with :pets[7]}{/} + {#with :pets[4]}{/} + {#with :pets[5]}{/} + {#with :pets[6]}{/} + {#with :pets[7]}{/}
- {#with :pets[8]}{/} - {#with :pets[9]}{/} - {#with :pets[10]}{/} - {#with :pets[11]}{/} + {#with :pets[8]}{/} + {#with :pets[9]}{/} + {#with :pets[10]}{/} + {#with :pets[11]}{/}
- {#with :pets[12]}{/} - {#with :pets[13]}{/} - {#with :pets[14]}{/} - {#with :pets[15]}{/} + {#with :pets[12]}{/} + {#with :pets[13]}{/} + {#with :pets[14]}{/} + {#with :pets[15]}{/}
- {#with :pets[16]}{/} + {#with :pets[16]}{/}
@@ -113,12 +113,12 @@
{else} - + {/}
@@ -167,7 +167,7 @@
{:task.text}
- +