Revision: 755
          http://rpy.svn.sourceforge.net/rpy/?rev=755&view=rev
Author:   lgautier
Date:     2009-08-23 17:21:49 +0000 (Sun, 23 Aug 2009)

Log Message:
-----------
news.html was not built properly
anchors to news entries were empty

Modified Paths:
--------------
    trunk/htdocs/build.py
    trunk/htdocs/templates/base.html
    trunk/htdocs/templates/news.html

Modified: trunk/htdocs/build.py
===================================================================
--- trunk/htdocs/build.py       2009-08-23 16:41:17 UTC (rev 754)
+++ trunk/htdocs/build.py       2009-08-23 17:21:49 UTC (rev 755)
@@ -4,6 +4,7 @@
 to_render = ('index.html',
              'contacts.html',
              'maillist.html',
+             'news.html',
              'rpy.html',
              'rpy_bugs.html',
              'rpy_documentation.html',

Modified: trunk/htdocs/templates/base.html
===================================================================
--- trunk/htdocs/templates/base.html    2009-08-23 16:41:17 UTC (rev 754)
+++ trunk/htdocs/templates/base.html    2009-08-23 17:21:49 UTC (rev 755)
@@ -123,7 +123,7 @@
     </div>
   <ul class="menu">
   {% for item in latestnews %}
-  <li><a href="news.html#{{ item.id }}">
+  <li><a href="news.html#{{ item.date }}">
   {{ item.title }}</a><br/>
   <i>({{ item.date }})</i><br> <br>
   </li>

Modified: trunk/htdocs/templates/news.html
===================================================================
--- trunk/htdocs/templates/news.html    2009-08-23 16:41:17 UTC (rev 754)
+++ trunk/htdocs/templates/news.html    2009-08-23 17:21:49 UTC (rev 755)
@@ -2,10 +2,10 @@
 
 {% block main %}
  
-{% for item in news %}
+{% for item in newslist %}
 
 <div class="news">
-  <a name="{{ item.id }}">
+  <a name="{{ item.date }}">
   <div class="news-header">
     <table width="100%" cellpadding="0" cellspacing="0">
       <tr>


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to