From: czooko Date: Mon, 22 Oct 2007 23:56:30 +0000 (-0700) Subject: make the anchor text in the WUI be descriptive of the target -- not "Click Here!"! X-Git-Url: https://git.rkrishnan.org/FOOURL?a=commitdiff_plain;h=d589c385e618d097707415c45e98cae2604f351a;p=tahoe-lafs%2Ftahoe-lafs.git make the anchor text in the WUI be descriptive of the target -- not "Click Here!"! --- diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index 1a5c9e88..8ca91460 100644 --- a/src/allmydata/test/test_web.py +++ b/src/allmydata/test/test_web.py @@ -389,7 +389,7 @@ class Web(WebMixin, unittest.TestCase): 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 the global shared filestore' in res, res) self.failUnless('personal vdrive not available.' in res) self.s.basedir = 'web/test_welcome' diff --git a/src/allmydata/web/start.html b/src/allmydata/web/start.html index d3e998f5..c3364fe1 100644 --- a/src/allmydata/web/start.html +++ b/src/allmydata/web/start.html @@ -10,17 +10,11 @@

Welcome To Your AllMyData "Tahoe" Node!

-
To view the global shared filestore, - Click Here! -
+
View the global shared filestore.
-
To view your personal private non-shared filestore, - Click Here! -
+
View your personal private non-shared filestore.
-
To view this node's status page, - click here. -
+
View this node's status page.
Please visit the Tahoe home page for diff --git a/src/allmydata/webish.py b/src/allmydata/webish.py index 5b966ca3..9248a51d 100644 --- a/src/allmydata/webish.py +++ b/src/allmydata/webish.py @@ -1152,8 +1152,9 @@ class Root(rend.Page): 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."]