diff --git a/app/models/tags_block.rb b/app/models/tags_block.rb
index 795c1a5..f64592e 100644
--- a/app/models/tags_block.rb
+++ b/app/models/tags_block.rb
@@ -14,7 +14,7 @@ class TagsBlock < Block
end
def content
- block_title(_('Tags')) +
+ block_title(_("%s's tags") % owner.name) +
"\n
\n"+
tag_cloud( owner.tags, :id,
owner.generate_url(:controller => 'profile', :action => 'tag'),
diff --git a/test/unit/tags_block_test.rb b/test/unit/tags_block_test.rb
index 2b9d334..a3e78c6 100644
--- a/test/unit/tags_block_test.rb
+++ b/test/unit/tags_block_test.rb
@@ -23,4 +23,8 @@ class TagsBlockTest < Test::Unit::TestCase
assert_match /profile\/testinguser\/tag\/third-tag/, block.content
end
+ should 'display owner name in tags' do
+ assert_match "testinguser's tags", block.content
+ end
+
end
--
libgit2 0.21.2