From 15fdd793eaf3e2ea4b08777d556674f9ece38af3 Mon Sep 17 00:00:00 2001 From: hukl Date: Sat, 14 Nov 2009 10:10:59 +0100 Subject: added headline to Tag :show view to suggest that it is a list rather than a singe page / article when only one page is tagged with a certain tag. I still want to avoid thos "more / mehr" links --- app/views/tags/show.html.erb | 2 ++ config/locales/de.yml | 1 + config/locales/en.yml | 1 + 3 files changed, 4 insertions(+) diff --git a/app/views/tags/show.html.erb b/app/views/tags/show.html.erb index 4012bbf..7016efc 100644 --- a/app/views/tags/show.html.erb +++ b/app/views/tags/show.html.erb @@ -1,3 +1,5 @@ +

<%= t(:show_tag_headline) %> »<%=h @tag %>«

+ <%= render( :partial => 'custom/partials/article', diff --git a/config/locales/de.yml b/config/locales/de.yml index 8c96637..ff66ea1 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -2,6 +2,7 @@ # by Clemens Kofler (clemens@railway.at) de: + show_tag_headline: "Seiten mit dem Tag:" old_ccc_de: das alte ccc.de date: formats: diff --git a/config/locales/en.yml b/config/locales/en.yml index 3ca82b6..8a25451 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -3,4 +3,5 @@ en: hello: "Hello world" + show_tag_headline: "Pages tagged with:" old_ccc_de: the old ccc.de \ No newline at end of file -- cgit v1.3