From 2a213a6c1e0737424f4e57200b7223a1d1dd2c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Zanghelini?= Date: Fri, 5 Oct 2018 14:00:23 -0300 Subject: [PATCH] Add settings page to control watched categories (#422) --- templates/account/categories.tpl | 15 +++++++++++++ templates/partials/account/category-item.tpl | 22 ++++++++++++++++++++ templates/partials/account/menu.tpl | 1 + templates/partials/category/watch.tpl | 8 +++---- 4 files changed, 42 insertions(+), 4 deletions(-) create mode 100644 templates/account/categories.tpl create mode 100644 templates/partials/account/category-item.tpl diff --git a/templates/account/categories.tpl b/templates/account/categories.tpl new file mode 100644 index 0000000..1e56434 --- /dev/null +++ b/templates/account/categories.tpl @@ -0,0 +1,15 @@ +
+ + +
+

{title}

+ +
+
    + + + +
+
+
+
diff --git a/templates/partials/account/category-item.tpl b/templates/partials/account/category-item.tpl new file mode 100644 index 0000000..a214109 --- /dev/null +++ b/templates/partials/account/category-item.tpl @@ -0,0 +1,22 @@ +
  • + + +
    +
    + +
    + +

    + +

    +
    + +
    + {../descriptionParsed} +
    + +
    +
    + + +
  • diff --git a/templates/partials/account/menu.tpl b/templates/partials/account/menu.tpl index 13a9603..6f18bd8 100644 --- a/templates/partials/account/menu.tpl +++ b/templates/partials/account/menu.tpl @@ -28,6 +28,7 @@
  • [[user:edit]]
  • [[user:settings]]
  • +
  • [[user:watched_categories]]
  • diff --git a/templates/partials/category/watch.tpl b/templates/partials/category/watch.tpl index cc0f0ca..b1dd0f7 100644 --- a/templates/partials/category/watch.tpl +++ b/templates/partials/category/watch.tpl @@ -3,16 +3,16 @@ \ No newline at end of file