Opened 6 years ago

Closed 6 years ago

#7418 closed defect (fixed)

[Patch] Duplicate Announcement tabs in preferences page

Reported by: tfotherby Owned by: doki_pen
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 6 years ago by pipern

  • Keywords patch added
  • Summary changed from Duplicate Announcement tabs in preferences page to [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 6 years ago by hasienda

  • Resolution set to fixed
  • Status changed from new to closed

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].

Add Comment

Modify Ticket

as closed The owner will remain doki_pen.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.