From: richard Date: Sun, 23 Dec 2001 23:18:49 +0000 (+0000) Subject: We already had an admin-specific section of the web heading, no need to add X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a3b7dfae1b42c9cf0684c208ccf539ff23eaf118;p=roundup.git We already had an admin-specific section of the web heading, no need to add another one :) git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@480 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/cgi_client.py b/roundup/cgi_client.py index 5a78b17..b43102a 100644 --- a/roundup/cgi_client.py +++ b/roundup/cgi_client.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: cgi_client.py,v 1.86 2001-12-20 15:43:01 rochecompaan Exp $ +# $Id: cgi_client.py,v 1.87 2001-12-23 23:18:49 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -108,7 +108,8 @@ class Client: user_name = self.user or '' if self.user == 'admin': admin_links = _(' | Class List' \ - ' | User List') + ' | User List' \ + ' | Add User') else: admin_links = '' if self.user not in (None, 'anonymous'): @@ -120,14 +121,7 @@ class Client: else: user_info = _('Login') if self.user is not None: - if self.user == 'admin': - add_links = _(''' -| Add -Issue, -User -''') - else: - add_links = _(''' + add_links = _(''' | Add Issue ''') @@ -1052,7 +1046,8 @@ class ExtendedClient(Client): user_name = self.user or '' if self.user == 'admin': admin_links = _(' | Class List' \ - ' | User List') + ' | User List' \ + ' | Add User') else: admin_links = '' if self.user not in (None, 'anonymous'): @@ -1065,15 +1060,7 @@ class ExtendedClient(Client): else: user_info = _('Login') if self.user is not None: - if self.user == 'admin': - add_links = _(''' -| Add -Issue, -Support, -User -''') - else: - add_links = _(''' + add_links = _(''' | Add Issue, Support, @@ -1176,6 +1163,14 @@ def parsePropsFromForm(db, cl, form, nodeid=0): # # $Log: not supported by cvs2svn $ +# Revision 1.86 2001/12/20 15:43:01 rochecompaan +# Features added: +# . Multilink properties are now displayed as comma separated values in +# a textbox +# . The add user link is now only visible to the admin user +# . Modified the mail gateway to reject submissions from unknown +# addresses if ANONYMOUS_ACCESS is denied +# # Revision 1.85 2001/12/20 06:13:24 rochecompaan # Bugs fixed: # . Exception handling in hyperdb for strings-that-look-like numbers got