Drupal 7 core has settled on using "action" links for "Add a new one of these". Compare the Flag and Content admin screens:

Add link embedded in help text, not as action link

I'm used to looking in the upper-left for this navigation, so I missed where to create a flag at first.

CommentFileSizeAuthor
#1 add-as-local-action.diff1.59 KBmooffie

Comments

mooffie’s picture

Category: feature » task
Status: Active » Needs review
StatusFileSize
new1.59 KB

Here's the patch.

- Should I do "Add new flag" instead of "Add a new flag"? (I see the convention is not to use articles... "add vocabulary").
- hook_help() it used so the help appears above the link, as in other places in Drupal. Will be backported to D6.
- It's a pity we don't have an brief introductory sentence ("Flags are ...") to precede "This page lists ..." but I couldn't think of any.

mooffie’s picture

Nate? Are you ok with this patch?

quicksketch’s picture

Status: Needs review » Reviewed & tested by the community

Yep, looks good to me.

mooffie’s picture

Version: 7.x-2.0-beta3 » 7.x-2.x-dev
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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