Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79664 - in website/public_html/beta: generated site-tools/templates
From: dnljms_at_[hidden]
Date: 2012-07-22 03:37:48


Author: danieljames
Date: 2012-07-22 03:37:47 EDT (Sun, 22 Jul 2012)
New Revision: 79664
URL: http://svn.boost.org/trac/boost/changeset/79664

Log:
Website: Link current releases to release notes.
Text files modified:
   website/public_html/beta/generated/home-items.html | 2 +-
   website/public_html/beta/site-tools/templates/index-template.py | 12 ++++++------
   2 files changed, 7 insertions(+), 7 deletions(-)

Modified: website/public_html/beta/generated/home-items.html
==============================================================================
--- website/public_html/beta/generated/home-items.html (original)
+++ website/public_html/beta/generated/home-items.html 2012-07-22 03:37:47 EDT (Sun, 22 Jul 2012)
@@ -3,7 +3,7 @@
 <div id="downloads">
 <h3>Current Release</h3>
 <ul>
-<li><div class="news-title">Version 1.50.0</div><div class="news-date">Release Notes | Documentation</div><div class="news-date">June 28th, 2012 12:48 GMT</div></li>
+<li><div class="news-title">Version 1.50.0</div><div class="news-date">Details | Download | Documentation</div><div class="news-date">June 28th, 2012 12:48 GMT</div></li>
 </ul>
 </div>
 <p>More Downloads... (RSS)</p>

Modified: website/public_html/beta/site-tools/templates/index-template.py
==============================================================================
--- website/public_html/beta/site-tools/templates/index-template.py (original)
+++ website/public_html/beta/site-tools/templates/index-template.py 2012-07-22 03:37:47 EDT (Sun, 22 Jul 2012)
@@ -15,14 +15,14 @@
     for entry in entries:
         emit('<li>')
         emit('<div class="news-title">')
- if entry.download_item:
- emit('<a href="%s">' % htmlencode(entry.download_item))
- emit(entry.full_title_xml)
- if entry.download_item:
- emit('</a>')
+ emit('%s' % (htmlencode(entry.location),
+ entry.full_title_xml))
         emit('</div>')
         emit('<div class="news-date">')
- emit('Release Notes' % (htmlencode(entry.location)))
+ emit('Details' % (htmlencode(entry.location)))
+ if entry.download_item:
+ emit(' | ')
+ emit('Download' % (htmlencode(entry.download_item)))
         if entry.documentation:
             emit(' | ')
             emit('Documentation' % (htmlencode(entry.documentation)))


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk