Ticket #1682: fix-1682_1.git.patch

File fix-1682_1.git.patch, 1.4 KB (added by from_pycon, at 2012-03-13T03:12:47Z)
  • src/allmydata/test/test_web.py

    Thu Mar  8 15:17:58 PST 2012  david-sarah@jacaranda.org
      * Make the link on the Welcome page to 'https://tahoe-lafs.org/', not 'http:'. Includes a test. fixes #1682
    diff -rN -u old-tahoe-lafs/src/allmydata/test/test_web.py new-tahoe-lafs/src/allmydata/test/test_web.py
    old new  
    504504        def _check(res):
    505505            self.failUnlessIn('Welcome To Tahoe-LAFS', res)
    506506            self.failUnlessIn(FAVICON_MARKUP, res)
     507            self.failUnlessIn('href="https://tahoe-lafs.org/"', res)
    507508
    508509            self.s.basedir = 'web/test_welcome'
    509510            fileutil.make_dirs("web/test_welcome")
  • src/allmydata/web/welcome.xhtml

    diff -rN -u old-tahoe-lafs/src/allmydata/web/welcome.xhtml new-tahoe-lafs/src/allmydata/web/welcome.xhtml
    old new  
    8686<div class="section" id="other-resources">
    8787  <h2>Other Resources</h2>
    8888
    89   <div>Please visit the <a target="_blank" href="http://tahoe-lafs.org">Tahoe-LAFS home page</a> for
     89  <div>Please visit the <a target="_blank" href="https://tahoe-lafs.org/">Tahoe-LAFS home page</a> for
    9090  code updates and bug reporting.</div>
    9191
    9292  <div n:render="incident_button" />