From eb5ecc931d754205510cac400e02e072e5cb97dd Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx <zooko@zooko.com> Date: Tue, 14 Jul 2009 19:58:14 -0700 Subject: [PATCH] wui: adjust headers/titles and "Attach something to this directory" text in accordance with #691 Also name it as "TahoeLAFS" in this text. --- src/allmydata/web/directory.py | 8 +++----- src/allmydata/web/welcome.xhtml | 8 ++++---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/allmydata/web/directory.py b/src/allmydata/web/directory.py index 1bfd3826..db17d090 100644 --- a/src/allmydata/web/directory.py +++ b/src/allmydata/web/directory.py @@ -524,7 +524,7 @@ class DirectoryAsHTML(rend.Page): def render_title(self, ctx, data): si_s = abbreviated_dirnode(self.node) - header = ["AllMyData - Tahoe - Directory SI=%s" % si_s] + header = ["TahoeLAFS - Directory SI=%s" % si_s] if self.node.is_readonly(): header.append(" (read-only)") else: @@ -533,7 +533,7 @@ class DirectoryAsHTML(rend.Page): def render_header(self, ctx, data): si_s = abbreviated_dirnode(self.node) - header = ["Directory SI=", T.span(class_="data-chars")[si_s]] + header = ["TahoeLAFS Directory SI=", T.span(class_="data-chars")[si_s]] if self.node.is_readonly(): header.append(" (read-only)") return ctx.tag[header] @@ -712,9 +712,7 @@ class DirectoryAsHTML(rend.Page): T.fieldset[ T.input(type="hidden", name="t", value="uri"), T.input(type="hidden", name="when_done", value="."), - T.legend(class_="freeform-form-label")["Attach a file or directory" - " (by URI) to this" - " directory"], + T.legend(class_="freeform-form-label")["Add a link to a file or directory which is already in TahoeLAFS."], "New child name: ", T.input(type="text", name="name"), " ", "URI of new child: ", diff --git a/src/allmydata/web/welcome.xhtml b/src/allmydata/web/welcome.xhtml index db521de1..08d2e3de 100644 --- a/src/allmydata/web/welcome.xhtml +++ b/src/allmydata/web/welcome.xhtml @@ -1,11 +1,11 @@ <html xmlns:n="http://nevow.com/ns/nevow/0.1"><head> - <title>AllMyData - Tahoe - Welcome</title> + <title>TahoeLAFS - Welcome</title> <link href="/webform_css" rel="stylesheet" type="text/css"/> <link href="/tahoe_css" rel="stylesheet" type="text/css"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head><body> -<h1>Welcome To AllMyData "Tahoe"!</h1> +<h1>Welcome To TahoeLAFS!</h1> <div class="section" id="this-client"> <h2>This Client</h2> @@ -19,7 +19,7 @@ <tr><th>My nickname:</th> <td class="nickname mine" n:render="string" n:data="my_nickname" /></tr> <tr><th>My nodeid:</th> <td class="nodeid mine data-chars" n:render="string" n:data="my_nodeid" /></tr> <tr><th>My versions:</th> <td n:render="string" n:data="version" /></tr> - <tr><th>Tahoe code imported from:</th> <td n:render="string" n:data="import_path" /></tr> + <tr><th>TahoeLAFS code imported from:</th> <td n:render="string" n:data="import_path" /></tr> <tr><th>Services running:</th> <td n:render="services" /></tr> </table> @@ -88,7 +88,7 @@ <div class="section" id="other-resources"> <h2>Other Resources</h2> - <div>Please visit the <a href="http://allmydata.org">Tahoe home page</a> for + <div>Please visit the <a href="http://allmydata.org">TahoeLAFS home page</a> for code updates and bug reporting.</div> <div>The <a href="provisioning">provisioning tool</a> and <a -- 2.45.2