Display realname on Admin:Create confirmation page

Plazmus - April 30, 2009 - 20:49
Project:Organic groups
Version:6.x-2.x-dev
Component:og.module
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I use realname module and username is replaced almost everywhere I just found two places where isn't and was just wondering whether it was done on purpose or just slipped through unspotted ?

From og.module :

line 790  t('Are you sure you want to make %name a group administrator for the group %title?', array('%name' => $account->name, '%title' => $node->title)),
.
.
line 830  t('Are you sure you want to remove %name as a group administrator for the group %title?', array('%name' => $account->name, '%title' => $node->title)),

I see that on other confirmation page you are using theme('username'... which works great with realname module.

line 1095  t('Are you sure you want to remove !name from the group %title?', array('!name' => theme('username', $account), '%title' => $group_node->title)),

Cheers

#1

dereine - April 30, 2009 - 22:22
Category:task» support request
Status:active» needs review

here is a short patch which does exact this

AttachmentSize
og-450050.patch 1003 bytes

#2

Plazmus - June 9, 2009 - 20:10

I checked latest version and there is still issue with displaying realname, can you please apply included patch.

Thanks

AttachmentSize
og_realname.patch 1.33 KB

#3

moshe weitzman - June 10, 2009 - 01:07
Status:needs review» fixed

Committed.

#4

System Message - June 24, 2009 - 01:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.