summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en
diff options
context:
space:
mode:
authorAlexanderP ProductEngine <apaschenko@productengine.com>2013-04-03 20:39:35 +0300
committerAlexanderP ProductEngine <apaschenko@productengine.com>2013-04-03 20:39:35 +0300
commit2d7a09839ea75bf8b87220f5585e5d6fd2a11d72 (patch)
tree8f9afeb67d306591adbe9b9c5fb6b1f5936c5117 /indra/newview/skins/default/xui/en
parent7b0c364a6bfc3dc47197d1bb0af025b303ef5079 (diff)
CHUI-841 FIXED No warning given that you cannot leave a group you are the last owner of in conversation floater and people floater
Added check in LLGroupActions::leave() method for number of members in the group and whether avatar is the owner. Also added LLFetchGroupMemberData class which sends and handles async request for group member data and used in the above method.
Diffstat (limited to 'indra/newview/skins/default/xui/en')
-rw-r--r--indra/newview/skins/default/xui/en/notifications.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml
index 105bef7321..49e2ddfb14 100644
--- a/indra/newview/skins/default/xui/en/notifications.xml
+++ b/indra/newview/skins/default/xui/en/notifications.xml
@@ -3649,6 +3649,17 @@ Leave Group?
</notification>
<notification
+ icon="alertmodal.tga"
+ name="OwnerCannotLeaveGroup"
+ type="alertmodal">
+ Unable to leave group. You cannot leave the group because you are the last owner of the group. Please assign another member to the owner role first.
+ <tag>group</tag>
+ <usetemplate
+ name="okbutton"
+ yestext="OK"/>
+ </notification>
+
+ <notification
icon="alert.tga"
name="ConfirmKick"
type="alert">