Currently I see all active domains in the domainqueue tabs. However, when I view a node that is only published in one domain, there is no point in seeing all the other domain tabs.
When the list of domains is larger than 2, this adds a lot of clutter.

I tried a trivial patch for this, but could not get around Drupal menu caching. The patch I tried (which *does not work*) is to replace the function domain_bonus_nodequeue_tab_domains() as follows:

function domain_bonus_nodequeue_tab_domains() {
  $domains[] = domain_get_domain();
  return $domains;
}

Comments

awolfey’s picture

This sounds like another configuration option. In my use case the editors might want to switch to another domain's tab without having to go find a node that is published to that domain.

I'll see what I can work up.