From: richard Date: Mon, 30 Jul 2001 01:25:57 +0000 (+0000) Subject: Changes to reflect cgi_client now implementing this template by default, X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2f67ccf5deeda0c06873d055e5886f52afb949b0;p=roundup.git Changes to reflect cgi_client now implementing this template by default, and not "extended". git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@149 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/templates/classic/htmlbase.py b/roundup/templates/classic/htmlbase.py index f88ae71..061d62d 100644 --- a/roundup/templates/classic/htmlbase.py +++ b/roundup/templates/classic/htmlbase.py @@ -2,7 +2,7 @@ # Do Not Edit (Unless You Want To) # This file automagically generated by roundup.htmldata.makeHtmlBase # -fileDOTindex = """ +fileDOTindex = """ @@ -13,7 +13,7 @@ fileDOTindex = """ +issueDOTfilter = """ Title @@ -28,7 +28,7 @@ issueDOTfilter = """ +issueDOTindex = """ "> @@ -51,7 +51,7 @@ issueDOTindex = """ +issueDOTitem = """ @@ -117,7 +117,7 @@ issueDOTitem = """ +msgDOTindex = """ @@ -131,7 +131,7 @@ msgDOTindex = """ +msgDOTitem = """
@@ -378,7 +378,7 @@ th { } """ -userDOTindex = """ +userDOTindex = """ @@ -398,7 +398,7 @@ userDOTindex = """ +userDOTitem = """
diff --git a/roundup/templates/classic/interfaces.py b/roundup/templates/classic/interfaces.py index 9e54e41..d30a66d 100644 --- a/roundup/templates/classic/interfaces.py +++ b/roundup/templates/classic/interfaces.py @@ -1,4 +1,4 @@ -# $Id: interfaces.py,v 1.3 2001-07-29 07:01:39 richard Exp $ +# $Id: interfaces.py,v 1.4 2001-07-30 01:25:57 richard Exp $ import urlparse, os @@ -11,36 +11,6 @@ class Client(cgi_client.Client): ''' TEMPLATES = instance_config.TEMPLATES - default_index_sort = ['-activity'] - default_index_group = ['priority'] - default_index_filter = [] - default_index_columns = ['id','activity','title','status','assignedto'] - default_index_filterspec = {'status': ['1', '2', '3', '4', '5', '6', '7']} - - def pagehead(self, title, message=None): - url = self.env['SCRIPT_NAME'] + '/' #self.env.get('PATH_INFO', '/') - machine = self.env['SERVER_NAME'] - port = self.env['SERVER_PORT'] - if port != '80': machine = machine + ':' + port - base = urlparse.urlunparse(('http', machine, url, None, None, None)) - if message is not None: - message = '
%s
'%message - else: - message = '' - style = open(os.path.join(self.TEMPLATES, 'style.css')).read() - userid = self.db.user.lookup(self.user) - self.write(''' -%s - - - -%s -
- -
%s -(login: %s)
-'''%(title, style, message, title, userid, self.user)) - class MailGW(mailgw.MailGW): ''' derives basic mail gateway implementation from the standard module, with any specific extensions @@ -51,6 +21,9 @@ class MailGW(mailgw.MailGW): # # $Log: not supported by cvs2svn $ +# Revision 1.3 2001/07/29 07:01:39 richard +# Added vim command to all source so that we don't get no steenkin' tabs :) +# # Revision 1.2 2001/07/29 04:07:37 richard # Fixed the classic template so it's more like the "advertised" Roundup # template.