mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-03 18:25:33 +00:00
Test(Community) Object names added (#12127)
This commit is contained in:
parent
93a69893d9
commit
29665956f1
@ -197,6 +197,7 @@ Item {
|
|||||||
text: qsTr("Invite people")
|
text: qsTr("Invite people")
|
||||||
icon.name: "share-ios"
|
icon.name: "share-ios"
|
||||||
enabled: communityData.canManageUsers && adminPopupMenu.showInviteButton
|
enabled: communityData.canManageUsers && adminPopupMenu.showInviteButton
|
||||||
|
objectName: "invitePeople"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
Global.openInviteFriendsToCommunityPopup(root.communityData,
|
Global.openInviteFriendsToCommunityPopup(root.communityData,
|
||||||
root.communitySectionModule,
|
root.communitySectionModule,
|
||||||
@ -276,6 +277,7 @@ Item {
|
|||||||
text: qsTr("Invite people")
|
text: qsTr("Invite people")
|
||||||
icon.name: "share-ios"
|
icon.name: "share-ios"
|
||||||
enabled: communityData.canManageUsers
|
enabled: communityData.canManageUsers
|
||||||
|
objectName: "invitePeople"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
Global.openInviteFriendsToCommunityPopup(root.communityData,
|
Global.openInviteFriendsToCommunityPopup(root.communityData,
|
||||||
root.communitySectionModule,
|
root.communitySectionModule,
|
||||||
|
@ -114,6 +114,7 @@ StatusListView {
|
|||||||
moreMenu.close()
|
moreMenu.close()
|
||||||
root.inviteFriends(model)
|
root.inviteFriends(model)
|
||||||
}
|
}
|
||||||
|
objectName: "invitePeople"
|
||||||
}
|
}
|
||||||
StatusAction {
|
StatusAction {
|
||||||
text: qsTr("Edit Shared Addresses")
|
text: qsTr("Edit Shared Addresses")
|
||||||
|
@ -495,6 +495,7 @@ Item {
|
|||||||
text: qsTr("Invite People")
|
text: qsTr("Invite People")
|
||||||
icon.name: "share-ios"
|
icon.name: "share-ios"
|
||||||
enabled: model.canManageUsers
|
enabled: model.canManageUsers
|
||||||
|
objectName: "invitePeople"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
popups.openInviteFriendsToCommunityPopup(model,
|
popups.openInviteFriendsToCommunityPopup(model,
|
||||||
communityContextMenu.chatCommunitySectionModule,
|
communityContextMenu.chatCommunitySectionModule,
|
||||||
|
@ -144,7 +144,7 @@ Control {
|
|||||||
|
|
||||||
StatusBaseText {
|
StatusBaseText {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
objectName: "communityName"
|
||||||
text: d.communityName
|
text: d.communityName
|
||||||
font.weight: Font.Bold
|
font.weight: Font.Bold
|
||||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||||
@ -154,7 +154,7 @@ Control {
|
|||||||
|
|
||||||
StatusBaseText {
|
StatusBaseText {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
objectName: "communityDescription"
|
||||||
text: d.communityDescription
|
text: d.communityDescription
|
||||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||||
color: Theme.palette.directColor1
|
color: Theme.palette.directColor1
|
||||||
@ -162,7 +162,7 @@ Control {
|
|||||||
|
|
||||||
StatusBaseText {
|
StatusBaseText {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
objectName: "communityMembers"
|
||||||
text: qsTr("%n member(s)", "", d.communityNbMembers)
|
text: qsTr("%n member(s)", "", d.communityNbMembers)
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
|
Loading…
x
Reference in New Issue
Block a user