##// END OF EJS Templates
small fixes to summary page
marcink -
r1180:c5e330c4 beta
parent child Browse files
Show More
@@ -42,40 +42,47 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
48 %if c.dbrepo.repo_type =='git':
50 %if c.dbrepo.repo_type =='git':
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
58
61 ##REPO NAME
59 %if c.dbrepo.fork:
62 <span style="font-size: 1.6em;font-weight: bold;vertical-align: baseline;clear:right">${h.repo_link(c.dbrepo.groups_and_repo)}</span>
60 <span style="margin-top:5px">
63
61 <a href="${h.url('summary_home',repo_name=c.dbrepo.fork.repo_name)}">
64 ##FORK
62 <img class="icon" alt="${_('public')}"
65 %if c.dbrepo.fork:
63 title="${_('Fork of')} ${c.dbrepo.fork.repo_name}"
66 <div style="margin-top:5px;clear:both"">
64 src="${h.url("/images/icons/arrow_divide.png")}"/>
67 <a href="${h.url('summary_home',repo_name=c.dbrepo.fork.repo_name)}">
65 ${_('Fork of')} ${c.dbrepo.fork.repo_name}
68 <img class="icon" alt="${_('public')}"
66 </a>
69 title="${_('Fork of')} ${c.dbrepo.fork.repo_name}"
67 </span>
70 src="${h.url("/images/icons/arrow_divide.png")}"/>
68 %endif
71 ${_('Fork of')} ${c.dbrepo.fork.repo_name}
69 %if c.dbrepo.clone_uri:
72 </a>
70 <span style="margin-top:5px">
73 </div>
71 <a href="${h.url(str(c.dbrepo.clone_uri))}">
74 %endif
72 <img class="icon" alt="${_('remote clone')}"
75 ##REMOTE
73 title="${_('Clone from')} ${c.dbrepo.clone_uri}"
76 %if c.dbrepo.clone_uri:
74 src="${h.url("/images/icons/connect.png")}"/>
77 <div style="margin-top:5px;clear:both">
75 ${_('Clone from')} ${c.dbrepo.clone_uri}
78 <a href="${h.url(str(c.dbrepo.clone_uri))}">
76 </a>
79 <img class="icon" alt="${_('remote clone')}"
77 </span>
80 title="${_('Clone from')} ${c.dbrepo.clone_uri}"
78 %endif
81 src="${h.url("/images/icons/connect.png")}"/>
82 ${_('Clone from')} ${c.dbrepo.clone_uri}
83 </a>
84 </div>
85 %endif
79 </div>
86 </div>
80 </div>
87 </div>
81
88
General Comments 0
You need to be logged in to leave comments. Login now