##// END OF EJS Templates
quick login: add link to Journal to popup menu
Aras Pranckevicius -
r1975:9c5b33c4 beta
parent child Browse files
Show More
@@ -1,336 +1,337 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="root.html"/>
2 <%inherit file="root.html"/>
3
3
4 <!-- HEADER -->
4 <!-- HEADER -->
5 <div id="header">
5 <div id="header">
6 <div id="header-inner" class="title">
6 <div id="header-inner" class="title">
7 <div id="logo">
7 <div id="logo">
8 <h1><a href="${h.url('home')}">${c.rhodecode_name}</a></h1>
8 <h1><a href="${h.url('home')}">${c.rhodecode_name}</a></h1>
9 </div>
9 </div>
10 <!-- MENU -->
10 <!-- MENU -->
11 ${self.page_nav()}
11 ${self.page_nav()}
12 <!-- END MENU -->
12 <!-- END MENU -->
13 ${self.body()}
13 ${self.body()}
14 </div>
14 </div>
15 </div>
15 </div>
16 <!-- END HEADER -->
16 <!-- END HEADER -->
17
17
18 <!-- CONTENT -->
18 <!-- CONTENT -->
19 <div id="content">
19 <div id="content">
20 <div class="flash_msg">
20 <div class="flash_msg">
21 <% messages = h.flash.pop_messages() %>
21 <% messages = h.flash.pop_messages() %>
22 % if messages:
22 % if messages:
23 <ul id="flash-messages">
23 <ul id="flash-messages">
24 % for message in messages:
24 % for message in messages:
25 <li class="${message.category}_msg">${message}</li>
25 <li class="${message.category}_msg">${message}</li>
26 % endfor
26 % endfor
27 </ul>
27 </ul>
28 % endif
28 % endif
29 </div>
29 </div>
30 <div id="main">
30 <div id="main">
31 ${next.main()}
31 ${next.main()}
32 </div>
32 </div>
33 </div>
33 </div>
34 <!-- END CONTENT -->
34 <!-- END CONTENT -->
35
35
36 <!-- FOOTER -->
36 <!-- FOOTER -->
37 <div id="footer">
37 <div id="footer">
38 <div id="footer-inner" class="title">
38 <div id="footer-inner" class="title">
39 <div>
39 <div>
40 <p class="footer-link">
40 <p class="footer-link">
41 <a href="${h.url('bugtracker')}">${_('Submit a bug')}</a>
41 <a href="${h.url('bugtracker')}">${_('Submit a bug')}</a>
42 </p>
42 </p>
43 <p class="footer-link-right">
43 <p class="footer-link-right">
44 <a href="${h.url('rhodecode_official')}">RhodeCode</a>
44 <a href="${h.url('rhodecode_official')}">RhodeCode</a>
45 ${c.rhodecode_version} &copy; 2010-${h.datetime.today().year} by Marcin Kuzminski
45 ${c.rhodecode_version} &copy; 2010-${h.datetime.today().year} by Marcin Kuzminski
46 </p>
46 </p>
47 </div>
47 </div>
48 </div>
48 </div>
49 </div>
49 </div>
50 <!-- END FOOTER -->
50 <!-- END FOOTER -->
51
51
52 ### MAKO DEFS ###
52 ### MAKO DEFS ###
53 <%def name="page_nav()">
53 <%def name="page_nav()">
54 ${self.menu()}
54 ${self.menu()}
55 </%def>
55 </%def>
56
56
57 <%def name="breadcrumbs()">
57 <%def name="breadcrumbs()">
58 <div class="breadcrumbs">
58 <div class="breadcrumbs">
59 ${self.breadcrumbs_links()}
59 ${self.breadcrumbs_links()}
60 </div>
60 </div>
61 </%def>
61 </%def>
62
62
63 <%def name="usermenu()">
63 <%def name="usermenu()">
64 <div class="user-menu">
64 <div class="user-menu">
65 <div class="container">
65 <div class="container">
66 <div class="gravatar" id="quick_login_link">
66 <div class="gravatar" id="quick_login_link">
67 <img alt="gravatar" src="${h.gravatar_url(c.rhodecode_user.email,24)}" />
67 <img alt="gravatar" src="${h.gravatar_url(c.rhodecode_user.email,24)}" />
68 </div>
68 </div>
69 %if c.rhodecode_user.username != 'default' and c.unread_notifications != 0:
69 %if c.rhodecode_user.username != 'default' and c.unread_notifications != 0:
70 <div class="notifications">
70 <div class="notifications">
71 <a id="notification_counter" href="${h.url('notifications')}">${c.unread_notifications}</a>
71 <a id="notification_counter" href="${h.url('notifications')}">${c.unread_notifications}</a>
72 </div>
72 </div>
73 %endif
73 %endif
74 </div>
74 </div>
75 <div id="quick_login" style="display:none">
75 <div id="quick_login" style="display:none">
76 %if c.rhodecode_user.username == 'default':
76 %if c.rhodecode_user.username == 'default':
77 <h4>${_('Login to your account')}</h4>
77 <h4>${_('Login to your account')}</h4>
78 ${h.form(h.url('login_home',came_from=h.url.current()))}
78 ${h.form(h.url('login_home',came_from=h.url.current()))}
79 <div class="form">
79 <div class="form">
80 <div class="fields">
80 <div class="fields">
81 <div class="field">
81 <div class="field">
82 <div class="label">
82 <div class="label">
83 <label for="username">${_('Username')}:</label>
83 <label for="username">${_('Username')}:</label>
84 </div>
84 </div>
85 <div class="input">
85 <div class="input">
86 ${h.text('username',class_='focus',size=40)}
86 ${h.text('username',class_='focus',size=40)}
87 </div>
87 </div>
88
88
89 </div>
89 </div>
90 <div class="field">
90 <div class="field">
91 <div class="label">
91 <div class="label">
92 <label for="password">${_('Password')}:</label>
92 <label for="password">${_('Password')}:</label>
93 </div>
93 </div>
94 <div class="input">
94 <div class="input">
95 ${h.password('password',class_='focus',size=40)}
95 ${h.password('password',class_='focus',size=40)}
96 </div>
96 </div>
97
97
98 </div>
98 </div>
99 <div class="buttons">
99 <div class="buttons">
100 <div class="password_forgoten">${h.link_to(_('Forgot password ?'),h.url('reset_password'))}</div>
100 <div class="password_forgoten">${h.link_to(_('Forgot password ?'),h.url('reset_password'))}</div>
101 <div class="register">
101 <div class="register">
102 %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')():
102 %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')():
103 ${h.link_to(_("Don't have an account ?"),h.url('register'))}
103 ${h.link_to(_("Don't have an account ?"),h.url('register'))}
104 %endif
104 %endif
105 </div>
105 </div>
106 <div class="submit">
106 <div class="submit">
107 ${h.submit('sign_in',_('Log In'),class_="ui-btn xsmall")}
107 ${h.submit('sign_in',_('Log In'),class_="ui-btn xsmall")}
108 </div>
108 </div>
109 </div>
109 </div>
110 </div>
110 </div>
111 </div>
111 </div>
112 ${h.end_form()}
112 ${h.end_form()}
113 %else:
113 %else:
114 <div class="links_left">
114 <div class="links_left">
115 <div class="full_name">${c.rhodecode_user.full_name_or_username}</div>
115 <div class="full_name">${c.rhodecode_user.full_name_or_username}</div>
116 <div class="email">${c.rhodecode_user.email}</div>
116 <div class="email">${c.rhodecode_user.email}</div>
117 <div class="big_gravatar"><img alt="gravatar" src="${h.gravatar_url(c.rhodecode_user.email,48)}" /></div>
117 <div class="big_gravatar"><img alt="gravatar" src="${h.gravatar_url(c.rhodecode_user.email,48)}" /></div>
118 </div>
118 </div>
119 <div class="links_right">
119 <div class="links_right">
120 <ol class="links">
120 <ol class="links">
121 <li>${h.link_to(_(u'Home'),h.url('home'))}</li>
121 <li>${h.link_to(_(u'Home'),h.url('home'))}</li>
122 <li>${h.link_to(_(u'Journal'),h.url('journal'))}</li>
122 <li>${h.link_to(_(u'My account'),h.url('admin_settings_my_account'))}</li>
123 <li>${h.link_to(_(u'My account'),h.url('admin_settings_my_account'))}</li>
123 <li class="logout">${h.link_to(_(u'Log Out'),h.url('logout_home'))}</li>
124 <li class="logout">${h.link_to(_(u'Log Out'),h.url('logout_home'))}</li>
124 </ol>
125 </ol>
125 </div>
126 </div>
126 %endif
127 %endif
127 </div>
128 </div>
128 </div>
129 </div>
129 </%def>
130 </%def>
130
131
131 <%def name="menu(current=None)">
132 <%def name="menu(current=None)">
132 <%
133 <%
133 def is_current(selected):
134 def is_current(selected):
134 if selected == current:
135 if selected == current:
135 return h.literal('class="current"')
136 return h.literal('class="current"')
136 %>
137 %>
137 %if current not in ['home','admin']:
138 %if current not in ['home','admin']:
138 ##REGULAR MENU
139 ##REGULAR MENU
139 <ul id="quick">
140 <ul id="quick">
140 <!-- repo switcher -->
141 <!-- repo switcher -->
141 <li>
142 <li>
142 <a class="menu_link" id="repo_switcher" title="${_('Switch repository')}" href="#">
143 <a class="menu_link" id="repo_switcher" title="${_('Switch repository')}" href="#">
143 <span class="icon">
144 <span class="icon">
144 <img src="${h.url('/images/icons/database.png')}" alt="${_('Products')}" />
145 <img src="${h.url('/images/icons/database.png')}" alt="${_('Products')}" />
145 </span>
146 </span>
146 <span>&darr;</span>
147 <span>&darr;</span>
147 </a>
148 </a>
148 <ul id="repo_switcher_list" class="repo_switcher">
149 <ul id="repo_switcher_list" class="repo_switcher">
149 <li>
150 <li>
150 <a href="#">${_('loading...')}</a>
151 <a href="#">${_('loading...')}</a>
151 </li>
152 </li>
152 </ul>
153 </ul>
153 </li>
154 </li>
154
155
155 <li ${is_current('summary')}>
156 <li ${is_current('summary')}>
156 <a class="menu_link" title="${_('Summary')}" href="${h.url('summary_home',repo_name=c.repo_name)}">
157 <a class="menu_link" title="${_('Summary')}" href="${h.url('summary_home',repo_name=c.repo_name)}">
157 <span class="icon">
158 <span class="icon">
158 <img src="${h.url('/images/icons/clipboard_16.png')}" alt="${_('Summary')}" />
159 <img src="${h.url('/images/icons/clipboard_16.png')}" alt="${_('Summary')}" />
159 </span>
160 </span>
160 <span>${_('Summary')}</span>
161 <span>${_('Summary')}</span>
161 </a>
162 </a>
162 </li>
163 </li>
163 <li ${is_current('changelog')}>
164 <li ${is_current('changelog')}>
164 <a class="menu_link" title="${_('Changelog')}" href="${h.url('changelog_home',repo_name=c.repo_name)}">
165 <a class="menu_link" title="${_('Changelog')}" href="${h.url('changelog_home',repo_name=c.repo_name)}">
165 <span class="icon">
166 <span class="icon">
166 <img src="${h.url('/images/icons/time.png')}" alt="${_('Changelog')}" />
167 <img src="${h.url('/images/icons/time.png')}" alt="${_('Changelog')}" />
167 </span>
168 </span>
168 <span>${_('Changelog')}</span>
169 <span>${_('Changelog')}</span>
169 </a>
170 </a>
170 </li>
171 </li>
171
172
172 <li ${is_current('switch_to')}>
173 <li ${is_current('switch_to')}>
173 <a class="menu_link" id="branch_tag_switcher" title="${_('Switch to')}" href="#">
174 <a class="menu_link" id="branch_tag_switcher" title="${_('Switch to')}" href="#">
174 <span class="icon">
175 <span class="icon">
175 <img src="${h.url('/images/icons/arrow_switch.png')}" alt="${_('Switch to')}" />
176 <img src="${h.url('/images/icons/arrow_switch.png')}" alt="${_('Switch to')}" />
176 </span>
177 </span>
177 <span>${_('Switch to')}</span>
178 <span>${_('Switch to')}</span>
178 </a>
179 </a>
179 <ul id="switch_to_list" class="switch_to">
180 <ul id="switch_to_list" class="switch_to">
180 <li><a href="#">${_('loading...')}</a></li>
181 <li><a href="#">${_('loading...')}</a></li>
181 </ul>
182 </ul>
182 </li>
183 </li>
183 <li ${is_current('files')}>
184 <li ${is_current('files')}>
184 <a class="menu_link" title="${_('Files')}" href="${h.url('files_home',repo_name=c.repo_name)}">
185 <a class="menu_link" title="${_('Files')}" href="${h.url('files_home',repo_name=c.repo_name)}">
185 <span class="icon">
186 <span class="icon">
186 <img src="${h.url('/images/icons/file.png')}" alt="${_('Files')}" />
187 <img src="${h.url('/images/icons/file.png')}" alt="${_('Files')}" />
187 </span>
188 </span>
188 <span>${_('Files')}</span>
189 <span>${_('Files')}</span>
189 </a>
190 </a>
190 </li>
191 </li>
191
192
192 <li ${is_current('options')}>
193 <li ${is_current('options')}>
193 <a class="menu_link" title="${_('Options')}" href="#">
194 <a class="menu_link" title="${_('Options')}" href="#">
194 <span class="icon">
195 <span class="icon">
195 <img src="${h.url('/images/icons/table_gear.png')}" alt="${_('Admin')}" />
196 <img src="${h.url('/images/icons/table_gear.png')}" alt="${_('Admin')}" />
196 </span>
197 </span>
197 <span>${_('Options')}</span>
198 <span>${_('Options')}</span>
198 </a>
199 </a>
199 <ul>
200 <ul>
200 %if h.HasRepoPermissionAll('repository.admin')(c.repo_name):
201 %if h.HasRepoPermissionAll('repository.admin')(c.repo_name):
201 %if h.HasPermissionAll('hg.admin')('access settings on repository'):
202 %if h.HasPermissionAll('hg.admin')('access settings on repository'):
202 <li>${h.link_to(_('settings'),h.url('edit_repo',repo_name=c.repo_name),class_='settings')}</li>
203 <li>${h.link_to(_('settings'),h.url('edit_repo',repo_name=c.repo_name),class_='settings')}</li>
203 %else:
204 %else:
204 <li>${h.link_to(_('settings'),h.url('repo_settings_home',repo_name=c.repo_name),class_='settings')}</li>
205 <li>${h.link_to(_('settings'),h.url('repo_settings_home',repo_name=c.repo_name),class_='settings')}</li>
205 %endif
206 %endif
206 %endif
207 %endif
207 <li>${h.link_to(_('fork'),h.url('repo_fork_home',repo_name=c.repo_name),class_='fork')}</li>
208 <li>${h.link_to(_('fork'),h.url('repo_fork_home',repo_name=c.repo_name),class_='fork')}</li>
208 <li>${h.link_to(_('search'),h.url('search_repo',search_repo=c.repo_name),class_='search')}</li>
209 <li>${h.link_to(_('search'),h.url('search_repo',search_repo=c.repo_name),class_='search')}</li>
209
210
210 % if h.HasPermissionAll('hg.admin')('access admin main page'):
211 % if h.HasPermissionAll('hg.admin')('access admin main page'):
211 <li>
212 <li>
212 ${h.link_to(_('admin'),h.url('admin_home'),class_='admin')}
213 ${h.link_to(_('admin'),h.url('admin_home'),class_='admin')}
213 <%def name="admin_menu()">
214 <%def name="admin_menu()">
214 <ul>
215 <ul>
215 <li>${h.link_to(_('journal'),h.url('admin_home'),class_='journal')}</li>
216 <li>${h.link_to(_('journal'),h.url('admin_home'),class_='journal')}</li>
216 <li>${h.link_to(_('repositories'),h.url('repos'),class_='repos')}</li>
217 <li>${h.link_to(_('repositories'),h.url('repos'),class_='repos')}</li>
217 <li>${h.link_to(_('repositories groups'),h.url('repos_groups'),class_='repos_groups')}</li>
218 <li>${h.link_to(_('repositories groups'),h.url('repos_groups'),class_='repos_groups')}</li>
218 <li>${h.link_to(_('users'),h.url('users'),class_='users')}</li>
219 <li>${h.link_to(_('users'),h.url('users'),class_='users')}</li>
219 <li>${h.link_to(_('users groups'),h.url('users_groups'),class_='groups')}</li>
220 <li>${h.link_to(_('users groups'),h.url('users_groups'),class_='groups')}</li>
220 <li>${h.link_to(_('permissions'),h.url('edit_permission',id='default'),class_='permissions')}</li>
221 <li>${h.link_to(_('permissions'),h.url('edit_permission',id='default'),class_='permissions')}</li>
221 <li>${h.link_to(_('ldap'),h.url('ldap_home'),class_='ldap')}</li>
222 <li>${h.link_to(_('ldap'),h.url('ldap_home'),class_='ldap')}</li>
222 <li class="last">${h.link_to(_('settings'),h.url('admin_settings'),class_='settings')}</li>
223 <li class="last">${h.link_to(_('settings'),h.url('admin_settings'),class_='settings')}</li>
223 </ul>
224 </ul>
224 </%def>
225 </%def>
225
226
226 ${admin_menu()}
227 ${admin_menu()}
227 </li>
228 </li>
228 % endif
229 % endif
229 </ul>
230 </ul>
230 </li>
231 </li>
231
232
232 <li>
233 <li>
233 <a class="menu_link" title="${_('Followers')}" href="${h.url('repo_followers_home',repo_name=c.repo_name)}">
234 <a class="menu_link" title="${_('Followers')}" href="${h.url('repo_followers_home',repo_name=c.repo_name)}">
234 <span class="icon_short">
235 <span class="icon_short">
235 <img src="${h.url('/images/icons/heart.png')}" alt="${_('Followers')}" />
236 <img src="${h.url('/images/icons/heart.png')}" alt="${_('Followers')}" />
236 </span>
237 </span>
237 <span id="current_followers_count" class="short">${c.repository_followers}</span>
238 <span id="current_followers_count" class="short">${c.repository_followers}</span>
238 </a>
239 </a>
239 </li>
240 </li>
240 <li>
241 <li>
241 <a class="menu_link" title="${_('Forks')}" href="${h.url('repo_forks_home',repo_name=c.repo_name)}">
242 <a class="menu_link" title="${_('Forks')}" href="${h.url('repo_forks_home',repo_name=c.repo_name)}">
242 <span class="icon_short">
243 <span class="icon_short">
243 <img src="${h.url('/images/icons/arrow_divide.png')}" alt="${_('Forks')}" />
244 <img src="${h.url('/images/icons/arrow_divide.png')}" alt="${_('Forks')}" />
244 </span>
245 </span>
245 <span class="short">${c.repository_forks}</span>
246 <span class="short">${c.repository_forks}</span>
246 </a>
247 </a>
247 </li>
248 </li>
248 ${usermenu()}
249 ${usermenu()}
249 </ul>
250 </ul>
250 <script type="text/javascript">
251 <script type="text/javascript">
251 YUE.on('repo_switcher','mouseover',function(){
252 YUE.on('repo_switcher','mouseover',function(){
252 function qfilter(){
253 function qfilter(){
253 var nodes = YUQ('ul#repo_switcher_list li a.repo_name');
254 var nodes = YUQ('ul#repo_switcher_list li a.repo_name');
254 var target = 'q_filter_rs';
255 var target = 'q_filter_rs';
255 var func = function(node){
256 var func = function(node){
256 return node.parentNode;
257 return node.parentNode;
257 }
258 }
258 q_filter(target,nodes,func);
259 q_filter(target,nodes,func);
259 }
260 }
260 var loaded = YUD.hasClass('repo_switcher','loaded');
261 var loaded = YUD.hasClass('repo_switcher','loaded');
261 if(!loaded){
262 if(!loaded){
262 YUD.addClass('repo_switcher','loaded');
263 YUD.addClass('repo_switcher','loaded');
263 ypjax("${h.url('repo_switcher')}",'repo_switcher_list',
264 ypjax("${h.url('repo_switcher')}",'repo_switcher_list',
264 function(o){qfilter();},
265 function(o){qfilter();},
265 function(o){YUD.removeClass('repo_switcher','loaded');}
266 function(o){YUD.removeClass('repo_switcher','loaded');}
266 ,null);
267 ,null);
267 }
268 }
268 return false;
269 return false;
269 });
270 });
270
271
271 YUE.on('branch_tag_switcher','mouseover',function(){
272 YUE.on('branch_tag_switcher','mouseover',function(){
272 var loaded = YUD.hasClass('branch_tag_switcher','loaded');
273 var loaded = YUD.hasClass('branch_tag_switcher','loaded');
273 if(!loaded){
274 if(!loaded){
274 YUD.addClass('branch_tag_switcher','loaded');
275 YUD.addClass('branch_tag_switcher','loaded');
275 ypjax("${h.url('branch_tag_switcher',repo_name=c.repo_name)}",'switch_to_list',
276 ypjax("${h.url('branch_tag_switcher',repo_name=c.repo_name)}",'switch_to_list',
276 function(o){},
277 function(o){},
277 function(o){YUD.removeClass('branch_tag_switcher','loaded');}
278 function(o){YUD.removeClass('branch_tag_switcher','loaded');}
278 ,null);
279 ,null);
279 }
280 }
280 return false;
281 return false;
281 });
282 });
282 </script>
283 </script>
283 %else:
284 %else:
284 ##ROOT MENU
285 ##ROOT MENU
285 <ul id="quick">
286 <ul id="quick">
286 <li>
287 <li>
287 <a class="menu_link" title="${_('Home')}" href="${h.url('home')}">
288 <a class="menu_link" title="${_('Home')}" href="${h.url('home')}">
288 <span class="icon">
289 <span class="icon">
289 <img src="${h.url('/images/icons/home_16.png')}" alt="${_('Home')}" />
290 <img src="${h.url('/images/icons/home_16.png')}" alt="${_('Home')}" />
290 </span>
291 </span>
291 <span>${_('Home')}</span>
292 <span>${_('Home')}</span>
292 </a>
293 </a>
293 </li>
294 </li>
294 %if c.rhodecode_user.username != 'default':
295 %if c.rhodecode_user.username != 'default':
295 <li>
296 <li>
296 <a class="menu_link" title="${_('Journal')}" href="${h.url('journal')}">
297 <a class="menu_link" title="${_('Journal')}" href="${h.url('journal')}">
297 <span class="icon">
298 <span class="icon">
298 <img src="${h.url('/images/icons/book.png')}" alt="${_('Journal')}" />
299 <img src="${h.url('/images/icons/book.png')}" alt="${_('Journal')}" />
299 </span>
300 </span>
300 <span>${_('Journal')}</span>
301 <span>${_('Journal')}</span>
301 </a>
302 </a>
302 </li>
303 </li>
303 %else:
304 %else:
304 <li>
305 <li>
305 <a class="menu_link" title="${_('Public journal')}" href="${h.url('public_journal')}">
306 <a class="menu_link" title="${_('Public journal')}" href="${h.url('public_journal')}">
306 <span class="icon">
307 <span class="icon">
307 <img src="${h.url('/images/icons/book.png')}" alt="${_('Public journal')}" />
308 <img src="${h.url('/images/icons/book.png')}" alt="${_('Public journal')}" />
308 </span>
309 </span>
309 <span>${_('Public journal')}</span>
310 <span>${_('Public journal')}</span>
310 </a>
311 </a>
311 </li>
312 </li>
312 %endif
313 %endif
313 <li>
314 <li>
314 <a class="menu_link" title="${_('Search')}" href="${h.url('search')}">
315 <a class="menu_link" title="${_('Search')}" href="${h.url('search')}">
315 <span class="icon">
316 <span class="icon">
316 <img src="${h.url('/images/icons/search_16.png')}" alt="${_('Search')}" />
317 <img src="${h.url('/images/icons/search_16.png')}" alt="${_('Search')}" />
317 </span>
318 </span>
318 <span>${_('Search')}</span>
319 <span>${_('Search')}</span>
319 </a>
320 </a>
320 </li>
321 </li>
321
322
322 %if h.HasPermissionAll('hg.admin')('access admin main page'):
323 %if h.HasPermissionAll('hg.admin')('access admin main page'):
323 <li ${is_current('admin')}>
324 <li ${is_current('admin')}>
324 <a class="menu_link" title="${_('Admin')}" href="${h.url('admin_home')}">
325 <a class="menu_link" title="${_('Admin')}" href="${h.url('admin_home')}">
325 <span class="icon">
326 <span class="icon">
326 <img src="${h.url('/images/icons/cog_edit.png')}" alt="${_('Admin')}" />
327 <img src="${h.url('/images/icons/cog_edit.png')}" alt="${_('Admin')}" />
327 </span>
328 </span>
328 <span>${_('Admin')}</span>
329 <span>${_('Admin')}</span>
329 </a>
330 </a>
330 ${admin_menu()}
331 ${admin_menu()}
331 </li>
332 </li>
332 %endif
333 %endif
333 ${usermenu()}
334 ${usermenu()}
334 </ul>
335 </ul>
335 %endif
336 %endif
336 </%def>
337 </%def>
General Comments 0
You need to be logged in to leave comments. Login now