Ignore:
Timestamp:
07/05/10 14:51:56 (23 months ago)
Author:
dart
Message:

LoReality?:
o CSS custo
o Begin i18n
o Fill some new fields in mission
o Fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loreality/loreality/controllers/main.py

    r2097 r2105  
    1010from authkit.authorize.pylons_adaptors import authorize 
    1111from authkit.permissions import RemoteUser, ValidAuthKitUser, UserIn 
     12from pylons.i18n.translation import _, ungettext 
     13 
    1214 
    1315log = logging.getLogger(__name__) 
     
    1618 
    1719    def index(self): 
    18         c.title = "LoReality" 
    19         c.heading = "Welcome" 
    20         c.content = "It is here" 
    21         return  render('/derived/page/view.html') 
     20        c.title = _("Welcome") 
     21        c.heading = "LoReality" 
     22        c.content = _(""" 
     23<h1>Welcome</h1> 
     24<p>Welcome to LoReality server. This tool will help you to make a new step in the Lockon Reality by managing a real dynamic campaign. 
     25        """) 
     26        return  render('/derived/page/main.html') 
Note: See TracChangeset for help on using the changeset viewer.