##// END OF EJS Templates
Tweaks to Changelog and Summary view, removing excess information, and improving layout.
Leonardo Carneiro -
r3538:9bf92758 beta
parent child Browse files
Show More
@@ -2,6 +2,11 b''
2 2 * Stylesheets for the context bar
3 3 */
4 4
5 #quick .repo_switcher { background-image: url("../images/icons/database.png"); }
6 #quick .journal { background-image: url("../images/icons/book.png"); }
7 #quick .search { background-image: url("../images/icons/search_16.png"); }
8 #quick .admin { background-image: url("../images/icons/cog_edit.png"); }
9
5 10 #context-bar button.follow { background-image: url("../images/icons/heart.png"); }
6 11 #context-bar button.following { background-image: url("../images/icons/heart_delete.png"); }
7 12 #context-bar a.fork { background-image: url("../images/icons/arrow_divide.png"); }
@@ -39,16 +44,18 b''
39 44 overflow: visible;
40 45 }
41 46
47 #header #header-inner #quick a,
42 48 #content #context-bar,
43 49 #content #context-bar a,
44 50 #content #context-bar button {
45 51 color: #FFFFFF;
46 52 }
47 53
54 #header #header-inner #quick a:hover,
48 55 #content #context-bar a:hover,
49 56 #content #context-bar button:hover {
50 57 text-decoration: none;
51 color: #bfe3ff;
58 /* color: #bfe3ff;*/
52 59 }
53 60
54 61 #content #context-bar .icon {
@@ -68,6 +75,7 b' ul.horizontal-list > li {'
68 75 position: relative;
69 76 }
70 77
78 #header #header-inner #quick ul,
71 79 ul.horizontal-list > li ul {
72 80 position: absolute;
73 81 display: none;
@@ -75,10 +83,12 b' ul.horizontal-list > li ul {'
75 83 z-index: 999;
76 84 }
77 85
86 #header #header-inner #quick li:hover > ul,
78 87 ul.horizontal-list li:hover > ul {
79 88 display: block;
80 89 }
81 90
91 #header #header-inner #quick li ul li,
82 92 ul.horizontal-list ul li {
83 93 position: relative;
84 94 border-bottom: 1px solid rgba(0,0,0,0.1);
@@ -95,14 +105,17 b' ul.horizontal-list > li ul ul {'
95 105 overflow-y:auto;
96 106 }
97 107
98 ul.horizontal-list > li a {
108 #header #header-inner #quick ul a,
109 ul.horizontal-list li a {
99 110 white-space: nowrap;
100 111 }
101 112
102 113 #breadcrumbs {
103 114 float:left;
104 padding: 12px 0;
115 padding: 5px 0;
116 padding-left: 5px;
105 117 font-weight: bold;
118 font-size: 14px;
106 119 }
107 120
108 121 #breadcrumbs span{
@@ -114,13 +127,15 b' ul.horizontal-list > li a {'
114 127 position: relative;
115 128 overflow: hidden;
116 129 border-bottom: 1px solid #003162;
117 padding: 10px;
130 padding: 5px;
118 131 }
119 132
133 /*#quick,*/
134 #header #header-inner #quick ul,
120 135 #revision-changer,
121 136 #context-pages,
122 #context-pages ul,
123 ul#context-actions {
137 #context-pages ul /*,
138 ul#context-actions */{
124 139 background: #3b6998; /* Old browsers */
125 140 background: -moz-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* FF3.6+ */
126 141 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4574a2), color-stop(100%,#2f5d8b)); /* Chrome,Safari4+ */
@@ -128,9 +143,10 b' ul#context-actions {'
128 143 background: -o-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* Opera 11.10+ */
129 144 background: -ms-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* IE10+ */
130 145 background: linear-gradient(to bottom, #4574a2 0%, #2f5d8b 100%); /* W3C */
131 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4574a2', endColorstr='#2f5d8b',GradientType=0 ); /* IE6-9 */
146 /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4574a2', endColorstr='#2f5d8b',GradientType=0 ); /* IE6-9 */*/
132 147 }
133 148
149 #header #header-inner #quick a,
134 150 #context-actions a,
135 151 #context-pages a {
136 152 background-repeat: no-repeat;
@@ -138,6 +154,7 b' ul#context-actions {'
138 154 padding-left: 30px;
139 155 }
140 156
157 #quick a,
141 158 #context-pages ul ul a{
142 159 padding-left: 10px;
143 160 }
@@ -146,11 +163,10 b' ul#context-actions {'
146 163 display: inline-block;
147 164 float: right;
148 165 border-radius: 4px;
149 background-color:#3b6998;
166 /*background-color:#3b6998;*/
150 167 background-image: linear-gradient(top, #4574a2 0%, #2f5d8b 100%);
151 padding: 5px;
168 /* padding: 5px;*/
152 169 }
153
154 170 #content ul#context-actions li {
155 171 padding: 0px;
156 172 border-right: 1px solid rgba(0,0,0,0.1);
@@ -164,31 +180,38 b' ul#context-actions {'
164 180 background: none;
165 181 border: none;
166 182 margin: 0px;
167 height: 13px;
168 padding: 3px 7px;
183 height: auto;
184 padding: 10px 10px 10px 30px;
169 185 background-repeat: no-repeat;
170 background-position: 50% 3px;
171 padding-top: 24px;
186 background-position: 10px 50%;
187 font-size: 1em;
188 /*padding-top: 24px;*/
172 189 }
173 190
174 #context-actions button{
191 #context-actions a {
192 padding: 11px 10px 12px 30px;
193 }
194
195 /*#context-actions button{
175 196 padding-top: 22px;
176 197 height: 40px;
177 }
178
198 }*/
199 #header #header-inner #quick li:hover,
179 200 #revision-changer:hover,
180 201 #context-pages li:hover,
181 202 #context-actions li:hover,
182 #content #context-actions li:hover {
203 #content #context-actions li:hover,
204 #header #header-inner #quick li.current,
205 #context-pages li.current {
183 206 /*background: rgba(255,255,255,0.2);*/
184 207 background: #6388ad; /* Old browsers */
185 background: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%); /* FF3.6+ */
186 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
187 background: -webkit-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
188 background: -o-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%); /* Opera 11.10+ */
189 background: -ms-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%); /* IE10+ */
190 background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%); /* W3C */
191 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88bfe8', endColorstr='#70b0e0',GradientType=0 ); /* IE6-9 */
208 background: -moz-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* FF3.6+ */
209 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
210 background: -webkit-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* Chrome10+,Safari5.1+ */
211 background: -o-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* Opera 11.10+ */
212 background: -ms-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* IE10+ */
213 background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* W3C */
214 /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88bfe8', endColorstr='#70b0e0',GradientType=0 ); /* IE6-9 */*/
192 215
193 216 background-image: -webkit-gradient(linear, left top, left bottom, rgb(255,255,255) 0%, rgb(255,255,255) 100%);
194 217
@@ -246,7 +269,7 b' ul#context-actions {'
246 269 /* overflow: hidden;*/
247 270 }
248 271
249 #context-pages li.current{
272 #context-pages li.curreasdnt{
250 273 background: #535353; /* Old browsers */
251 274 background: -moz-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* FF3.6+ */
252 275 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5d5d5d), color-stop(100%,#484848)); /* Chrome,Safari4+ */
@@ -254,23 +277,32 b' ul#context-actions {'
254 277 background: -o-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* Opera 11.10+ */
255 278 background: -ms-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* IE10+ */
256 279 background: linear-gradient(to bottom, #5d5d5d 0%, #484848 100%); /* W3C */
257 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5d5d5d', endColorstr='#484848',GradientType=0 ); /* IE6-9 */
258 280 }
259 281
260 282 #content #context-pages .icon {
261 283 margin-right:5px;
262 284 }
263 285
286 #header #header-inner #quick li,
264 287 #content #context-pages li {
265 288 border-right: 1px solid rgba(0,0,0,0.1);
266 289 border-left: 1px solid rgba(255,255,255,0.1);
267 290 padding: 0;
268 291 }
269
292 #header #header-inner #quick li:last-child,
270 293 #content #context-pages li:last-child {
271 294 border-right:none;
272 295 }
273 296
297 #header #header-inner #quick li:first-child{
298 border-left:none;
299 }
300
301 #header #header-inner #quick > li:first-child > a{
302 border-radius: 4px 0 0 4px;
303 }
304
305 #header #header-inner #quick a,
274 306 #context-pages a,
275 307 #context-pages .admin_menu a{
276 308 display: block;
@@ -279,14 +311,27 b' ul#context-actions {'
279 311 line-height: 35px;
280 312 }
281 313
314 #header #header-inner #quick a#quick_login_link {
315 padding-left: 0px;
316 }
317
318 #header #header-inner #quick a {
319 overflow: hidden;
320 }
321 #quick a.childs:after,
282 322 #revision-changer:before,
283 323 #context-pages a.childs:after,
284 324 #context-pages a.dropdown:after {
285 325 content: ' \25BE';
286 326 }
327 #context-pages a.childs {
328 padding-right: 20px;
329 }
287 330 #context-pages a.childs:after{
331 position: absolute;
288 332 float: right;
289 333 padding-left: 5px;
334 padding-right: 5px;
290 335 }
291 336
292 337 #revision-changer:before {
@@ -401,10 +401,11 b' div:hover > a.permalink {'
401 401 float: right;
402 402 list-style-type: none;
403 403 list-style-position: outside;
404 margin: 8px 8px 0 0;
404 margin: 4px 8px 0 0;
405 405 padding: 0;
406 }
407
406 border-radius: 4px;
407 }
408 /*
408 409 #header #header-inner #quick > li {
409 410 position: relative;
410 411 float: left;
@@ -428,20 +429,20 b' div:hover > a.permalink {'
428 429 -khtml-border-radius: 4px 4px 4px 4px;
429 430 border-radius: 4px 4px 4px 4px;
430 431 }
431
432 */
432 433 #header #header-inner #quick li span.short {
433 434 padding: 9px 6px 8px 6px;
434 435 }
435 436
436 437 #header #header-inner #quick li span {
437 top: 0;
438 /*top: 0;
438 439 right: 0;
439 height: 1%;
440 display: block;
441 float: left;
442 border-left: 1px solid #3f6f9f;
440 height: 1%;*/
441 display: inline;
442 /*float: left;*/
443 /*border-left: 1px solid #3f6f9f;*/
443 444 margin: 0;
444 padding: 10px 12px 8px 10px;
445 /*padding: 10px 12px 8px 10px;*/
445 446 }
446 447
447 448 #header #header-inner #quick li span.normal {
@@ -450,13 +451,9 b' div:hover > a.permalink {'
450 451 }
451 452
452 453 #header #header-inner #quick li span.icon {
453 top: 0;
454 left: 0;
454
455 455 border-left: none;
456 border-right: 1px solid #2e5c89;
457 padding: 8px 6px 4px;
458 min-width: 16px;
459 min-height: 16px;
456 padding-left: 10px ;
460 457 }
461 458
462 459 #header #header-inner #quick li span.icon_short {
@@ -468,19 +465,21 b' div:hover > a.permalink {'
468 465 }
469 466
470 467 #header #header-inner #quick li span.icon img, #header #header-inner #quick li span.icon_short img {
471 margin: 0px -2px 0px 0px;
472 }
473
474 #header #header-inner #quick > li.current > a,
475 #header #header-inner #quick > li > a:hover {
468 vertical-align: middle;
469 margin-bottom: 2px;
470 }
471
472 /*#header #header-inner #quick > li.current > a,
473 #header #header-inner #quick > li > a:hover*/ {
476 474 background-color: #4e4e4e;
477 475 }
478
476 /*
479 477 #header #header-inner #quick li.current a span,
480 478 #header #header-inner #quick li a:hover span {
481 479 border-left: 1px solid #545454;
482 480 }
483
481 */
482 /*
484 483 #header #header-inner #quick li.current a span.icon,
485 484 #header #header-inner #quick li.current a span.icon_short,
486 485 #header #header-inner #quick li a:hover span.icon,
@@ -488,7 +487,7 b' div:hover > a.permalink {'
488 487 border-left: none;
489 488 border-right: 1px solid #464646;
490 489 }
491
490 */
492 491 #header #header-inner #quick ul.repo_switcher {
493 492 max-height: 275px;
494 493 overflow-x: hidden;
@@ -995,6 +994,7 b' tbody .yui-dt-editable { cursor: pointer'
995 994 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b76', endColorstr='#00376e', GradientType=0 );
996 995 margin: 0 0 20px;
997 996 padding: 0;
997 border-radius: 4px 4px 0 0;
998 998 }
999 999
1000 1000 #content div.box div.title h5 {
@@ -1733,7 +1733,7 b' div.form div.fields div.field div.button'
1733 1733
1734 1734 #summary-menu-stats{
1735 1735 float: left;
1736 width: 200px;
1736 width: 180px;
1737 1737 position: absolute;
1738 1738 top: 0;
1739 1739 right: 0;
@@ -1749,7 +1749,6 b' div.form div.fields div.field div.button'
1749 1749
1750 1750 #content #summary-menu-stats li {
1751 1751 border-top: 1px solid #d1d1d1;
1752 line-height: 32px;
1753 1752 padding: 0;
1754 1753 }
1755 1754
@@ -1769,14 +1768,19 b' div.form div.fields div.field div.button'
1769 1768
1770 1769 #summary-menu-stats a {
1771 1770 display: block;
1772 color: #000000;
1773 padding: 0 30px;
1771 /*color: #000000;*/
1772 padding: 12px 30px;
1774 1773 background-repeat: no-repeat;
1775 1774 background-position: 10px 50%;
1776 }
1775 padding-right: 10px;
1776 }
1777
1777 1778
1778 1779 #repo_size_2 {
1779 margin-left: 25px;
1780 margin-left: 30px;
1781 display: block;
1782 padding-right: 10px;
1783 padding-bottom: 7px;
1780 1784 }
1781 1785
1782 1786 #summary-menu-stats a:hover {
@@ -2561,6 +2565,7 b' h3.files_location {'
2561 2565 white-space: nowrap;
2562 2566 height: 31px;
2563 2567 border-color: #cdcdcd;
2568 text-align: left;
2564 2569 }
2565 2570
2566 2571 #graph_content .container .author {
@@ -2568,7 +2573,7 b' h3.files_location {'
2568 2573 }
2569 2574
2570 2575 #graph_content .container .hash{
2571 width: 90px;
2576 width: 85px;
2572 2577 font-size: 0.85em;
2573 2578 }
2574 2579
@@ -2644,7 +2649,7 b' h3.files_location {'
2644 2649 #graph_content .comments-container {
2645 2650 /*width: 40px;*/
2646 2651 margin: 0.8em 0;
2647 margin-left: 0.5em;
2652 margin-right: 0.5em;
2648 2653 }
2649 2654
2650 2655 #graph_content .tagcontainer {
@@ -4561,22 +4566,22 b' form.comment-inline-form {'
4561 4566 margin:2px 0px 8px 5px !important
4562 4567 }
4563 4568
4564
4565 4569 .notification-paginator {
4566 4570 padding: 0px 0px 4px 16px;
4567 4571 float: left;
4568 4572 }
4569 4573
4570 4574 .menu_link_user {
4571 padding: 10px 8px 8px 8px !important;
4572 }
4573
4575 /*padding: 10px 8px 8px 8px !important;*/
4576 }
4577
4578 #context-pages .pull-request span,
4574 4579 .menu_link_notifications {
4575 4580 padding: 4px 4px !important;
4576 margin: 7px 4px 0px 0px !important;
4581 /*margin: 7px 4px 0px 0px !important;*/
4577 4582 text-align: center;
4578 4583 color:#888 !important;
4579 font-size: 10px;
4584 /*font-size: 10px;*/
4580 4585 background-color: #DEDEDE !important;
4581 4586 border-radius: 4px !important;
4582 4587 -webkit-border-radius: 4px !important;
@@ -123,7 +123,7 b''
123 123 </li>
124 124 <li><a href="${h.url('repo_fork_home',repo_name=c.repo_name)}" class="fork">${_('Fork')}</a></li>
125 125 %if h.is_hg(c.rhodecode_repo):
126 <li><a href="${h.url('pullrequest_home',repo_name=c.repo_name)}" class="pull-request">${_('Pull Request')}</a></li>
126 <li><a href="${h.url('pullrequest_home',repo_name=c.repo_name)}" class="pull-request">${_('Create Pull Request')}</a></li>
127 127 %endif
128 128 </ul>
129 129 %endif
@@ -148,43 +148,33 b''
148 148 <ul>
149 149 %if h.HasRepoPermissionAll('repository.admin')(c.repo_name):
150 150 %if h.HasPermissionAll('hg.admin')('access settings on repository'):
151 <li>${h.link_to(_('repository settings'),h.url('edit_repo',repo_name=c.repo_name),class_='settings')}</li>
151 <li>${h.link_to(_('Settings'),h.url('edit_repo',repo_name=c.repo_name),class_='settings')}</li>
152 152 %else:
153 <li>${h.link_to(_('repository settings'),h.url('repo_settings_home',repo_name=c.repo_name),class_='settings')}</li>
153 <li>${h.link_to(_('Settings'),h.url('repo_settings_home',repo_name=c.repo_name),class_='settings')}</li>
154 154 %endif
155 155 %endif
156 156 %if c.rhodecode_db_repo.fork:
157 <li>${h.link_to(_('compare fork'),h.url('compare_url',repo_name=c.rhodecode_db_repo.fork.repo_name,org_ref_type='branch',org_ref='default',other_repo=c.repo_name,other_ref_type='branch',other_ref=request.GET.get('branch') or 'default'),class_='compare_request')}</li>
157 <li>${h.link_to(_('Compare fork'),h.url('compare_url',repo_name=c.rhodecode_db_repo.fork.repo_name,org_ref_type='branch',org_ref='default',other_repo=c.repo_name,other_ref_type='branch',other_ref=request.GET.get('branch') or 'default'),class_='compare_request')}</li>
158 158 %endif
159 <li>${h.link_to(_('lightweight changelog'),h.url('shortlog_home',repo_name=c.repo_name),class_='shortlog')}</li>
160 <li>${h.link_to(_('search'),h.url('search_repo',repo_name=c.repo_name),class_='search')}</li>
159 <li>${h.link_to(_('Lightweight changelog'),h.url('shortlog_home',repo_name=c.repo_name),class_='shortlog')}</li>
160 <li>${h.link_to(_('Search'),h.url('search_repo',repo_name=c.repo_name),class_='search')}</li>
161 161
162 162 %if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name) and c.rhodecode_db_repo.enable_locking:
163 163 %if c.rhodecode_db_repo.locked[0]:
164 <li>${h.link_to(_('unlock'), h.url('toggle_locking',repo_name=c.repo_name),class_='locking_del')}</li>
164 <li>${h.link_to(_('Unlock'), h.url('toggle_locking',repo_name=c.repo_name),class_='locking_del')}</li>
165 165 %else:
166 <li>${h.link_to(_('lock'), h.url('toggle_locking',repo_name=c.repo_name),class_='locking_add')}</li>
166 <li>${h.link_to(_('Lock'), h.url('toggle_locking',repo_name=c.repo_name),class_='locking_add')}</li>
167 167 %endif
168 168 %endif
169
170 % if h.HasPermissionAll('hg.admin')('access admin main page'):
171 <li>
172 ${h.link_to(_('admin'),h.url('admin_home'),class_='admin childs')}
173 ## ADMIN MENU
174 ${admin_menu()}
175 </li>
176 ## if you're a admin of any groups, show admin menu for it
177 % elif c.rhodecode_user.groups_admin:
178 <li>
179 ${h.link_to(_('admin'),h.url('admin_home'),class_='admin')}
180
181 ## ADMIN MENU
182 ${admin_menu_simple()}
183 </li>
184 % endif
185 169 </ul>
186 170 </li>
187 <li ${is_current('showpullrequest')}><a href="${h.url('pullrequest_show_all',repo_name=c.repo_name)}" title="${_('Show Pull Requests')}" class="pull-request">1</a></li>
171 <li ${is_current('showpullrequest')}>
172 <a href="${h.url('pullrequest_show_all',repo_name=c.repo_name)}" title="${_('Show Pull Requests')}" class="pull-request">Pull Requests
173 %if c.repository_pull_requests:
174 <span>${c.repository_pull_requests}</span>
175 %endif
176 </a>
177 </li>
188 178 </ul>
189 179 </div>
190 180 </div>
@@ -207,8 +197,8 b''
207 197 <%def name="usermenu()">
208 198 ## USER MENU
209 199 <li>
210 <a class="menu_link" id="quick_login_link">
211 <span class="icon" style="padding:5px 5px 0px 5px">
200 <a class="menu_link childs" id="quick_login_link">
201 <span class="icon">
212 202 <img src="${h.gravatar_url(c.rhodecode_user.email,20)}" alt="avatar">
213 203 </span>
214 204 %if c.rhodecode_user.username != 'default':
@@ -289,14 +279,11 b''
289 279 if selected == current:
290 280 return h.literal('class="current"')
291 281 %>
292 <ul id="quick">
282 <ul id="quick" class="horizontal-list">
293 283 <!-- repo switcher -->
294 284 <li ${is_current('home')}>
295 <a class="menu_link" id="repo_switcher" title="${_('Switch repository')}" href="${h.url('home')}">
296 <span class="icon">
297 <img src="${h.url('/images/icons/database.png')}" alt="${_('Products')}" />
298 </span>
299 <span>${_('Repositories')}</span>
285 <a class="menu_link repo_switcher childs" id="repo_switcher" title="${_('Switch repository')}" href="${h.url('home')}">
286 ${_('Repositories')}
300 287 </a>
301 288 <ul id="repo_switcher_list" class="repo_switcher">
302 289 <li>
@@ -307,48 +294,33 b''
307 294 ##ROOT MENU
308 295 %if c.rhodecode_user.username != 'default':
309 296 <li ${is_current('journal')}>
310 <a class="menu_link" title="${_('Show recent activity')}" href="${h.url('journal')}">
311 <span class="icon">
312 <img src="${h.url('/images/icons/book.png')}" alt="${_('Journal')}" />
313 </span>
314 <span>${_('Journal')}</span>
297 <a class="menu_link journal" title="${_('Show recent activity')}" href="${h.url('journal')}">
298 ${_('Journal')}
315 299 </a>
316 300 </li>
317 301 %else:
318 302 <li ${is_current('journal')}>
319 <a class="menu_link" title="${_('Public journal')}" href="${h.url('public_journal')}">
320 <span class="icon">
321 <img src="${h.url('/images/icons/book.png')}" alt="${_('Public journal')}" />
322 </span>
323 <span>${_('Public journal')}</span>
303 <a class="menu_link journal" title="${_('Public journal')}" href="${h.url('public_journal')}">
304 ${_('Public journal')}
324 305 </a>
325 306 </li>
326 307 %endif
327 308 <li ${is_current('search')}>
328 <a class="menu_link" title="${_('Search in repositories')}" href="${h.url('search')}">
329 <span class="icon">
330 <img src="${h.url('/images/icons/search_16.png')}" alt="${_('Search')}" />
331 </span>
332 <span>${_('Search')}</span>
309 <a class="menu_link search" title="${_('Search in repositories')}" href="${h.url('search')}">
310 ${_('Search')}
333 311 </a>
334 312 </li>
335 313 % if h.HasPermissionAll('hg.admin')('access admin main page'):
336 314 <li ${is_current('admin')}>
337 <a class="menu_link" title="${_('Admin')}" href="${h.url('admin_home')}">
338 <span class="icon">
339 <img src="${h.url('/images/icons/cog_edit.png')}" alt="${_('Admin')}" />
340 </span>
341 <span>${_('Admin')}</span>
315 <a class="menu_link admin childs" title="${_('Admin')}" href="${h.url('admin_home')}">
316 ${_('Admin')}
342 317 </a>
343 318 ${admin_menu()}
344 319 </li>
345 320 % elif c.rhodecode_user.groups_admin:
346 321 <li ${is_current('admin')}>
347 <a class="menu_link" title="${_('Admin')}" href="${h.url('admin_home')}">
348 <span class="icon">
349 <img src="${h.url('/images/icons/cog_edit.png')}" alt="${_('Admin')}" />
350 </span>
351 <span>${_('Admin')}</span>
322 <a class="menu_link admin childs" title="${_('Admin')}" href="${h.url('admin_home')}">
323 ${_('Admin')}
352 324 </a>
353 325 ${admin_menu_simple()}
354 326 </li>
@@ -63,12 +63,10 b''
63 63 <span title="${cs.author}" class="user">${h.shorter(h.person(cs.author),22)}</span>
64 64 </td>
65 65 <td class="hash">
66 <span class="tooltip" title="${h.tooltip(h.age(cs.date))}">
67 <a href="${h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id)}">
68 <span class="changeset_id">${cs.revision} :</span>
69 <span class="changeset_hash">${h.short_id(cs.raw_id)}</span>
70 </a>
71 </span>
66 <a href="${h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id)}">
67 <span class="changeset_id">${cs.revision} :</span>
68 <span class="changeset_hash">${h.short_id(cs.raw_id)}</span>
69 </a>
72 70 </td>
73 71 <td class="date">
74 72 <div class="date">${h.age(cs.date,True)}</div>
@@ -78,9 +76,13 b''
78 76 <div class="message">${h.urlify_commit(cs.message, c.repo_name,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}</div>
79 77 <div class="expand"><span class="expandtext">&darr; ${_('Show more')} &darr;</span></div>
80 78 <div class="extra-container">
81 %if (not c.branch_name) and cs.branch:
82 <div class="branchtag" title="${'%s %s' % (_('branch'),cs.branch)}">
83 ${h.link_to(h.shorter(cs.branch),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
79 %if c.comments.get(cs.raw_id,[]):
80 <div class="comments-container">
81 <div class="comments-cnt" title="${('comments')}">
82 <a href="${h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id,anchor='comment-%s' % c.comments[cs.raw_id][0].comment_id)}">
83 ${len(c.comments[cs.raw_id])}
84 </a>
85 </div>
84 86 </div>
85 87 %endif
86 88 %for book in cs.bookmarks:
@@ -94,15 +96,12 b''
94 96 ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
95 97 </div>
96 98 %endfor
97 %if len(c.comments.get(cs.raw_id,[])) > 0:
98 <div class="comments-container">
99 <div class="comments-cnt" title="${('comments')}">
100 <a href="${h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id,anchor='comment-%s' % c.comments[cs.raw_id][0].comment_id)}">
101 ${len(c.comments[cs.raw_id])}
102 </a>
103 </div>
99 %if (not c.branch_name) and cs.branch:
100 <div class="branchtag" title="${'%s %s' % (_('branch'),cs.branch)}">
101 ${h.link_to(h.shorter(cs.branch),h.url('changelog_home',repo_name=c.repo_name,branch=cs.branch))}
104 102 </div>
105 103 %endif
104
106 105 <%doc>
107 106 %if (h.is_hg(c.rhodecode_repo) and cs.bookmarks) or cs.tags:
108 107 <div class="tagcontainer">
@@ -166,14 +166,14 b''
166 166 <ul>
167 167 <li>
168 168 <a class="followers" title="${_('Followers')}" href="${h.url('repo_followers_home',repo_name=c.repo_name)}">
169 ${_('Followers')}
169 170 <span id="current_followers_count">${c.repository_followers}</span>
170 ${_('Followes')}
171 171 </a>
172 172 </li>
173 173 <li>
174 174 <a class="forks" title="${_('Forks')}" href="${h.url('repo_forks_home',repo_name=c.repo_name)}">
175 ${_('Forks')}
175 176 <span>${c.repository_forks}</span>
176 ${_('Forks')}
177 177 </a>
178 178 </li>
179 179 <li>
@@ -193,8 +193,8 b''
193 193 %endif
194 194 </li>
195 195 %if c.rhodecode_user.username != 'default':
196 <li>
197 <a href="#" class="repo-size" onclick="javascript:showRepoSize('repo_size_2','${c.dbrepo.repo_name}','${str(h.get_token())}')">Repository Size</a>
196 <li class="repo_size">
197 <a href="#" class="repo-size" onclick="javascript:showRepoSize('repo_size_2','${c.dbrepo.repo_name}','${str(h.get_token())}')">Calculate Repository Size</a>
198 198 <span id="repo_size_2"></span>
199 199 </li>
200 200 %endif
General Comments 0
You need to be logged in to leave comments. Login now