def _check(res):
self.failUnless('Welcome To AllMyData' in res)
self.failUnless('Tahoe' in res)
- self.failUnless('To view the global shared filestore' in res)
+ self.failUnless('View <a href="vdrive/global">the global shared filestore' in res, res)
self.failUnless('personal vdrive not available.' in res)
self.s.basedir = 'web/test_welcome'
<h1>Welcome To Your AllMyData "Tahoe" Node!</h1>
-<div>To view the global shared filestore,
- <a href="%(base_url)s/vdrive/global">Click Here!</a>
-</div>
+<div>View <a href="%(base_url)s/vdrive/global">the global shared filestore</a>.</div>
-<div>To view your personal private non-shared filestore,
- <a href="%(base_url)s/uri/%(private_uri)s">Click Here!</a>
-</div>
+<div>View <a href="%(base_url)s/uri/%(private_uri)s">your personal private non-shared filestore</a>.</div>
-<div>To view this node's status page,
- <a href="%(base_url)s/">click here</a>.
-</div>
+<div>View <a href="%(base_url)s/">this node's status page</a>.</div>
<div>Please visit the <a href="http://allmydata.org">Tahoe home page</a> for
def render_global_vdrive(self, ctx, data):
if IClient(ctx).getServiceNamed("vdrive").have_public_root():
- return T.p["To view the global shared filestore, ",
- T.a(href="vdrive/global")["Click Here!"],
+ return T.p["View ",
+ T.a(href="vdrive/global")["the global shared filestore"],
+ "."
]
return T.p["vdrive.furl not specified (or vdrive server not "
"responding), no vdrive available."]