[open-ils-commits] r12210 - in trunk/Open-ILS/web/templates: . default/actor/user (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Feb 17 17:57:42 EST 2009
Author: erickson
Date: 2009-02-17 17:57:37 -0500 (Tue, 17 Feb 2009)
New Revision: 12210
Modified:
trunk/Open-ILS/web/templates/base.tt2
trunk/Open-ILS/web/templates/default/actor/user/register.tt2
Log:
allow for the setting of the page title from the sub-template
Modified: trunk/Open-ILS/web/templates/base.tt2
===================================================================
--- trunk/Open-ILS/web/templates/base.tt2 2009-02-17 22:50:41 UTC (rev 12209)
+++ trunk/Open-ILS/web/templates/base.tt2 2009-02-17 22:57:37 UTC (rev 12210)
@@ -1,6 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' lang='[% ctx.locale %]' xml:lang='[% ctx.locale %]'>
<head>
+ <title>[% ctx.page_title %]</title>
<link rel='stylesheet' type='text/css'
href='[% ctx.media_prefix %]/css/skin/[% ctx.skin %].css'></link>
<link rel='stylesheet' type='text/css'
Modified: trunk/Open-ILS/web/templates/default/actor/user/register.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/actor/user/register.tt2 2009-02-17 22:50:41 UTC (rev 12209)
+++ trunk/Open-ILS/web/templates/default/actor/user/register.tt2 2009-02-17 22:57:37 UTC (rev 12210)
@@ -1,3 +1,4 @@
+[% ctx.page_title = 'User Editor' %]
[% WRAPPER default/base.tt2 %]
<script src='[% ctx.media_prefix %]/js/ui/default/actor/user/register.js'> </script>
More information about the open-ils-commits
mailing list