From 9501e67661f58547720b54711c77720c262ee619 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Sat, 16 Mar 2013 19:21:27 -0400 Subject: [PATCH] add missing namespaces for rewards & tasks for consistency & organization --- views/app/index.html | 6 ++--- views/app/modals.html | 4 ++-- views/app/rewards.html | 16 ++++++------- views/app/tasks.html | 54 +++++++++++++++++++++--------------------- 4 files changed, 40 insertions(+), 40 deletions(-) diff --git a/views/app/index.html b/views/app/index.html index 549cbbe348..8664b784a0 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 6a8c0bb4a7..340882a36b 100644 --- a/views/app/rewards.html +++ b/views/app/rewards.html @@ -1,22 +1,22 @@ - + {#if _rewardList}
    - {#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 c038cfdb8d..1290268b4c 100644 --- a/views/app/tasks.html +++ b/views/app/tasks.html @@ -5,8 +5,8 @@

Habits

- -
    {#each _habitList as :task}{/}
+ +
    {#each _habitList as :task}{/}
@@ -14,8 +14,8 @@

Daily

- -
    {#each _dailyList as :task}{/}
+ +
    {#each _dailyList as :task}{/}
@@ -34,12 +34,12 @@
- +
    - {#each _todoList as :task}{/} + {#each _todoList as :task}{/}
@@ -72,7 +72,7 @@ --> {else} - + {/}

Rewards

@@ -82,7 +82,7 @@
- +
@@ -90,31 +90,31 @@ {#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]}{/}
{/} @@ -131,7 +131,7 @@ {else} - + {/}
@@ -192,7 +192,7 @@

{:task.text}

- +