Fogbugz #87: use individualised titles for each page.
This commit is contained in:
parent
96e449a11d
commit
76dd233fa1
5 changed files with 16 additions and 3 deletions
|
|
@ -1,2 +1,5 @@
|
||||||
module ApplicationHelper
|
module ApplicationHelper
|
||||||
|
def title(page_title)
|
||||||
|
content_for(:title) { page_title }
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
<% title t("titles.contacts.index") %>
|
||||||
<% @contacts.each do |c| %>
|
<% @contacts.each do |c| %>
|
||||||
|
|
||||||
<div class="row contact_summary">
|
<div class="row contact_summary">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
<% title t("titles.contacts.new") %>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="twelvecol">
|
<div class="twelvecol">
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,9 @@ de:
|
||||||
|
|
||||||
sessions:
|
sessions:
|
||||||
actions:
|
actions:
|
||||||
logout: "out"
|
logout: "logout"
|
||||||
|
|
||||||
|
titles:
|
||||||
|
contacts:
|
||||||
|
index: "Übersicht"
|
||||||
|
new: "Neuer Kontakt"
|
||||||
|
|
|
||||||
|
|
@ -12,4 +12,9 @@ en:
|
||||||
|
|
||||||
sessions:
|
sessions:
|
||||||
actions:
|
actions:
|
||||||
logout: "out"
|
logout: "logout"
|
||||||
|
|
||||||
|
titles:
|
||||||
|
contacts:
|
||||||
|
index: "Overview"
|
||||||
|
new: "New Contact"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue