Show More
@@ -42,40 +42,47 b'' | |||
|
42 | 42 | </span> |
|
43 | 43 | %endif |
|
44 | 44 | %endif: |
|
45 | ||
|
46 | ##REPO TYPE | |
|
45 | 47 | %if c.dbrepo.repo_type =='hg': |
|
46 | 48 | <img style="margin-bottom:2px" class="icon" title="${_('Mercurial repository')}" alt="${_('Mercurial repository')}" src="${h.url("/images/icons/hgicon.png")}"/> |
|
47 | 49 | %endif |
|
48 | 50 | %if c.dbrepo.repo_type =='git': |
|
49 | 51 | <img style="margin-bottom:2px" class="icon" title="${_('Git repository')}" alt="${_('Git repository')}" src="${h.url("/images/icons/giticon.png")}"/> |
|
50 | 52 | %endif |
|
51 |
|
|
|
53 | ||
|
54 | ##PUBLIC/PRIVATE | |
|
52 | 55 | %if c.dbrepo.private: |
|
53 | 56 | <img style="margin-bottom:2px" class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="${h.url("/images/icons/lock.png")}"/> |
|
54 | 57 | %else: |
|
55 | 58 | <img style="margin-bottom:2px" class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="${h.url("/images/icons/lock_open.png")}"/> |
|
56 | 59 | %endif |
|
57 | <span style="font-size: 1.6em;font-weight: bold;vertical-align: baseline;">${h.repo_link(c.dbrepo.groups_and_repo)}</span> | |
|
58 | ||
|
59 | %if c.dbrepo.fork: | |
|
60 | <span style="margin-top:5px"> | |
|
61 | <a href="${h.url('summary_home',repo_name=c.dbrepo.fork.repo_name)}"> | |
|
62 | <img class="icon" alt="${_('public')}" | |
|
63 | title="${_('Fork of')} ${c.dbrepo.fork.repo_name}" | |
|
64 | src="${h.url("/images/icons/arrow_divide.png")}"/> | |
|
65 | ${_('Fork of')} ${c.dbrepo.fork.repo_name} | |
|
66 | </a> | |
|
67 | </span> | |
|
68 | %endif | |
|
69 | %if c.dbrepo.clone_uri: | |
|
70 | <span style="margin-top:5px"> | |
|
71 | <a href="${h.url(str(c.dbrepo.clone_uri))}"> | |
|
72 | <img class="icon" alt="${_('remote clone')}" | |
|
73 | title="${_('Clone from')} ${c.dbrepo.clone_uri}" | |
|
74 | src="${h.url("/images/icons/connect.png")}"/> | |
|
75 |
|
|
|
76 | </a> | |
|
77 | </span> | |
|
78 | %endif | |
|
60 | ||
|
61 | ##REPO NAME | |
|
62 | <span style="font-size: 1.6em;font-weight: bold;vertical-align: baseline;clear:right">${h.repo_link(c.dbrepo.groups_and_repo)}</span> | |
|
63 | ||
|
64 | ##FORK | |
|
65 | %if c.dbrepo.fork: | |
|
66 | <div style="margin-top:5px;clear:both""> | |
|
67 | <a href="${h.url('summary_home',repo_name=c.dbrepo.fork.repo_name)}"> | |
|
68 | <img class="icon" alt="${_('public')}" | |
|
69 | title="${_('Fork of')} ${c.dbrepo.fork.repo_name}" | |
|
70 | src="${h.url("/images/icons/arrow_divide.png")}"/> | |
|
71 | ${_('Fork of')} ${c.dbrepo.fork.repo_name} | |
|
72 | </a> | |
|
73 | </div> | |
|
74 | %endif | |
|
75 | ##REMOTE | |
|
76 | %if c.dbrepo.clone_uri: | |
|
77 | <div style="margin-top:5px;clear:both"> | |
|
78 | <a href="${h.url(str(c.dbrepo.clone_uri))}"> | |
|
79 | <img class="icon" alt="${_('remote clone')}" | |
|
80 | title="${_('Clone from')} ${c.dbrepo.clone_uri}" | |
|
81 | src="${h.url("/images/icons/connect.png")}"/> | |
|
82 | ${_('Clone from')} ${c.dbrepo.clone_uri} | |
|
83 | </a> | |
|
84 | </div> | |
|
85 | %endif | |
|
79 | 86 | </div> |
|
80 | 87 | </div> |
|
81 | 88 |
General Comments 0
You need to be logged in to leave comments.
Login now