aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2012-09-27 17:54:36 +1000
committerHenare Degan <henare.degan@gmail.com>2012-09-27 17:54:36 +1000
commit53aea1fae993ed2feb74acb5e0e42ce930df8e82 (patch)
treeafe98f078ebed27f256a966257de0552acb28421
parent8a7d5b4045e289cc1a316202a2373b3b44f8ff06 (diff)
Don't display extra hyphen in public body page
Otherwise the title is "Public authorities - - WhatDoTheyKnow"
-rw-r--r--app/views/public_body/list.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/public_body/list.rhtml b/app/views/public_body/list.rhtml
index 8cb207bd4..16eb1b8b6 100644
--- a/app/views/public_body/list.rhtml
+++ b/app/views/public_body/list.rhtml
@@ -33,7 +33,7 @@
</p>
</div>
-<% @title = _("Public authorities - {{description}}", :description => @description) %>
+<% @title = @description.empty? ? _("Public authorities") : _("Public authorities - {{description}}", :description => @description) %>
<div id="left_column_flip">
<h1><%= _('Public authorities') %></h1>