From 2b48aab2a3c38b0c0217956fd4f884f84f643404 Mon Sep 17 00:00:00 2001 From: rjy7 Date: Wed, 3 Nov 2010 02:30:34 +0000 Subject: [PATCH] Combine addition of scripts and stylesheets into a single macro in the login widget --- themes/wilma/templates/page-home.ftl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/wilma/templates/page-home.ftl b/themes/wilma/templates/page-home.ftl index 22d0ddfe..270c7760 100644 --- a/themes/wilma/templates/page-home.ftl +++ b/themes/wilma/templates/page-home.ftl @@ -2,13 +2,14 @@ <#import "lib-list.ftl" as l> <#import "widget-login.ftl" as login> - +<@login.assets /> + ${title} - <@login.styles /> + ${stylesheets.addFromTheme("/css/screen.css")} ${stylesheets.tags}