diff --git a/indra/newview/llpanelprofileview.cpp b/indra/newview/llpanelprofileview.cpp index bee6ad4e93..c4666f1712 100644 --- a/indra/newview/llpanelprofileview.cpp +++ b/indra/newview/llpanelprofileview.cpp @@ -136,6 +136,8 @@ void LLPanelProfileView::onOpen(const LLSD& key) getChild("display_name")->setValue( LLSD() ); getChild("user_name")->setValue( LLSD() ); getChild("user_key")->setValue( LLSD() ); + //[ADD: FIRE-2266: SJ] Adding link to webprofiles on profile which opens Web Profiles in browser + getChild("web_profile_text")->setValue( LLSD() ); } // Update the avatar name. @@ -281,6 +283,8 @@ void LLPanelProfileView::onAvatarNameCache(const LLUUID& agent_id, getChild("user_name")->setValue( av_name.mUsername ); getChild("user_key")->setValue( agent_id.asString() ); getChild("copy_uri")->setEnabled( true ); + //[ADD: FIRE-2266: SJ] Adding link to webprofiles on profile which opens Web Profiles in browser + getChild("web_profile_text")->setValue( "https://my.secondlife.com/" + av_name.mUsername ); #if 0 getChild("user_name")->setValue( av_name.mDisplayName ); diff --git a/indra/newview/skins/default/xui/en/panel_profile_secondlife.xml b/indra/newview/skins/default/xui/en/panel_profile_secondlife.xml index 40821d8715..32abfe8e0e 100644 --- a/indra/newview/skins/default/xui/en/panel_profile_secondlife.xml +++ b/indra/newview/skins/default/xui/en/panel_profile_secondlife.xml @@ -116,7 +116,7 @@ KC: I used view_border's around text_editor's due to text render issues with bor name="status" text_color="LtGray_50" value="" /> - + + + + + + + + + + + + + + + + + + + + + + + + + + +