Polish up page titles.

This commit is contained in:
Tom Preston-Werner
2010-08-05 18:00:55 -06:00
parent af4c2f8002
commit 10d2f53d40
10 changed files with 10 additions and 22 deletions
@@ -3,7 +3,7 @@
<div class="actions">
<a href="/{{name}}">&laquo; Back</a>
</div>
<h1>Comparison of {{human_name}}: {{before}} &rarr; {{after}}</h1>
<h1>{{title}}: {{before}} &rarr; {{after}}</h1>
<div id="files">
<div class="file">
<div class="meta">
@@ -1,6 +1,6 @@
<div class="write">
<a href="/">&laquo; Home</a>
<h1>Create a new page</h1>
<h1>{{title}}</h1>
<form class="new_wiki" method="post" action="/create/{{name}}">
<div>
+1 -1
View File
@@ -1,6 +1,6 @@
<div class="write">
<a href="/{{name}}">&laquo; Back</a>
<h1>Editing &ldquo;{{name}}&rdquo;</h1>
<h1>{{title}}</h1>
<form class="edit_wiki" method="post" action="/edit/{{name}}">
<div>
@@ -3,7 +3,7 @@
<div class="actions">
<a href="/{{name}}">&laquo; Back</a>
</div>
<h1>History of {{human_name}}</h1>
<h1>{{title}}</h1>
<form id="history" method="post" action="/compare/{{name}}">
<table class="commits" cellpadding="0" cellspacing="0">
<tr>
@@ -3,7 +3,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Gollum - {{title}}</title>
<title>{{title}}</title>
<link rel="stylesheet" href="/css/screen.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="/css/gollum.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="/css/syntax.css" type="text/css" charset="utf-8" />
+1 -1
View File
@@ -3,7 +3,7 @@
<div class="actions">
<a href="/">Home</a> | <a href="/edit/{{name}}">Edit</a>
</div>
<h1>{{human_name}}</h1>
<h1>{{title}}</h1>
<div class="content wikistyle gollum {{format}}">
{{{content}}}
</div>
+1 -5
View File
@@ -3,12 +3,8 @@ module Precious
class Compare < Layout
attr_reader :page, :diff, :versions
def human_name
@page.title
end
def title
"A Page"
"Comparison of #{@page.title}"
end
def path
+1 -1
View File
@@ -6,7 +6,7 @@ module Precious
attr_reader :page, :content
def title
"Edit"
"Editing #{@page.title}"
end
end
end
+1 -5
View File
@@ -3,12 +3,8 @@ module Precious
class History < Layout
attr_reader :page
def human_name
@page.title
end
def title
"A Page"
"History of #{@page.title}"
end
def versions
+1 -5
View File
@@ -3,12 +3,8 @@ module Precious
class Page < Layout
attr_reader :content, :page, :footer
def human_name
@page.title
end
def title
"A Page"
@page.title
end
def format