[Bast-commits] r8873 - in DBIC-Web: . components pages

david at dev.catalyst.perl.org david at dev.catalyst.perl.org
Thu Mar 4 14:42:37 GMT 2010


Author: david
Date: 2010-03-04 14:42:37 +0000 (Thu, 04 Mar 2010)
New Revision: 8873

Added:
   DBIC-Web/components/main_heading.tt
Modified:
   DBIC-Web/
   DBIC-Web/pages/articles.html
   DBIC-Web/pages/download.html
   DBIC-Web/pages/index.html
   DBIC-Web/pages/support.html
Log:
 r22 at drax:  david | 2010-03-02 17:57:49 +0000
 Move headings to use title var, and add title var everywhere applicable



Property changes on: DBIC-Web
___________________________________________________________________
Modified: svk:merge
   - 8f56f3f5-0ce6-439a-8bf6-7ff32a8a3359:/local/DBIC-Web:21
   + 8f56f3f5-0ce6-439a-8bf6-7ff32a8a3359:/local/DBIC-Web:22

Added: DBIC-Web/components/main_heading.tt
===================================================================
--- DBIC-Web/components/main_heading.tt	                        (rev 0)
+++ DBIC-Web/components/main_heading.tt	2010-03-04 14:42:37 UTC (rev 8873)
@@ -0,0 +1,3 @@
+[% IF title %]
+    <h1>[% title %]</h1>
+[% END %]
\ No newline at end of file


Property changes on: DBIC-Web/components/main_heading.tt
___________________________________________________________________
Added: svn:executable
   + *

Modified: DBIC-Web/pages/articles.html
===================================================================
--- DBIC-Web/pages/articles.html	2010-03-04 14:42:32 UTC (rev 8872)
+++ DBIC-Web/pages/articles.html	2010-03-04 14:42:37 UTC (rev 8873)
@@ -1,3 +1,4 @@
+[% title = "Articles" %]
 [% WRAPPER wrapper.tt %]
 </head>
   <body>
@@ -6,7 +7,7 @@
       [% PROCESS navigation.tt %]
     
       <div id="main"> 
-      <h1>Articles about DBIx::Class</h1>
+      [% PROCESS main_heading.tt %]
       <ul>
 <li><a href="http://rambles.bearcircle.net/2009/05/24/inflatecolumnfile-vs-inflatecolumnfs/">InflateColumn::File vs. InflateColumn::FS</a> May 24th, 2009</li>
 <li><a href="http://blog.netcubed.de/2009/05/reports-with-dbic-and-postgres/">Reports with DBIC and Postgres</a> May 23rd, 2009</li>

Modified: DBIC-Web/pages/download.html
===================================================================
--- DBIC-Web/pages/download.html	2010-03-04 14:42:32 UTC (rev 8872)
+++ DBIC-Web/pages/download.html	2010-03-04 14:42:37 UTC (rev 8873)
@@ -8,9 +8,7 @@
       [% PROCESS navigation.tt %]
     
       <div id="main"> 
-       <h1>
-          Download DBIx::Class
-        </h1>
+       [% PROCESS main_heading.tt %]
 
 	<p>DBIC is distributed via <a href="http://cpan.org">CPAN</a>, you can download
 	a package from <a href="http://search.cpan.org/dist/DBIx-Class/">the distribution

Modified: DBIC-Web/pages/index.html
===================================================================
--- DBIC-Web/pages/index.html	2010-03-04 14:42:32 UTC (rev 8872)
+++ DBIC-Web/pages/index.html	2010-03-04 14:42:37 UTC (rev 8873)
@@ -12,9 +12,7 @@
              style="margin: 0px 0px 0px 40px; border: 0">
         </a>
         
-        <h1>
-          Introduction to DBIx::Class
-        </h1>
+        [% PROCESS main_heading.tt %]
         
         <p>
           Welcome to the DBIx::Class website. This site is devoted to giving more information and 

Modified: DBIC-Web/pages/support.html
===================================================================
--- DBIC-Web/pages/support.html	2010-03-04 14:42:32 UTC (rev 8872)
+++ DBIC-Web/pages/support.html	2010-03-04 14:42:37 UTC (rev 8873)
@@ -1,3 +1,4 @@
+[% title = "Support" %]
 [% WRAPPER wrapper.tt %]
   </head>
     
@@ -7,9 +8,7 @@
       [% PROCESS navigation.tt %]
     
       <div id="main"> 
-       <h1>
-          Support for DBIx::Class
-        </h1>
+      [% PROCESS main_heading.tt %]
 
 	<h2>Commercial Support</h2>
 




More information about the Bast-commits mailing list