Opened 8 years ago

Closed 8 years ago

#7418 closed defect (fixed)

[Patch] Duplicate Announcement tabs in preferences page

Reported by: Tom Owned by: Robert Corsaro
Priority: low Component: AnnouncerPlugin
Severity: normal Keywords: patch
Cc: Trac Release: 0.12


After installing theAnnounerPlugin there are two tabs in the user preferences page: Announcements and Exp.Announcements which render identically. The point to prefs/announcer and prefs/exp-announcer respectively.

What is the difference between these two pages? Is there a way to remove one of them as it's a bit confusing for the users.

For reference, I'm using trac 0.12 on centOS 5.5 and I installed trunk of Announcer this morning, via:

easy_install --always-unzip
trac-admin /var/www/trac/pph upgrade
/etc/init.d/httpd restart

I'm also using the FullBlogPlugin with the [fullblog-announcement] Announcer plugin:

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by pipern

Keywords: patch added
Summary: Duplicate Announcement tabs in preferences page[Patch] Duplicate Announcement tabs in preferences page

We fixed it like this:

  • announcerplugin/announcer/

    a b class AnnouncerPreferences(Component): 
    6161    def get_preference_panels(self, req):
    6262        yield ('announcer', _('Announcements'))
    63         yield ('exp-announcer', 'Exp.Announcements')
    6564    def _get_boxes(self, req):
    6665        for pr in self.preference_boxes:

comment:2 Changed 8 years ago by Steffen Hoffmann

Resolution: fixed
Status: newclosed

Why? Maybe we'll never know. I've seen this independently of your report, but thanks anyway for taking care and reporting it here.

This has been fixed by removing the additional entry as suggested here in changeset [8336].

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Robert Corsaro.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.