From b74a105beee558fa5d3bb0ea7db84179406dc1c6 Mon Sep 17 00:00:00 2001 From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com> Date: Sun, 5 Nov 2023 15:43:10 +0100 Subject: [PATCH] account.settings --- www/app/router.js | 1 + www/app/templates/account.hbs | 3 ++ www/app/templates/account/settings.hbs | 59 ++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 www/app/templates/account/settings.hbs diff --git a/www/app/router.js b/www/app/router.js index ec24c28..a5cc3cf 100644 --- a/www/app/router.js +++ b/www/app/router.js @@ -9,6 +9,7 @@ Router.map(function() { this.route('account', { path: '/account/:login' }, function() { this.route('payouts'); this.route('rewards'); + this.route('settings'); }); this.route('not-found'); diff --git a/www/app/templates/account.hbs b/www/app/templates/account.hbs index 0866361..75b2b46 100644 --- a/www/app/templates/account.hbs +++ b/www/app/templates/account.hbs @@ -72,6 +72,9 @@ {{#active-li currentWhen='account.payouts' role='presentation'}} {{#link-to 'account.payouts'}}Payouts{{/link-to}} {{/active-li}} + {{#active-li currentWhen='account.settings' role='presentation'}} + {{#link-to 'account.settings'}}Settings{{/link-to}} + {{/active-li}} diff --git a/www/app/templates/account/settings.hbs b/www/app/templates/account/settings.hbs new file mode 100644 index 0000000..139c93b --- /dev/null +++ b/www/app/templates/account/settings.hbs @@ -0,0 +1,59 @@ +