From c5fa76dab0c0b743360b8ce60a62c532accac680 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 30 Jan 2021 00:50:50 +0000 Subject: [PATCH] Add permissions check in outdated macro --- app/templates/macros/todo.html | 24 ++++++++++++++---------- app/templates/todo/outdated.html | 2 +- app/templates/todo/user.html | 2 +- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/app/templates/macros/todo.html b/app/templates/macros/todo.html index d744c7f..9b859b2 100644 --- a/app/templates/macros/todo.html +++ b/app/templates/macros/todo.html @@ -1,4 +1,4 @@ -{% macro render_outdated_packages(outdated_packages) -%} +{% macro render_outdated_packages(outdated_packages, current_player) -%}