Skip to content

Commit

Permalink
Added titles to pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Oct 28, 2008
1 parent 751814d commit 50a3276
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/views/layouts/application.html.erb
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<%= stylesheet_link_tag "style" %>
<title>Twonklist.com - <%= @title %></title>
</head>
<body>
<div id='menu'>
Expand Down
2 changes: 1 addition & 1 deletion app/views/pages/about.html.erb
Expand Up @@ -4,7 +4,7 @@
<p>This site is a place for everybody to keep a list of idiots in the world, to warn other people about them; effectively a naming and shaming policy. Pretty simple really, you nominate somebody and other people can vote on those people. The people with the highest votes go on to the home page so that others can be warned faster.</p>

<h2>What is a twonk?</h2>
<p>Look it up. If you don't know how, please nominate yourself on this site by clicking the first link in the menu after logging in.</p>
<p>Look it up. If you don't know how, please nominate yourself on this site by clicking the first link in the menu.</p>

<h2>Why am I on this site?</h2>
<p>Somebody you know, or somebody you don't, thought of you as so much of an idiot that they had to tell the world about it. Don't like that your name is on this list? Don't look at it.
Expand Down
1 change: 1 addition & 0 deletions app/views/twonks/edit.html.erb
@@ -1,3 +1,4 @@
<% @title = "Editing a twonk" %>
<h1>Editing <%= @twonk.name %></h1>

<% form_for @twonk do |f| -%>
Expand Down
1 change: 1 addition & 0 deletions app/views/twonks/index.html.erb
@@ -1,3 +1,4 @@
<% @title = "Top & Most Recent Twonks" %>
<div id='most_recent_twonks'>
<h1>Most Recently Twonked</h1>
<%= render :partial => @most_recent_twonks %>
Expand Down
1 change: 1 addition & 0 deletions app/views/twonks/new.html.erb
@@ -1,3 +1,4 @@
<% @title = "Nominating new twonk" %>
<h1>New Twonk Nomination</h1>
<% form_for(@twonk) do |f| %>
<%= error_messages_for :twonk, :vote %>
Expand Down
1 change: 1 addition & 0 deletions app/views/twonks/show.html.erb
@@ -1,3 +1,4 @@
<% @title = "Viewing #{@twonk.name}'s entry" %>
<h1><%= h(@twonk.name) %> of <%= h(@twonk.location) %> is <%= "not" if @twonk.for_votes.size < @twonk.against_votes.size %> a twonk!</h1>
<% if @twonk.nominated_by == current_ip %>
<%= link_to "Edit", edit_twonk_path(@twonk) %> | <%= link_to "Destroy", twonk_path(@twonk), :method => "delete", :confirm => "Are you sure you want to delete this twonk?" %>
Expand Down
2 changes: 2 additions & 0 deletions app/views/vampire/index.html.erb
@@ -1,3 +1,4 @@
<% title = "How to spot a help vampire" %>
<h1>How to Spot a Help Vampire</h1>
Let's face it. We've all experienced the experience that is "help vampires" at least once in our lives. These individuals flock to flourishing communities and suck the life out of those who are willing to give up their free time to help others. For a further (and quite superb) explanation, visit <a href='http://www.slash7.com/pages/vampires'>Amy Hoy's: &quot;Help Vampires: A Spotters Guide&quot;</a>.

Expand All @@ -11,4 +12,5 @@ Let's face it. We've all experienced the experience that is "help vampires" at l
<li>Adopts one channel/person as their personal tutor (thanks to Mike for this)</li>
<li>They will not try answering their own questions by experimenting in the console (thanks to rsl for this).</li>
<li>They will most likely not be a native speaker of the English language.</li>
<li>Their questions will be vague or subjective.</li>
</ol>
1 change: 1 addition & 0 deletions app/views/votes/edit.html.erb
@@ -1,3 +1,4 @@
<% @title = "Editing a vote for #{@twonk.name}" %>
<% form_for [@twonk, @vote] do |f| %>
<%= error_messages_for :vote %>
<div>
Expand Down
1 change: 1 addition & 0 deletions app/views/votes/new.html.erb
@@ -1,3 +1,4 @@
<% @title = "Creating a new vote for #{@twonk.name}" %>
<h1>
<% if @vote.positive? %>
You think <%= @twonk.name %> is a twonk!
Expand Down

0 comments on commit 50a3276

Please sign in to comment.