Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
mailman
mailman-SuSE2.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mailman-SuSE2.patch of Package mailman
--- Mailman/Cgi/admin.py +++ Mailman/Cgi/admin.py @@ -474,9 +474,16 @@ _('Edit the public HTML pages'))) otherlinks.AddItem(Link(mlist.GetScriptURL('editarch'), _('Edit the list archives'))) - otherlinks.AddItem(Link(mlist.GetBaseArchiveURL(), + + if not mlist.archive or not mlist.archive_private: + otherlinks.AddItem(Link('http://mailman.suse.de/mlarch/SuSE/' + mlist.real_name, + _('Go to list archives')).Format() + + '<br> <br>') + else: + otherlinks.AddItem(Link(mlist.GetBaseArchiveURL(), _('Go to list archives')).Format() + '<br> <br>') + # We do not allow through-the-web deletion of the site list! if mm_cfg.OWNERS_CAN_DELETE_THEIR_OWN_LISTS and \ mlist.internal_name() <> mm_cfg.MAILMAN_SITE_LIST: --- Mailman/Cgi/listinfo.py +++ Mailman/Cgi/listinfo.py @@ -218,6 +218,10 @@ replacements = mlist.GetStandardReplacements(lang) + if not mlist.archive or not mlist.archive_private: + replacements['<mm-archive>'] = '<a href="http://mailman.suse.de/mlarch/SuSE/' + mlist.real_name + '">' + replacements['</mm-archive>'] = '</a>' + if not mlist.digestable or not mlist.nondigestable: replacements['<mm-digest-radio-button>'] = "" replacements['<mm-undigest-radio-button>'] = ""
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor