~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to lib/conf/apps.py

  • Committer: mattgiuca
  • Date: 2008-02-14 03:58:43 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:458
Added "tos" as an app. This app simply displays the Terms of Service
statically, as a reference for already-logged-in users.
There is now a sample license text (www/apps/tos/license).
The "Help" app has a special link to the TOS app.
login: Displays the license text on the TOS page for login-first-time users.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
                    name = "Debug Information",
99
99
                    requireauth = False,
100
100
                    hashelp = False)
101
 
                    
 
101
 
102
102
app_forum = App(dir = "forum",
103
103
                    name = "Forum",
104
104
                    icon = "forum.png",
105
105
                    requireauth = True,
106
106
                    hashelp = False)
107
107
 
 
108
app_tos = App(dir = "tos",
 
109
                    name = "Terms of Service",
 
110
                    requireauth = False,
 
111
                    hashelp = False)
 
112
 
108
113
# Mapping URL names to apps
109
114
 
110
115
app_url = {
118
123
    "serve" : app_server,
119
124
    "download" : app_download,
120
125
    "help" : app_help,
121
 
    "forum" : app_forum
 
126
    "forum" : app_forum,
 
127
    "tos" : app_tos,
122
128
}
123
129
if enable_debuginfo:
124
130
    app_url["debuginfo"] = app_debuginfo