Changeset 2112 for trunk/loreality/loreality/templates/base/index.html
- Timestamp:
- 07/15/10 14:51:39 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/loreality/loreality/templates/base/index.html
r2111 r2112 12 12 ${ h.stylesheet_link( '/style.css') } 13 13 ${ h.javascript_link( '/dojo/dojo/dojo.js', djConfig="parseOnLoad: true") } 14 <script type="text/javascript"> 15 // Load Dojo's code relating to the Button widget 16 dojo.require("dijit.form.Button"); 17 dojo.require("dojo.fx"); 18 dojo.require("dojo.html"); 19 </script> 20 14 21 <title>${self.title()}</title> 15 22 ${self.head()} … … 24 31 % if h.auth.authorized(h.auth.is_valid_user) and not (request.urlvars['controller'] == 'account' and request.urlvars['action'] == 'signout'): 25 32 <div id="message_box"> 26 You have <a href="${h.url_for(controller='messager', action='index')}">${ h.msg.nb_messages(request.environ['REMOTE_USER'])} new messages</a>.33 You have <a href="${h.url_for(controller='messager', action='index')}">${self.messages_unread()} new messages</a>. 27 34 </div> 28 35 % endif … … 63 70 % endif 64 71 </%def> 72 73 <%def name="messages_unread()"> 74 <span id="nb_msg_unread">${h.msg.nb_messages(request.environ['REMOTE_USER'])}</span> 75 </%def>
Note: See TracChangeset
for help on using the changeset viewer.
