From f1931c76e6ad63e4493ac7cdd09f8bdf4ce8a00b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Mon, 20 Apr 2026 13:22:41 +0300 Subject: [PATCH] disable buttons that will require js --- app/templates/common/macros.html | 10 +++++----- app/templates/threads/thread.html | 7 ++++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/app/templates/common/macros.html b/app/templates/common/macros.html index cb647ab..c9bc17d 100644 --- a/app/templates/common/macros.html +++ b/app/templates/common/macros.html @@ -147,12 +147,12 @@ Edit {%- endif -%} {%- if can_reply -%} - + {%- endif -%} {%- if can_delete -%} - + Delete {%- endif -%} - + {%- endif -%} @@ -172,10 +172,10 @@ {% set reactors_str = reactors_str + '\n...and many others' %} {% endif %} {% set has_reacted = get_active_user() is not none and get_active_user().username in reactors %} - + {%- endfor -%} - {%- if is_logged_in() -%}{%- endif -%} + {%- if is_logged_in() -%}{%- endif -%} {%- endif -%} diff --git a/app/templates/threads/thread.html b/app/templates/threads/thread.html index c252076..92ae275 100644 --- a/app/templates/threads/thread.html +++ b/app/templates/threads/thread.html @@ -21,7 +21,7 @@ Actions {%- if is_logged_in() -%} - + {%- endif -%} Subscribe via RSS @@ -35,9 +35,10 @@
- + {%- for t in topics -%} - + {%- endfor -%}