Boost logo

Boost-Commit :

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


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

Log:
Website: Check that there is a documentation link in front page entry.
Text files modified:
   website/public_html/beta/site-tools/templates/index-src.html | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: website/public_html/beta/site-tools/templates/index-src.html
==============================================================================
--- website/public_html/beta/site-tools/templates/index-src.html (original)
+++ website/public_html/beta/site-tools/templates/index-src.html 2012-04-13 18:09:49 EDT (Fri, 13 Apr 2012)
@@ -25,8 +25,9 @@
         emit('</div>')
         emit('<div class="news-date">')
         emit('Release Notes' % (htmlencode(entry.location)))
- emit(' | ')
- emit('Documentation' % (htmlencode(entry.documentation)))
+ if entry.documentation:
+ emit(' | ')
+ emit('Documentation' % (htmlencode(entry.documentation)))
         emit('</div>')
         emit('<div class="news-date">%s</div>' % (entry.web_date()))
         emit('</li>\n')


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