Modify

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#278 closed defect (fixed)

Webadmin page should have the default values in the fields

Reported by: Alec Thomas Owned by: John Hampton
Priority: low Component: TracBlogPlugin
Severity: minor Keywords:
Cc: Trac Release: 0.10

Description

The fields are empty by default, it'd be nice if they were populated with default values.

Also, some indication of the format of the various fields (date and page in particular) would be good. I assume it's strftime format, but your average Joe may not.

Attachments (0)

Change History (3)

comment:1 Changed 19 years ago by Alec Thomas

Further to this, if you don't put any values in the "days" an exception will occur. The offending line is in source:tracblogplugin/0.10/blog/web_ui.py:

        history_days = int(self.env.config.get('blog', 'history_days', 30))

Should probably be:

        history_days = int(self.env.config.get('blog', 'history_days') or 30)

comment:2 Changed 19 years ago by John Hampton

Status: newassigned
Trac Release: 0.10

Fields are now filled in with the default value if a separate value hasn't been set ([601], [602]). The bug with history_days is also fixed in [607].

Please test and close the bug if all seems well.

comment:3 Changed 19 years ago by John Hampton

Resolution: fixed
Status: assignedclosed

with the blessing of the almighty alect, I hereby declare this ticket closed.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain John Hampton.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.