From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Wed, 15 Jul 2009 02:58:14 +0000 (-0700)
Subject: wui: adjust headers/titles and "Attach something to this directory" text in accordanc... 
X-Git-Tag: trac-4000~10
X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/%22doc.html/vdrive?a=commitdiff_plain;h=eb5ecc931d754205510cac400e02e072e5cb97dd;p=tahoe-lafs%2Ftahoe-lafs.git

wui: adjust headers/titles and "Attach something to this directory" text in accordance with #691
Also name it as "TahoeLAFS" in this text.
---

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