Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77959 - website/public_html/beta/site-tools/templates
From: dnljms_at_[hidden]
Date: 2012-04-13 18:10:03


Author: danieljames
Date: 2012-04-13 18:10:02 EDT (Fri, 13 Apr 2012)
New Revision: 77959
URL: http://svn.boost.org/trac/boost/changeset/77959

Log:
Website: More consistent links on history/news/download pages.
Text files modified:
   website/public_html/beta/site-tools/templates/download-template.html | 21 ++++++++++-----------
   website/public_html/beta/site-tools/templates/history-template.html | 17 ++++++++++++-----
   website/public_html/beta/site-tools/templates/news-template.html | 18 ++++++++++++------
   3 files changed, 34 insertions(+), 22 deletions(-)

Modified: website/public_html/beta/site-tools/templates/download-template.html
==============================================================================
--- website/public_html/beta/site-tools/templates/download-template.html (original)
+++ website/public_html/beta/site-tools/templates/download-template.html 2012-04-13 18:10:02 EDT (Fri, 13 Apr 2012)
@@ -19,20 +19,19 @@
         emit(' <p class="news-date">%s</p>\n\n' % entry.web_date())
         emit(' <p class="news-description">\n')
         emit(' <span class="brief"><span class="purpose">%s</span></span></p>\n\n' % entry.purpose_xml)
- emit(' <ul class="menu">\n')
- emit(' <li>\n')
- emit(' Details' % htmlencode(entry.location))
+ emit('<ul class="menu">\n')
+ emit('<li>')
+ emit('Details' % htmlencode(entry.location))
         emit('</li>\n')
         if(entry.download_item):
- emit('\n')
- emit(' <li>\n')
- emit(' Download</li>' % htmlencode(entry.download_item))
+ emit('<li>')
+ emit('Download' % htmlencode(entry.download_item))
+ emit('</li>\n')
         if(entry.documentation):
- emit('\n')
- emit(' <li>\n')
- emit(' Documentation</li>' % htmlencode(entry.documentation))
- emit('\n')
- emit(' </ul>')
+ emit('<li>')
+ emit('Documentation' % htmlencode(entry.documentation))
+ emit('</li>\n')
+ emit('</ul>\n')
 }$
 
               <h2><a name="history" id="history"></a>Old Boost Releases</h2>

Modified: website/public_html/beta/site-tools/templates/history-template.html
==============================================================================
--- website/public_html/beta/site-tools/templates/history-template.html (original)
+++ website/public_html/beta/site-tools/templates/history-template.html 2012-04-13 18:10:02 EDT (Fri, 13 Apr 2012)
@@ -12,10 +12,17 @@
     emit(' <div class="news-description">\n')
     emit(' <span class="brief"><span class="purpose">%s</span></span>' % (entry.purpose_xml))
     emit(' </div>\n\n')
- emit(' <ul class="menu">\n')
- emit(' <li>\n')
- emit(' Details</li>\n\n' % (htmlencode(entry.location)))
+ emit('<ul class="menu">\n')
+ emit('<li>')
+ emit('Details' % htmlencode(entry.location))
+ emit('</li>\n')
     if(entry.download_item):
- emit(' <li>Download</li>\n' % (htmlencode(entry.download_item)))
- emit(' </ul>')
+ emit('<li>')
+ emit('Download' % htmlencode(entry.download_item))
+ emit('</li>\n')
+ if(entry.documentation):
+ emit('<li>')
+ emit('Documentation' % htmlencode(entry.documentation))
+ emit('</li>\n')
+ emit('</ul>\n')
 }$ </div>

Modified: website/public_html/beta/site-tools/templates/news-template.html
==============================================================================
--- website/public_html/beta/site-tools/templates/news-template.html (original)
+++ website/public_html/beta/site-tools/templates/news-template.html 2012-04-13 18:10:02 EDT (Fri, 13 Apr 2012)
@@ -19,11 +19,17 @@
     emit(' <div class="news-description">\n')
     emit(' <span class="brief"><span class="purpose">%s</span></span>' % (entry.purpose_xml))
     emit(' </div>\n\n')
- emit(' <ul class="menu">\n')
- emit(' <li>\n')
- emit(' Details</li>' % htmlencode(entry.location))
+ emit('<ul class="menu">\n')
+ emit('<li>')
+ emit('Details' % htmlencode(entry.location))
+ emit('</li>\n')
     if(entry.download_item):
- emit('\n\n')
- emit(' <li>Download</li>' % htmlencode(entry.download_item))
- emit('\n </ul>')
+ emit('<li>')
+ emit('Download' % htmlencode(entry.download_item))
+ emit('</li>\n')
+ if(entry.documentation):
+ emit('<li>')
+ emit('Documentation' % htmlencode(entry.documentation))
+ emit('</li>\n')
+ emit('</ul>\n')
 }$ </div>


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