The link for adding a new address at the bottom of the address overview page has no class associated with it. Since this link is also not in any other way (reliably) recognizable, this makes it impossible to style it (to make it look more like a button, say).

To fix this, a class needs to be added. Could this be implemented?


--- uc_addresses.module	(revision 1212)
+++ uc_addresses.module	(working copy)
@@ -700,7 +700,7 @@
   // on whether the current user can edit the addresses
 
   if (user_access(UC_ADDRESSES_ACCESS_ADD_EDIT) || $user->uid == $uid) {
-    $link = l(t('Add a new address'), 'user/'. $uid .'/addresses/add');
+    $link = l(t('Add a new address'), 'user/'. $uid .'/addresses/add', array('attributes' => array('class' => 'add-address-link')));
     $output .= $link;
   }

Comments

megachriz’s picture

Version: 6.x-1.0 » 6.x-2.x-dev
Component: Code » Address book
Status: Needs review » Fixed

This has been fixed in 6.x-2.x-dev.

rhmtts’s picture

Thanks!

Status: Fixed » Closed (fixed)

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