Mercurial > kallithea
annotate rhodecode/templates/base/base.html @ 1085:3fe3285868d1 beta
implemented public journal for anonymous users, admin can control which repositories
are visible in such journal in admin panel
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 25 Feb 2011 18:47:09 +0100 |
parents | f52aab02db29 |
children | 0e6035a85980 |
rev | line source |
---|---|
0 | 1 ## -*- coding: utf-8 -*- |
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
143
787689980bcd
Tempaltes changes for changelog and shortlog, changed menu generation in base
Marcin Kuzminski <marcin@python-works.com>
parents:
109
diff
changeset
|
3 <html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml"> |
0 | 4 <head> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
5 <title>${next.title()}</title> |
1050
cabe887a9829
removed obsolete _static flag from url, and fixed urls in webhelpers
Marcin Kuzminski <marcin@python-works.com>
parents:
1048
diff
changeset
|
6 <link rel="icon" href="${h.url('/images/icons/database_gear.png')}" type="image/png" /> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
7 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> |
44 | 8 <meta name="robots" content="index, nofollow"/> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
9 <!-- stylesheets --> |
98
01d0f363f36d
added pygments webhelper
Marcin Kuzminski <marcin@python-works.com>
parents:
91
diff
changeset
|
10 ${self.css()} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
11 <!-- scripts --> |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
12 ${self.js()} |
890
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
793
diff
changeset
|
13 %if c.ga_code: |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
793
diff
changeset
|
14 <script type="text/javascript"> |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
793
diff
changeset
|
15 |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
793
diff
changeset
|
16 var _gaq = _gaq || []; |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
793
diff
changeset
|
17 _gaq.push(['_setAccount', '${c.ga_code}']); |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
793
diff
changeset
|
18 _gaq.push(['_trackPageview']); |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
793
diff
changeset
|
19 |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
793
diff
changeset
|
20 (function() { |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
793
diff
changeset
|
21 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
793
diff
changeset
|
22 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
793
diff
changeset
|
23 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
793
diff
changeset
|
24 })(); |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
793
diff
changeset
|
25 |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
793
diff
changeset
|
26 |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
793
diff
changeset
|
27 </script> |
042d38683d42
implemented #89 google analytics code
Marcin Kuzminski <marcin@python-works.com>
parents:
793
diff
changeset
|
28 %endif |
0 | 29 </head> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
30 <body> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
31 <!-- header --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
32 <div id="header"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
33 <!-- user --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
34 <ul id="logged-user"> |
778
c3fab5b06af3
hide gravatar and login info for anonymous user
Marcin Kuzminski <marcin@python-works.com>
parents:
769
diff
changeset
|
35 <li class="first"> |
c3fab5b06af3
hide gravatar and login info for anonymous user
Marcin Kuzminski <marcin@python-works.com>
parents:
769
diff
changeset
|
36 <div class="gravatar"> |
784
30d3161c6683
Implemented fancier top menu for logged and anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
778
diff
changeset
|
37 <img alt="gravatar" src="${h.gravatar_url(c.rhodecode_user.email,20)}" /> |
778
c3fab5b06af3
hide gravatar and login info for anonymous user
Marcin Kuzminski <marcin@python-works.com>
parents:
769
diff
changeset
|
38 </div> |
c3fab5b06af3
hide gravatar and login info for anonymous user
Marcin Kuzminski <marcin@python-works.com>
parents:
769
diff
changeset
|
39 <div class="account"> |
784
30d3161c6683
Implemented fancier top menu for logged and anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
778
diff
changeset
|
40 %if c.rhodecode_user.username == 'default': |
1085
3fe3285868d1
implemented public journal for anonymous users, admin can control which repositories
Marcin Kuzminski <marcin@python-works.com>
parents:
1070
diff
changeset
|
41 <a href="${h.url('public_journal')}">${_('Public journal')}</a> |
784
30d3161c6683
Implemented fancier top menu for logged and anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
778
diff
changeset
|
42 %else: |
786
2889a4446960
when new repo is created make user follow it automatically,
Marcin Kuzminski <marcin@python-works.com>
parents:
784
diff
changeset
|
43 ${h.link_to(c.rhodecode_user.username,h.url('admin_settings_my_account'),title='%s %s'%(c.rhodecode_user.name,c.rhodecode_user.lastname))} |
784
30d3161c6683
Implemented fancier top menu for logged and anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
778
diff
changeset
|
44 %endif |
778
c3fab5b06af3
hide gravatar and login info for anonymous user
Marcin Kuzminski <marcin@python-works.com>
parents:
769
diff
changeset
|
45 </div> |
c3fab5b06af3
hide gravatar and login info for anonymous user
Marcin Kuzminski <marcin@python-works.com>
parents:
769
diff
changeset
|
46 </li> |
784
30d3161c6683
Implemented fancier top menu for logged and anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
778
diff
changeset
|
47 <li> |
30d3161c6683
Implemented fancier top menu for logged and anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
778
diff
changeset
|
48 <a href="${h.url('home')}">${_('Home')}</a> |
30d3161c6683
Implemented fancier top menu for logged and anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
778
diff
changeset
|
49 </li> |
793
3025b0f9475e
disabled journal for anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
786
diff
changeset
|
50 %if c.rhodecode_user.username != 'default': |
784
30d3161c6683
Implemented fancier top menu for logged and anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
778
diff
changeset
|
51 <li> |
30d3161c6683
Implemented fancier top menu for logged and anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
778
diff
changeset
|
52 <a href="${h.url('journal')}">${_('Journal')}</a> |
30d3161c6683
Implemented fancier top menu for logged and anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
778
diff
changeset
|
53 ##(${c.unread_journal})</a> |
786
2889a4446960
when new repo is created make user follow it automatically,
Marcin Kuzminski <marcin@python-works.com>
parents:
784
diff
changeset
|
54 </li> |
793
3025b0f9475e
disabled journal for anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
786
diff
changeset
|
55 %endif |
784
30d3161c6683
Implemented fancier top menu for logged and anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
778
diff
changeset
|
56 %if c.rhodecode_user.username == 'default': |
30d3161c6683
Implemented fancier top menu for logged and anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
778
diff
changeset
|
57 <li class="last highlight">${h.link_to(u'Login',h.url('login_home'))}</li> |
786
2889a4446960
when new repo is created make user follow it automatically,
Marcin Kuzminski <marcin@python-works.com>
parents:
784
diff
changeset
|
58 %else: |
784
30d3161c6683
Implemented fancier top menu for logged and anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
778
diff
changeset
|
59 <li class="last highlight">${h.link_to(u'Log Out',h.url('logout_home'))}</li> |
786
2889a4446960
when new repo is created make user follow it automatically,
Marcin Kuzminski <marcin@python-works.com>
parents:
784
diff
changeset
|
60 %endif |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
61 </ul> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
62 <!-- end user --> |
611
edf8567be8ed
css cleanup, fixed rounded corners, removed obsolete images and css imports
Marcin Kuzminski <marcin@python-works.com>
parents:
580
diff
changeset
|
63 <div id="header-inner" class="title top-left-rounded-corner top-right-rounded-corner"> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
64 <!-- logo --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
65 <div id="logo"> |
636
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
626
diff
changeset
|
66 <h1><a href="${h.url('home')}">${c.rhodecode_name}</a></h1> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
67 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
68 <!-- end logo --> |
611
edf8567be8ed
css cleanup, fixed rounded corners, removed obsolete images and css imports
Marcin Kuzminski <marcin@python-works.com>
parents:
580
diff
changeset
|
69 <!-- menu --> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
70 ${self.page_nav()} |
611
edf8567be8ed
css cleanup, fixed rounded corners, removed obsolete images and css imports
Marcin Kuzminski <marcin@python-works.com>
parents:
580
diff
changeset
|
71 <!-- quick --> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
72 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
73 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
74 <!-- end header --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
75 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
76 <!-- CONTENT --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
77 <div id="content"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
78 <div class="flash_msg"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
79 <% messages = h.flash.pop_messages() %> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
80 % if messages: |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
81 <ul id="flash-messages"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
82 % for message in messages: |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
83 <li class="${message.category}_msg">${message}</li> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
84 % endfor |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
85 </ul> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
86 % endif |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
87 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
88 <div id="main"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
89 ${next.main()} |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
90 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
91 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
92 <!-- END CONTENT --> |
0 | 93 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
94 <!-- footer --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
95 <div id="footer"> |
611
edf8567be8ed
css cleanup, fixed rounded corners, removed obsolete images and css imports
Marcin Kuzminski <marcin@python-works.com>
parents:
580
diff
changeset
|
96 <div id="footer-inner" class="title bottom-left-rounded-corner bottom-right-rounded-corner"> |
626
dfa7e1a95b60
added gpl license and submit a bug footer links
Marcin Kuzminski <marcin@python-works.com>
parents:
613
diff
changeset
|
97 <div> |
dfa7e1a95b60
added gpl license and submit a bug footer links
Marcin Kuzminski <marcin@python-works.com>
parents:
613
diff
changeset
|
98 <p class="footer-link">${h.link_to(_('Submit a bug'),h.url('bugtracker'))}</p> |
dfa7e1a95b60
added gpl license and submit a bug footer links
Marcin Kuzminski <marcin@python-works.com>
parents:
613
diff
changeset
|
99 <p class="footer-link">${h.link_to(_('GPL license'),h.url('gpl_license'))}</p> |
1015
65129c332d37
#56 added ajax removal of users groups,
Marcin Kuzminski <marcin@python-works.com>
parents:
999
diff
changeset
|
100 <p>RhodeCode ${c.rhodecode_version} © 2010-2011 by Marcin Kuzminski</p> |
626
dfa7e1a95b60
added gpl license and submit a bug footer links
Marcin Kuzminski <marcin@python-works.com>
parents:
613
diff
changeset
|
101 </div> |
611
edf8567be8ed
css cleanup, fixed rounded corners, removed obsolete images and css imports
Marcin Kuzminski <marcin@python-works.com>
parents:
580
diff
changeset
|
102 </div> |
995
d14723711d17
fixes for journal, added paging now it's possible to view whole journal
Marcin Kuzminski <marcin@python-works.com>
parents:
956
diff
changeset
|
103 <script type="text/javascript"> |
d14723711d17
fixes for journal, added paging now it's possible to view whole journal
Marcin Kuzminski <marcin@python-works.com>
parents:
956
diff
changeset
|
104 function tooltip_activate(){ |
d14723711d17
fixes for journal, added paging now it's possible to view whole journal
Marcin Kuzminski <marcin@python-works.com>
parents:
956
diff
changeset
|
105 ${h.tooltip.activate()} |
d14723711d17
fixes for journal, added paging now it's possible to view whole journal
Marcin Kuzminski <marcin@python-works.com>
parents:
956
diff
changeset
|
106 } |
d14723711d17
fixes for journal, added paging now it's possible to view whole journal
Marcin Kuzminski <marcin@python-works.com>
parents:
956
diff
changeset
|
107 tooltip_activate(); |
d14723711d17
fixes for journal, added paging now it's possible to view whole journal
Marcin Kuzminski <marcin@python-works.com>
parents:
956
diff
changeset
|
108 </script> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
109 </div> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
110 <!-- end footer --> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
111 </body> |
0 | 112 |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
113 </html> |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
114 |
182
11e8eb5a92e3
new way of menu generation for base, and all admin pages
Marcin Kuzminski <marcin@python-works.com>
parents:
176
diff
changeset
|
115 ### MAKO DEFS ### |
91
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
116 <%def name="page_nav()"> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
117 ${self.menu()} |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
118 </%def> |
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
119 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
120 <%def name="menu(current=None)"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
121 <% |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
122 def is_current(selected): |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
123 if selected == current: |
414
27f801e03489
fixed escaping for new webhelpers and added perm2user constraint
Marcin Kuzminski <marcin@python-works.com>
parents:
402
diff
changeset
|
124 return h.literal('class="current"') |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
125 %> |
454
ffbd1808b4c8
fixed repo switcher,
Marcin Kuzminski <marcin@python-works.com>
parents:
453
diff
changeset
|
126 %if current not in ['home','admin']: |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
127 ##REGULAR MENU |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
128 <ul id="quick"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
129 <!-- repo switcher --> |
182
11e8eb5a92e3
new way of menu generation for base, and all admin pages
Marcin Kuzminski <marcin@python-works.com>
parents:
176
diff
changeset
|
130 <li> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
131 <a id="repo_switcher" title="${_('Switch repository')}" href="#"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
132 <span class="icon"> |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1050
diff
changeset
|
133 <img src="${h.url("/images/icons/database.png")}" alt="${_('Products')}" /> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
134 </span> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
135 <span>↓</span> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
136 </a> |
454
ffbd1808b4c8
fixed repo switcher,
Marcin Kuzminski <marcin@python-works.com>
parents:
453
diff
changeset
|
137 <ul class="repo_switcher"> |
665
070f32743632
Moved out reposcan into hg Model.
Marcin Kuzminski <marcin@python-works.com>
parents:
646
diff
changeset
|
138 %for repo in c.cached_repo_list: |
070f32743632
Moved out reposcan into hg Model.
Marcin Kuzminski <marcin@python-works.com>
parents:
646
diff
changeset
|
139 |
1045
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
140 %if repo['dbrepo']['private']: |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1050
diff
changeset
|
141 <li><img src="${h.url("/images/icons/lock.png")}" alt="${_('Private repository')}" class="repo_switcher_type"/>${h.link_to(repo['repo'].name,h.url('summary_home',repo_name=repo['repo'].name),class_="%s" % repo['dbrepo']['repo_type'])}</li> |
477 | 142 %else: |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1050
diff
changeset
|
143 <li><img src="${h.url("/images/icons/lock_open.png")}" alt="${_('Public repository')}" class="repo_switcher_type" />${h.link_to(repo['repo'].name,h.url('summary_home',repo_name=repo['repo'].name),class_="%s" % repo['dbrepo']['repo_type'])}</li> |
477 | 144 %endif |
454
ffbd1808b4c8
fixed repo switcher,
Marcin Kuzminski <marcin@python-works.com>
parents:
453
diff
changeset
|
145 %endfor |
ffbd1808b4c8
fixed repo switcher,
Marcin Kuzminski <marcin@python-works.com>
parents:
453
diff
changeset
|
146 </ul> |
182
11e8eb5a92e3
new way of menu generation for base, and all admin pages
Marcin Kuzminski <marcin@python-works.com>
parents:
176
diff
changeset
|
147 </li> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
148 |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
149 <li ${is_current('summary')}> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
150 <a title="${_('Summary')}" href="${h.url('summary_home',repo_name=c.repo_name)}"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
151 <span class="icon"> |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1050
diff
changeset
|
152 <img src="${h.url("/images/icons/clipboard_16.png")}" alt="${_('Summary')}" /> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
153 </span> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
154 <span>${_('Summary')}</span> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
155 </a> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
156 </li> |
637
b04d5214fd3c
removed shortlog from main menu, as duplicated functionality of changelog,
Marcin Kuzminski <marcin@python-works.com>
parents:
636
diff
changeset
|
157 ##<li ${is_current('shortlog')}> |
b04d5214fd3c
removed shortlog from main menu, as duplicated functionality of changelog,
Marcin Kuzminski <marcin@python-works.com>
parents:
636
diff
changeset
|
158 ## <a title="${_('Shortlog')}" href="${h.url('shortlog_home',repo_name=c.repo_name)}"> |
b04d5214fd3c
removed shortlog from main menu, as duplicated functionality of changelog,
Marcin Kuzminski <marcin@python-works.com>
parents:
636
diff
changeset
|
159 ## <span class="icon"> |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1050
diff
changeset
|
160 ## <img src="${h.url("/images/icons/application_view_list.png")}" alt="${_('Shortlog')}" /> |
637
b04d5214fd3c
removed shortlog from main menu, as duplicated functionality of changelog,
Marcin Kuzminski <marcin@python-works.com>
parents:
636
diff
changeset
|
161 ## </span> |
b04d5214fd3c
removed shortlog from main menu, as duplicated functionality of changelog,
Marcin Kuzminski <marcin@python-works.com>
parents:
636
diff
changeset
|
162 ## <span>${_('Shortlog')}</span> |
b04d5214fd3c
removed shortlog from main menu, as duplicated functionality of changelog,
Marcin Kuzminski <marcin@python-works.com>
parents:
636
diff
changeset
|
163 ## </a> |
b04d5214fd3c
removed shortlog from main menu, as duplicated functionality of changelog,
Marcin Kuzminski <marcin@python-works.com>
parents:
636
diff
changeset
|
164 ##</li> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
165 <li ${is_current('changelog')}> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
166 <a title="${_('Changelog')}" href="${h.url('changelog_home',repo_name=c.repo_name)}"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
167 <span class="icon"> |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1050
diff
changeset
|
168 <img src="${h.url("/images/icons/time.png")}" alt="${_('Changelog')}" /> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
169 </span> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
170 <span>${_('Changelog')}</span> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
171 </a> |
453
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
172 </li> |
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
173 |
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
174 <li ${is_current('switch_to')}> |
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
175 <a title="${_('Switch to')}" href="#"> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
176 <span class="icon"> |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1050
diff
changeset
|
177 <img src="${h.url("/images/icons/arrow_switch.png")}" alt="${_('Switch to')}" /> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
178 </span> |
453
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
179 <span>${_('Switch to')}</span> |
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
180 </a> |
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
181 <ul> |
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
182 <li> |
1045
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
183 ${h.link_to('%s (%s)' % (_('branches'),len(c.rhodecode_repo.branches.values()),),h.url('branches_home',repo_name=c.repo_name),class_='branches childs')} |
453
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
184 <ul> |
1045
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
185 %if c.rhodecode_repo.branches.values(): |
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
186 %for cnt,branch in enumerate(c.rhodecode_repo.branches.items()): |
636
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
626
diff
changeset
|
187 <li>${h.link_to('%s - %s' % (branch[0],h.short_id(branch[1])),h.url('files_home',repo_name=c.repo_name,revision=branch[1]))}</li> |
453
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
188 %endfor |
509
b50e79b4257a
fixes to pidlock, to not raise unneded execptions
Marcin Kuzminski <marcin@python-works.com>
parents:
477
diff
changeset
|
189 %else: |
b50e79b4257a
fixes to pidlock, to not raise unneded execptions
Marcin Kuzminski <marcin@python-works.com>
parents:
477
diff
changeset
|
190 <li>${h.link_to(_('There are no branches yet'),'#')}</li> |
b50e79b4257a
fixes to pidlock, to not raise unneded execptions
Marcin Kuzminski <marcin@python-works.com>
parents:
477
diff
changeset
|
191 %endif |
453
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
192 </ul> |
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
193 </li> |
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
194 <li> |
1045
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
195 ${h.link_to('%s (%s)' % (_('tags'),len(c.rhodecode_repo.tags.values()),),h.url('tags_home',repo_name=c.repo_name),class_='tags childs')} |
453
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
196 <ul> |
1045
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
197 %if c.rhodecode_repo.tags.values(): |
3fc9183e05dd
another major codes rewrite:
Marcin Kuzminski <marcin@python-works.com>
parents:
1038
diff
changeset
|
198 %for cnt,tag in enumerate(c.rhodecode_repo.tags.items()): |
636
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
626
diff
changeset
|
199 <li>${h.link_to('%s - %s' % (tag[0],h.short_id(tag[1])),h.url('files_home',repo_name=c.repo_name,revision=tag[1]))}</li> |
453
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
200 %endfor |
509
b50e79b4257a
fixes to pidlock, to not raise unneded execptions
Marcin Kuzminski <marcin@python-works.com>
parents:
477
diff
changeset
|
201 %else: |
b50e79b4257a
fixes to pidlock, to not raise unneded execptions
Marcin Kuzminski <marcin@python-works.com>
parents:
477
diff
changeset
|
202 <li>${h.link_to(_('There are no tags yet'),'#')}</li> |
b50e79b4257a
fixes to pidlock, to not raise unneded execptions
Marcin Kuzminski <marcin@python-works.com>
parents:
477
diff
changeset
|
203 %endif |
453
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
204 </ul> |
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
205 </li> |
2a95d54b19e6
reimplemented tags/branches menu.
Marcin Kuzminski <marcin@python-works.com>
parents:
448
diff
changeset
|
206 </ul> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
207 </li> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
208 <li ${is_current('files')}> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
209 <a title="${_('Files')}" href="${h.url('files_home',repo_name=c.repo_name)}"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
210 <span class="icon"> |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1050
diff
changeset
|
211 <img src="${h.url("/images/icons/file.png")}" alt="${_('Files')}" /> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
212 </span> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
213 <span>${_('Files')}</span> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
214 </a> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
215 </li> |
524
63212fea2471
a lot of fixes in templates,
Marcin Kuzminski <marcin@python-works.com>
parents:
509
diff
changeset
|
216 |
63212fea2471
a lot of fixes in templates,
Marcin Kuzminski <marcin@python-works.com>
parents:
509
diff
changeset
|
217 <li ${is_current('options')}> |
63212fea2471
a lot of fixes in templates,
Marcin Kuzminski <marcin@python-works.com>
parents:
509
diff
changeset
|
218 <a title="${_('Options')}" href="#"> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
219 <span class="icon"> |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1050
diff
changeset
|
220 <img src="${h.url("/images/icons/table_gear.png")}" alt="${_('Admin')}" /> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
221 </span> |
524
63212fea2471
a lot of fixes in templates,
Marcin Kuzminski <marcin@python-works.com>
parents:
509
diff
changeset
|
222 <span>${_('Options')}</span> |
63212fea2471
a lot of fixes in templates,
Marcin Kuzminski <marcin@python-works.com>
parents:
509
diff
changeset
|
223 </a> |
63212fea2471
a lot of fixes in templates,
Marcin Kuzminski <marcin@python-works.com>
parents:
509
diff
changeset
|
224 <ul> |
63212fea2471
a lot of fixes in templates,
Marcin Kuzminski <marcin@python-works.com>
parents:
509
diff
changeset
|
225 %if h.HasRepoPermissionAll('repository.admin')(c.repo_name): |
917
de8b95f461f6
enabled quick link to enabling statistics in admin page, for admins
Marcin Kuzminski <marcin@python-works.com>
parents:
916
diff
changeset
|
226 %if h.HasPermissionAll('hg.admin')('access settings on repository'): |
916
415321076046
when logged in as admin the repo settings will point to admin settings.
Marcin Kuzminski <marcin@python-works.com>
parents:
905
diff
changeset
|
227 <li>${h.link_to(_('settings'),h.url('edit_repo',repo_name=c.repo_name),class_='settings')}</li> |
415321076046
when logged in as admin the repo settings will point to admin settings.
Marcin Kuzminski <marcin@python-works.com>
parents:
905
diff
changeset
|
228 %else: |
415321076046
when logged in as admin the repo settings will point to admin settings.
Marcin Kuzminski <marcin@python-works.com>
parents:
905
diff
changeset
|
229 <li>${h.link_to(_('settings'),h.url('repo_settings_home',repo_name=c.repo_name),class_='settings')}</li> |
415321076046
when logged in as admin the repo settings will point to admin settings.
Marcin Kuzminski <marcin@python-works.com>
parents:
905
diff
changeset
|
230 %endif |
1054
32dbf759fa98
fixed #113 to high permission was required to fork a repository
Marcin Kuzminski <marcin@python-works.com>
parents:
1051
diff
changeset
|
231 %endif |
524
63212fea2471
a lot of fixes in templates,
Marcin Kuzminski <marcin@python-works.com>
parents:
509
diff
changeset
|
232 <li>${h.link_to(_('fork'),h.url('repo_fork_home',repo_name=c.repo_name),class_='fork')}</li> |
63212fea2471
a lot of fixes in templates,
Marcin Kuzminski <marcin@python-works.com>
parents:
509
diff
changeset
|
233 <li>${h.link_to(_('search'),h.url('search_repo',search_repo=c.repo_name),class_='search')}</li> |
613
956952fea94c
added admin shortcut menu to options
Marcin Kuzminski <marcin@python-works.com>
parents:
611
diff
changeset
|
234 |
956952fea94c
added admin shortcut menu to options
Marcin Kuzminski <marcin@python-works.com>
parents:
611
diff
changeset
|
235 %if h.HasPermissionAll('hg.admin')('access admin main page'): |
956952fea94c
added admin shortcut menu to options
Marcin Kuzminski <marcin@python-works.com>
parents:
611
diff
changeset
|
236 <li> |
956952fea94c
added admin shortcut menu to options
Marcin Kuzminski <marcin@python-works.com>
parents:
611
diff
changeset
|
237 ${h.link_to(_('admin'),h.url('admin_home'),class_='admin')} |
769
4bdcc08b04c4
fixes #77 moved out ldap config to it's own section
Marcin Kuzminski <marcin@python-works.com>
parents:
768
diff
changeset
|
238 <%def name="admin_menu()"> |
613
956952fea94c
added admin shortcut menu to options
Marcin Kuzminski <marcin@python-works.com>
parents:
611
diff
changeset
|
239 <ul> |
956952fea94c
added admin shortcut menu to options
Marcin Kuzminski <marcin@python-works.com>
parents:
611
diff
changeset
|
240 <li>${h.link_to(_('journal'),h.url('admin_home'),class_='journal')}</li> |
956952fea94c
added admin shortcut menu to options
Marcin Kuzminski <marcin@python-works.com>
parents:
611
diff
changeset
|
241 <li>${h.link_to(_('repositories'),h.url('repos'),class_='repos')}</li> |
956952fea94c
added admin shortcut menu to options
Marcin Kuzminski <marcin@python-works.com>
parents:
611
diff
changeset
|
242 <li>${h.link_to(_('users'),h.url('users'),class_='users')}</li> |
956
83d35d716a02
started working on issue #56
Marcin Kuzminski <marcin@python-works.com>
parents:
917
diff
changeset
|
243 <li>${h.link_to(_('users groups'),h.url('users_groups'),class_='groups')}</li> |
613
956952fea94c
added admin shortcut menu to options
Marcin Kuzminski <marcin@python-works.com>
parents:
611
diff
changeset
|
244 <li>${h.link_to(_('permissions'),h.url('edit_permission',id='default'),class_='permissions')}</li> |
769
4bdcc08b04c4
fixes #77 moved out ldap config to it's own section
Marcin Kuzminski <marcin@python-works.com>
parents:
768
diff
changeset
|
245 <li>${h.link_to(_('ldap'),h.url('ldap_home'),class_='ldap')}</li> |
613
956952fea94c
added admin shortcut menu to options
Marcin Kuzminski <marcin@python-works.com>
parents:
611
diff
changeset
|
246 <li class="last">${h.link_to(_('settings'),h.url('admin_settings'),class_='settings')}</li> |
956952fea94c
added admin shortcut menu to options
Marcin Kuzminski <marcin@python-works.com>
parents:
611
diff
changeset
|
247 </ul> |
769
4bdcc08b04c4
fixes #77 moved out ldap config to it's own section
Marcin Kuzminski <marcin@python-works.com>
parents:
768
diff
changeset
|
248 </%def> |
4bdcc08b04c4
fixes #77 moved out ldap config to it's own section
Marcin Kuzminski <marcin@python-works.com>
parents:
768
diff
changeset
|
249 |
4bdcc08b04c4
fixes #77 moved out ldap config to it's own section
Marcin Kuzminski <marcin@python-works.com>
parents:
768
diff
changeset
|
250 ${admin_menu()} |
613
956952fea94c
added admin shortcut menu to options
Marcin Kuzminski <marcin@python-works.com>
parents:
611
diff
changeset
|
251 </li> |
747
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
252 %endif |
613
956952fea94c
added admin shortcut menu to options
Marcin Kuzminski <marcin@python-works.com>
parents:
611
diff
changeset
|
253 |
524
63212fea2471
a lot of fixes in templates,
Marcin Kuzminski <marcin@python-works.com>
parents:
509
diff
changeset
|
254 </ul> |
63212fea2471
a lot of fixes in templates,
Marcin Kuzminski <marcin@python-works.com>
parents:
509
diff
changeset
|
255 </li> |
747
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
256 |
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
257 <li> |
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
258 <a title="${_('Followers')}" href="#"> |
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
259 <span class="icon_short"> |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1050
diff
changeset
|
260 <img src="${h.url("/images/icons/heart.png")}" alt="${_('Followers')}" /> |
747
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
261 </span> |
1070
f52aab02db29
Added dynamic followers counter change after toggle following action
Marcin Kuzminski <marcin@python-works.com>
parents:
1054
diff
changeset
|
262 <span id="current_followers_count" class="short">${c.repository_followers}</span> |
747
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
263 </a> |
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
264 </li> |
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
265 <li> |
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
266 <a title="${_('Forks')}" href="#"> |
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
267 <span class="icon_short"> |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1050
diff
changeset
|
268 <img src="${h.url("/images/icons/arrow_divide.png")}" alt="${_('Forks')}" /> |
747
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
269 </span> |
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
270 <span class="short">${c.repository_forks}</span> |
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
271 </a> |
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
272 </li> |
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
273 |
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
274 |
2f89beda06a1
Added icons with numbers of followers and number of forks
Marcin Kuzminski <marcin@python-works.com>
parents:
734
diff
changeset
|
275 |
182
11e8eb5a92e3
new way of menu generation for base, and all admin pages
Marcin Kuzminski <marcin@python-works.com>
parents:
176
diff
changeset
|
276 </ul> |
11e8eb5a92e3
new way of menu generation for base, and all admin pages
Marcin Kuzminski <marcin@python-works.com>
parents:
176
diff
changeset
|
277 %else: |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
278 ##ROOT MENU |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
279 <ul id="quick"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
280 <li> |
636
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
626
diff
changeset
|
281 <a title="${_('Home')}" href="${h.url('home')}"> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
282 <span class="icon"> |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1050
diff
changeset
|
283 <img src="${h.url("/images/icons/home_16.png")}" alt="${_('Home')}" /> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
284 </span> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
285 <span>${_('Home')}</span> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
286 </a> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
287 </li> |
793
3025b0f9475e
disabled journal for anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
786
diff
changeset
|
288 %if c.rhodecode_user.username != 'default': |
402
757c7eef0dcd
implemented gravatars into main bar.
Marcin Kuzminski <marcin@python-works.com>
parents:
380
diff
changeset
|
289 <li> |
734
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
290 <a title="${_('Journal')}" href="${h.url('journal')}"> |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
291 <span class="icon"> |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1050
diff
changeset
|
292 <img src="${h.url("/images/icons/book.png")}" alt="${_('Journal')}" /> |
734
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
293 </span> |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
294 <span>${_('Journal')}</span> |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
295 </a> |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
296 </li> |
793
3025b0f9475e
disabled journal for anonymous users
Marcin Kuzminski <marcin@python-works.com>
parents:
786
diff
changeset
|
297 %endif |
734
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
298 <li> |
402
757c7eef0dcd
implemented gravatars into main bar.
Marcin Kuzminski <marcin@python-works.com>
parents:
380
diff
changeset
|
299 <a title="${_('Search')}" href="${h.url('search')}"> |
757c7eef0dcd
implemented gravatars into main bar.
Marcin Kuzminski <marcin@python-works.com>
parents:
380
diff
changeset
|
300 <span class="icon"> |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1050
diff
changeset
|
301 <img src="${h.url("/images/icons/search_16.png")}" alt="${_('Search')}" /> |
402
757c7eef0dcd
implemented gravatars into main bar.
Marcin Kuzminski <marcin@python-works.com>
parents:
380
diff
changeset
|
302 </span> |
757c7eef0dcd
implemented gravatars into main bar.
Marcin Kuzminski <marcin@python-works.com>
parents:
380
diff
changeset
|
303 <span>${_('Search')}</span> |
757c7eef0dcd
implemented gravatars into main bar.
Marcin Kuzminski <marcin@python-works.com>
parents:
380
diff
changeset
|
304 </a> |
757c7eef0dcd
implemented gravatars into main bar.
Marcin Kuzminski <marcin@python-works.com>
parents:
380
diff
changeset
|
305 </li> |
757c7eef0dcd
implemented gravatars into main bar.
Marcin Kuzminski <marcin@python-works.com>
parents:
380
diff
changeset
|
306 |
318
fdf9f6ee5217
Implemented permissions into hg app, secured admin controllers, templates and repository specific controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
307 %if h.HasPermissionAll('hg.admin')('access admin main page'): |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
308 <li ${is_current('admin')}> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
309 <a title="${_('Admin')}" href="${h.url('admin_home')}"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
310 <span class="icon"> |
1051
90eadff2c2a8
changed all urls for IMAGES files to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1050
diff
changeset
|
311 <img src="${h.url("/images/icons/cog_edit.png")}" alt="${_('Admin')}" /> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
312 </span> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
313 <span>${_('Admin')}</span> |
769
4bdcc08b04c4
fixes #77 moved out ldap config to it's own section
Marcin Kuzminski <marcin@python-works.com>
parents:
768
diff
changeset
|
314 </a> |
4bdcc08b04c4
fixes #77 moved out ldap config to it's own section
Marcin Kuzminski <marcin@python-works.com>
parents:
768
diff
changeset
|
315 ${admin_menu()} |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
316 </li> |
318
fdf9f6ee5217
Implemented permissions into hg app, secured admin controllers, templates and repository specific controllers
Marcin Kuzminski <marcin@python-works.com>
parents:
299
diff
changeset
|
317 %endif |
182
11e8eb5a92e3
new way of menu generation for base, and all admin pages
Marcin Kuzminski <marcin@python-works.com>
parents:
176
diff
changeset
|
318 </ul> |
11e8eb5a92e3
new way of menu generation for base, and all admin pages
Marcin Kuzminski <marcin@python-works.com>
parents:
176
diff
changeset
|
319 %endif |
216
c8162373f214
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
Marcin Kuzminski <marcin@python-works.com>
parents:
208
diff
changeset
|
320 </%def> |
c8162373f214
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
Marcin Kuzminski <marcin@python-works.com>
parents:
208
diff
changeset
|
321 |
91
25e01cb65282
Added menu generation as function
Marcin Kuzminski <marcin@python-works.com>
parents:
83
diff
changeset
|
322 |
98
01d0f363f36d
added pygments webhelper
Marcin Kuzminski <marcin@python-works.com>
parents:
91
diff
changeset
|
323 <%def name="css()"> |
1050
cabe887a9829
removed obsolete _static flag from url, and fixed urls in webhelpers
Marcin Kuzminski <marcin@python-works.com>
parents:
1048
diff
changeset
|
324 <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css')}" media="screen" /> |
cabe887a9829
removed obsolete _static flag from url, and fixed urls in webhelpers
Marcin Kuzminski <marcin@python-works.com>
parents:
1048
diff
changeset
|
325 <link rel="stylesheet" type="text/css" href="${h.url('/css/pygments.css')}" /> |
cabe887a9829
removed obsolete _static flag from url, and fixed urls in webhelpers
Marcin Kuzminski <marcin@python-works.com>
parents:
1048
diff
changeset
|
326 <link rel="stylesheet" type="text/css" href="${h.url('/css/diff.css')}" /> |
98
01d0f363f36d
added pygments webhelper
Marcin Kuzminski <marcin@python-works.com>
parents:
91
diff
changeset
|
327 </%def> |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
328 |
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
329 <%def name="js()"> |
1050
cabe887a9829
removed obsolete _static flag from url, and fixed urls in webhelpers
Marcin Kuzminski <marcin@python-works.com>
parents:
1048
diff
changeset
|
330 ##<script type="text/javascript" src="${h.url('/js/yui/utilities/utilities.js')}"></script> |
cabe887a9829
removed obsolete _static flag from url, and fixed urls in webhelpers
Marcin Kuzminski <marcin@python-works.com>
parents:
1048
diff
changeset
|
331 ##<script type="text/javascript" src="${h.url('/js/yui/container/container.js')}"></script> |
cabe887a9829
removed obsolete _static flag from url, and fixed urls in webhelpers
Marcin Kuzminski <marcin@python-works.com>
parents:
1048
diff
changeset
|
332 ##<script type="text/javascript" src="${h.url('/js/yui/datasource/datasource.js')}"></script> |
cabe887a9829
removed obsolete _static flag from url, and fixed urls in webhelpers
Marcin Kuzminski <marcin@python-works.com>
parents:
1048
diff
changeset
|
333 ##<script type="text/javascript" src="${h.url('/js/yui/autocomplete/autocomplete.js')}"></script> |
cabe887a9829
removed obsolete _static flag from url, and fixed urls in webhelpers
Marcin Kuzminski <marcin@python-works.com>
parents:
1048
diff
changeset
|
334 ##<script type="text/javascript" src="${h.url('/js/yui/selector/selector-min.js')}"></script> |
457
644795a4e8d2
Code cleanups, made js rollup file, some preparation for .egg creation
Marcin Kuzminski <marcin@python-works.com>
parents:
454
diff
changeset
|
335 |
1050
cabe887a9829
removed obsolete _static flag from url, and fixed urls in webhelpers
Marcin Kuzminski <marcin@python-works.com>
parents:
1048
diff
changeset
|
336 <script type="text/javascript" src="${h.url('/js/yui2a.js')}"></script> |
cabe887a9829
removed obsolete _static flag from url, and fixed urls in webhelpers
Marcin Kuzminski <marcin@python-works.com>
parents:
1048
diff
changeset
|
337 <!--[if IE]><script language="javascript" type="text/javascript" src="${h.url('/js/excanvas.min.js')}"></script><![endif]--> |
cabe887a9829
removed obsolete _static flag from url, and fixed urls in webhelpers
Marcin Kuzminski <marcin@python-works.com>
parents:
1048
diff
changeset
|
338 <script type="text/javascript" src="${h.url('/js/yui.flot.js')}"></script> |
734
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
339 |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
340 <script type="text/javascript"> |
1048
ab09064ba7cf
changed all url for JS file to use pylons url function
Marcin Kuzminski <marcin@python-works.com>
parents:
1045
diff
changeset
|
341 var base_url = "${h.url('toggle_following')}"; |
734
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
342 var YUC = YAHOO.util.Connect; |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
343 var YUD = YAHOO.util.Dom; |
763
0dad296d2a57
extended trending languages to more entries, implemented new faster and "fancy"
Marcin Kuzminski <marcin@python-works.com>
parents:
747
diff
changeset
|
344 var YUE = YAHOO.util.Event; |
734
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
345 |
999
1951c35483ab
fixed following js snipet. It' can be called multiple times now next to each repository
Marcin Kuzminski <marcin@python-works.com>
parents:
995
diff
changeset
|
346 function onSuccess(target){ |
734
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
347 |
999
1951c35483ab
fixed following js snipet. It' can be called multiple times now next to each repository
Marcin Kuzminski <marcin@python-works.com>
parents:
995
diff
changeset
|
348 var f = YUD.get(target.id); |
1070
f52aab02db29
Added dynamic followers counter change after toggle following action
Marcin Kuzminski <marcin@python-works.com>
parents:
1054
diff
changeset
|
349 var f_cnt = YUD.get('current_followers_count'); |
f52aab02db29
Added dynamic followers counter change after toggle following action
Marcin Kuzminski <marcin@python-works.com>
parents:
1054
diff
changeset
|
350 |
734
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
351 if(f.getAttribute('class')=='follow'){ |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
352 f.setAttribute('class','following'); |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
353 f.setAttribute('title',"${_('Stop following this repository')}"); |
1070
f52aab02db29
Added dynamic followers counter change after toggle following action
Marcin Kuzminski <marcin@python-works.com>
parents:
1054
diff
changeset
|
354 |
f52aab02db29
Added dynamic followers counter change after toggle following action
Marcin Kuzminski <marcin@python-works.com>
parents:
1054
diff
changeset
|
355 if(f_cnt){ |
f52aab02db29
Added dynamic followers counter change after toggle following action
Marcin Kuzminski <marcin@python-works.com>
parents:
1054
diff
changeset
|
356 var cnt = Number(f_cnt.innerHTML)+1; |
f52aab02db29
Added dynamic followers counter change after toggle following action
Marcin Kuzminski <marcin@python-works.com>
parents:
1054
diff
changeset
|
357 f_cnt.innerHTML = cnt; |
f52aab02db29
Added dynamic followers counter change after toggle following action
Marcin Kuzminski <marcin@python-works.com>
parents:
1054
diff
changeset
|
358 } |
f52aab02db29
Added dynamic followers counter change after toggle following action
Marcin Kuzminski <marcin@python-works.com>
parents:
1054
diff
changeset
|
359 |
734
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
360 } |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
361 else{ |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
362 f.setAttribute('class','follow'); |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
363 f.setAttribute('title',"${_('Start following this repository')}"); |
1070
f52aab02db29
Added dynamic followers counter change after toggle following action
Marcin Kuzminski <marcin@python-works.com>
parents:
1054
diff
changeset
|
364 if(f_cnt){ |
f52aab02db29
Added dynamic followers counter change after toggle following action
Marcin Kuzminski <marcin@python-works.com>
parents:
1054
diff
changeset
|
365 var cnt = Number(f_cnt.innerHTML)+1; |
f52aab02db29
Added dynamic followers counter change after toggle following action
Marcin Kuzminski <marcin@python-works.com>
parents:
1054
diff
changeset
|
366 f_cnt.innerHTML = cnt; |
f52aab02db29
Added dynamic followers counter change after toggle following action
Marcin Kuzminski <marcin@python-works.com>
parents:
1054
diff
changeset
|
367 } |
734
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
368 } |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
369 } |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
370 |
1085
3fe3285868d1
implemented public journal for anonymous users, admin can control which repositories
Marcin Kuzminski <marcin@python-works.com>
parents:
1070
diff
changeset
|
371 function toggleFollowingUser(target,fallows_user_id,token,user_id){ |
734
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
372 args = 'follows_user_id='+fallows_user_id; |
905
1294f2baf2bc
added wrapping of long tooltips in index page
Marcin Kuzminski <marcin@python-works.com>
parents:
890
diff
changeset
|
373 args+= '&auth_token='+token; |
1085
3fe3285868d1
implemented public journal for anonymous users, admin can control which repositories
Marcin Kuzminski <marcin@python-works.com>
parents:
1070
diff
changeset
|
374 if(user_id != undefined){ |
3fe3285868d1
implemented public journal for anonymous users, admin can control which repositories
Marcin Kuzminski <marcin@python-works.com>
parents:
1070
diff
changeset
|
375 args+="&user_id="+user_id; |
3fe3285868d1
implemented public journal for anonymous users, admin can control which repositories
Marcin Kuzminski <marcin@python-works.com>
parents:
1070
diff
changeset
|
376 } |
734
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
377 YUC.asyncRequest('POST',base_url,{ |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
378 success:function(o){ |
1085
3fe3285868d1
implemented public journal for anonymous users, admin can control which repositories
Marcin Kuzminski <marcin@python-works.com>
parents:
1070
diff
changeset
|
379 onSuccess(target); |
734
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
380 } |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
381 },args); return false; |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
382 } |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
383 |
1085
3fe3285868d1
implemented public journal for anonymous users, admin can control which repositories
Marcin Kuzminski <marcin@python-works.com>
parents:
1070
diff
changeset
|
384 function toggleFollowingRepo(target,fallows_repo_id,token,user_id){ |
999
1951c35483ab
fixed following js snipet. It' can be called multiple times now next to each repository
Marcin Kuzminski <marcin@python-works.com>
parents:
995
diff
changeset
|
385 |
734
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
386 args = 'follows_repo_id='+fallows_repo_id; |
905
1294f2baf2bc
added wrapping of long tooltips in index page
Marcin Kuzminski <marcin@python-works.com>
parents:
890
diff
changeset
|
387 args+= '&auth_token='+token; |
1085
3fe3285868d1
implemented public journal for anonymous users, admin can control which repositories
Marcin Kuzminski <marcin@python-works.com>
parents:
1070
diff
changeset
|
388 if(user_id != undefined){ |
3fe3285868d1
implemented public journal for anonymous users, admin can control which repositories
Marcin Kuzminski <marcin@python-works.com>
parents:
1070
diff
changeset
|
389 args+="&user_id="+user_id; |
3fe3285868d1
implemented public journal for anonymous users, admin can control which repositories
Marcin Kuzminski <marcin@python-works.com>
parents:
1070
diff
changeset
|
390 } |
734
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
391 YUC.asyncRequest('POST',base_url,{ |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
392 success:function(o){ |
999
1951c35483ab
fixed following js snipet. It' can be called multiple times now next to each repository
Marcin Kuzminski <marcin@python-works.com>
parents:
995
diff
changeset
|
393 onSuccess(target); |
734
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
394 } |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
395 },args); return false; |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
396 } |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
397 </script> |
49eb69d78988
implemented user dashboards, and following system.
Marcin Kuzminski <marcin@python-works.com>
parents:
694
diff
changeset
|
398 |
176
8dd7305fbc2d
moved get_form_error to base
Marcin Kuzminski <marcin@python-works.com>
parents:
166
diff
changeset
|
399 </%def> |
8dd7305fbc2d
moved get_form_error to base
Marcin Kuzminski <marcin@python-works.com>
parents:
166
diff
changeset
|
400 |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
401 <%def name="breadcrumbs()"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
402 <div class="breadcrumbs"> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
403 ${self.breadcrumbs_links()} |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
346
diff
changeset
|
404 </div> |
79
9fe23fdab9e9
Implemented AJAH paging
Marcin Kuzminski <marcin@python-blog.com>
parents:
74
diff
changeset
|
405 </%def> |