wui: adjust headers/titles and "Attach something to this directory" text in accordance with #691

Also name it as "TahoeLAFS" in this text.
This commit is contained in:
Zooko O'Whielacronx 2009-07-14 19:58:14 -07:00
parent 6cbaaf31b5
commit eb5ecc931d
2 changed files with 7 additions and 9 deletions

View File

@ -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: ",

View File

@ -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