diff --git a/rhodecode/templates/journal/journal.html b/rhodecode/templates/journal/journal.html
--- a/rhodecode/templates/journal/journal.html
+++ b/rhodecode/templates/journal/journal.html
@@ -113,9 +113,9 @@
- %if entry.follows_repository.repo_type == 'hg':
+ %if h.is_hg(entry.follows_repository):
- %elif entry.follows_repository.repo_type == 'git':
+ %elif h.is_git(entry.follows_repository):
%endif