##// END OF EJS Templates
small fixes to summary page
marcink -
r1180:c5e330c4 beta
parent child Browse files
Show More
@@ -42,6 +42,8 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
@@ -49,32 +51,37 b''
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>
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 <span style="margin-top:5px">
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 </span>
73 </div>
68 74 %endif
75 ##REMOTE
69 76 %if c.dbrepo.clone_uri:
70 <span style="margin-top:5px">
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 </span>
84 </div>
78 85 %endif
79 86 </div>
80 87 </div>
General Comments 0
You need to be logged in to leave comments. Login now