Mercurial > hg-stable
diff tests/test-hgweb-empty.t @ 13596:270f57d35525 stable
hgweb: add display of bookmarks for changelog and changeset
author | Alexander Solovyov <alexander@solovyov.net> |
---|---|
date | Sat, 12 Mar 2011 11:19:44 +0100 |
parents | 4b334f8c941b |
children | 38c9837b1f75 |
line wrap: on
line diff
--- a/tests/test-hgweb-empty.t Sat Mar 12 13:02:03 2011 +0100 +++ b/tests/test-hgweb-empty.t Sat Mar 12 11:19:44 2011 +0100 @@ -289,6 +289,12 @@ tagspan += '<span class="tag">' + tag + '</span> '; } } + if (cur[8].length) { + for (var b in cur[8]) { + var bookmark = cur[8][b]; + tagspan += '<span class="tag">' + bookmark + '</span> '; + } + } tagspan += '</span>'; }