If, after removing all administrative tabs, only a single tab is left, that one should be removed too.

Comments

tanc’s picture

Agreed, having the View tab left behind looks a bit weird. Shouldn't they all be moved into the contextual menu? Or disable the view tab.

casey’s picture

Status: Active » Needs review
StatusFileSize
new5.63 KB

Patch for this issue + including administrative local actions + some cleanup

Let me know if you want separate patches/issues.

btw, I would like to become co-maintainer.

Christopher Riley’s picture

Doesn't work cleanly with the latest dev however as useful as this could be I would like to see if actually updated.

Matthew Davidson’s picture

Title: Hide single tabs » Hide single tabs / Local actions
StatusFileSize
new7.22 KB

Whoops, sorry for missing this for er... four months. Yes, I think I need a co-maintainer.

Like the patch, but I generally prefer to keep local actions pretty conspicuous, so I've made it configurable. This version retains your changes but makes shifting only local tasks, only local actions, or both possible. What do you think?

Matthew Davidson’s picture

Status: Needs review » Fixed

Just committed, because I've got a free afternoon and don't know when I will again.

casey’s picture

Thanks!

You committed to the master branch instead of 7.x-1.x. I've merged the master branch into 7.x-1.x and emptied the master branch afterwards.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.