Comments

yeputons’s picture

Status: Active » Needs review
StatusFileSize
new1.14 KB

Patch is attached.

joachim’s picture

Lol. I made a patch too, but didn't have time to upload it yesterday... :)

Only differs from yours in the #description. Will commit this soon.

joachim’s picture

Here's my version of the patch.

Will commit when I'm on a better connection :)

yeputons’s picture

I think that your patch is better because it checks user's permissions and uses #value instead of #default_value. Also it has more complete description. But I think that we need to use my version of #description because it's more "core-like". Another thing I want to change is correct the second part of description.
So my suggestions are:

+  $description = t('Whether this vocabulary is applied to users.');

to

+  $description = t('Checked if users can be categorized using this vocabulary.')

and

+    $description .= ' ' . t('You may edit this in the <a href="@url">user terms</a> settings.', array(

to

+    $description .= ' ' . t('It can be edited at the <a href="@url">user terms settings page.</a>', array(
joachim’s picture

Status: Needs review » Fixed
StatusFileSize
new1.38 KB

Good call.

I've adapted your change to the second line slightly:

$description .= ' ' . t('This can be edited on the user terms settings page.', array(

Committed this patch.

#856234 by yeputons, joachim: Added indication on vocab admin form that a vocab is applied to users.

Status: Fixed » Closed (fixed)

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