summaryrefslogtreecommitdiff
path: root/indra/llui/llurlentry.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-05-20 14:15:27 -0700
committerJames Cook <james@lindenlab.com>2010-05-20 14:15:27 -0700
commit0df5c0e879ef05116565a79cdf344de5c45ee19b (patch)
treeddb93550cd854a0ce9f2de765ab84b04aa86c7c5 /indra/llui/llurlentry.cpp
parent6e22cb75b434aa551d5b6133f505a629c397a93e (diff)
DEV-50013 Tooltip for SLAPP agent inspect links
Reviewed with Erica (language) / Leyla (code)
Diffstat (limited to 'indra/llui/llurlentry.cpp')
-rw-r--r--indra/llui/llurlentry.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp
index aeb02aef1c..36b644484d 100644
--- a/indra/llui/llurlentry.cpp
+++ b/indra/llui/llurlentry.cpp
@@ -366,6 +366,10 @@ std::string LLUrlEntryAgent::getTooltip(const std::string &string) const
// return a tooltip corresponding to the URL type instead of the generic one
std::string url = getUrl(string);
+ if (LLStringUtil::endsWith(url, "/inspect"))
+ {
+ return LLTrans::getString("TooltipAgentInspect");
+ }
if (LLStringUtil::endsWith(url, "/mute"))
{
return LLTrans::getString("TooltipAgentMute");