diff options
| author | hukl <contact@smyck.org> | 2009-11-14 10:10:59 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-11-14 10:10:59 +0100 |
| commit | 15fdd793eaf3e2ea4b08777d556674f9ece38af3 (patch) | |
| tree | 0508ea62ff501d72436f921f841903ad247d2720 | |
| parent | 2ddde100ba25a68ca3030148447aeaa51ad0899e (diff) | |
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
| -rw-r--r-- | app/views/tags/show.html.erb | 2 | ||||
| -rw-r--r-- | config/locales/de.yml | 1 | ||||
| -rw-r--r-- | config/locales/en.yml | 1 |
3 files changed, 4 insertions, 0 deletions
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 @@ | |||
| 1 | <h2><%= t(:show_tag_headline) %> »<%=h @tag %>«</h2> | ||
| 2 | |||
| 1 | <%= | 3 | <%= |
| 2 | render( | 4 | render( |
| 3 | :partial => 'custom/partials/article', | 5 | :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 @@ | |||
| 2 | # by Clemens Kofler (clemens@railway.at) | 2 | # by Clemens Kofler (clemens@railway.at) |
| 3 | 3 | ||
| 4 | de: | 4 | de: |
| 5 | show_tag_headline: "Seiten mit dem Tag:" | ||
| 5 | old_ccc_de: das alte ccc.de | 6 | old_ccc_de: das alte ccc.de |
| 6 | date: | 7 | date: |
| 7 | formats: | 8 | 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 @@ | |||
| 3 | 3 | ||
| 4 | en: | 4 | en: |
| 5 | hello: "Hello world" | 5 | hello: "Hello world" |
| 6 | show_tag_headline: "Pages tagged with:" | ||
| 6 | old_ccc_de: the old ccc.de \ No newline at end of file | 7 | old_ccc_de: the old ccc.de \ No newline at end of file |
