Show More
@@ -29,9 +29,13 b'' | |||
|
29 | 29 | <td class="td-componentname"> |
|
30 | 30 | %if node.is_submodule(): |
|
31 | 31 | <span class="submodule-dir"> |
|
32 | ${h.link_to_if( | |
|
33 | node.url.startswith('http://') or node.url.startswith('https://'), | |
|
34 | node.name, node.url)} | |
|
32 | % if node.url.startswith('http://') or node.url.startswith('https://'): | |
|
33 | <a href="${node.url}"> | |
|
34 | <i class="icon-folder browser-dir"></i>${node.name} | |
|
35 | </a> | |
|
36 | % else: | |
|
37 | <i class="icon-folder browser-dir"></i>${node.name} | |
|
38 | % endif | |
|
35 | 39 | </span> |
|
36 | 40 | %else: |
|
37 | 41 | <a href="${h.url('files_home',repo_name=c.repo_name,revision=c.commit.raw_id,f_path=h.safe_unicode(node.path))}" class="pjax-link"> |
General Comments 0
You need to be logged in to leave comments.
Login now