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