Ignore:
Timestamp:
07/12/10 14:48:12 (23 months ago)
Author:
dart
Message:

LoReality?:
o Messager is working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loreality/loreality/templates/derived/page/messager.html

    r2108 r2109  
    33<h2>Messager</h2> 
    44% for message in c.messages: 
     5% if message.id == c.message_open: 
     6<div class="message_open"> 
     7% else: 
    58<div class="message"> 
    6     <span class="from">${message.from_}</span> 
    7     <span class="date">${message.date}</span> 
    8     <span class="title">${message.title}</span> 
     9% endif 
     10% if message.id == c.message_open: 
     11<span><a href=${h.url_for(controller='messager', action='index',id=message.id) } class="action">${h.msg.get_from(message)} | ${message.date.strftime("%c")}  <span id="subject">${message.subject}</span></a></span> 
     12    <div id="text">${message.text}</div> 
     13    <a href=${h.url_for(controller='messager', action='create',id=message.id) } class="action">[Reply]</a> 
     14% else: 
     15<span><a href=${h.url_for(controller='messager', action='open',id=message.id) } class="action">${h.msg.get_from(message)} | ${message.date.strftime("%c")} | <span id="subject"> ${message.subject}</span></a></span> 
     16% endif 
     17    <a href=${h.url_for(controller='messager', action='delete',id=message.id) } class="action">[Delete]</a> 
    918</div> 
     19<br/> 
    1020% endfor 
     21 
     22<a href=${h.url_for(controller='messager', action='create', id=None)}>[New message]</a> 
     23 
Note: See TracChangeset for help on using the changeset viewer.