diff --git a/rhodecode/templates/files/files_browser_tree.html b/rhodecode/templates/files/files_browser_tree.html
--- a/rhodecode/templates/files/files_browser_tree.html
+++ b/rhodecode/templates/files/files_browser_tree.html
@@ -27,17 +27,21 @@
%for cnt,node in enumerate(c.file):
- %if node.is_submodule():
+ % if node.is_submodule():
- ${h.link_to_if(
- node.url.startswith('http://') or node.url.startswith('https://'),
- node.name, node.url)}
+ % if node.url.startswith('http://') or node.url.startswith('https://'):
+
+ ${node.name}
+
+ % else:
+ ${node.name}
+ % endif
- %else:
+ % else:
${node.name}
- %endif
+ % endif
|
%if node.is_file():
|