Ticket #1657 (closed defect (bug): fixed)

Opened 6 years ago

Last modified 5 years ago

"Edit" link next to plugins

Reported by: markjaquith Owned by: markjaquith
Priority: normal Milestone: 2.1
Component: Administration Version: 2.0.4
Severity: normal Keywords: bg|has-patch bg|commit bg|squashed
Cc:

Description

Having an "Edit" link next to each plugin on the main plugin list would save time, and not take up much screen real estate. It should probably go right next to the activate/deactivate button, as it is also an "Action"

Attachments

plugins-edit.diff Download (2.1 KB) - added by davidhouse 6 years ago.
1.6 diff
1657.diff Download (2.3 KB) - added by davidhouse 6 years ago.
edit_plugins_refresh.diff Download (2.6 KB) - added by markjaquith 5 years ago.
Fresh patch for /trunk/ ... old one had rotted
edit_plugins.diff Download (2.7 KB) - added by markjaquith 5 years ago.
Better patch

Change History

1.6 diff

  • Keywords bg|has-patch bg|commit added
  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned
  • Milestone set to 1.6

Looks good, thanks!

  • Keywords bg|squashed added

Works for me!

comment:3   matt6 years ago

Can this check if the file is writable and if the user has edit plugin caps?

comment:4   matt6 years ago

  • Milestone changed from 1.6 to 2.1

Yes it can! Uses is_writable() so may cause safe_mode funkyness.

Fresh patch for /trunk/ ... old one had rotted

  • Version changed from 1.6 to 2.0.4

Fresh plugin updated. Still checks writability and permissions.

I still like this for 2.1

Better patch

Better patch doesn't show the second column if the user can't edit. Prevents $edit from leaking from one row to the next.

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

(In [4313]) edit link next to each plugin. Props David House. fixes #1657

Note: See TracTickets for help on using tickets.