mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-03 10:14:04 +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")
|
||||
icon.name: "share-ios"
|
||||
enabled: communityData.canManageUsers && adminPopupMenu.showInviteButton
|
||||
objectName: "invitePeople"
|
||||
onTriggered: {
|
||||
Global.openInviteFriendsToCommunityPopup(root.communityData,
|
||||
root.communitySectionModule,
|
||||
@ -276,6 +277,7 @@ Item {
|
||||
text: qsTr("Invite people")
|
||||
icon.name: "share-ios"
|
||||
enabled: communityData.canManageUsers
|
||||
objectName: "invitePeople"
|
||||
onTriggered: {
|
||||
Global.openInviteFriendsToCommunityPopup(root.communityData,
|
||||
root.communitySectionModule,
|
||||
|
@ -114,6 +114,7 @@ StatusListView {
|
||||
moreMenu.close()
|
||||
root.inviteFriends(model)
|
||||
}
|
||||
objectName: "invitePeople"
|
||||
}
|
||||
StatusAction {
|
||||
text: qsTr("Edit Shared Addresses")
|
||||
|
@ -495,6 +495,7 @@ Item {
|
||||
text: qsTr("Invite People")
|
||||
icon.name: "share-ios"
|
||||
enabled: model.canManageUsers
|
||||
objectName: "invitePeople"
|
||||
onTriggered: {
|
||||
popups.openInviteFriendsToCommunityPopup(model,
|
||||
communityContextMenu.chatCommunitySectionModule,
|
||||
|
@ -144,7 +144,7 @@ Control {
|
||||
|
||||
StatusBaseText {
|
||||
Layout.fillWidth: true
|
||||
|
||||
objectName: "communityName"
|
||||
text: d.communityName
|
||||
font.weight: Font.Bold
|
||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||
@ -154,7 +154,7 @@ Control {
|
||||
|
||||
StatusBaseText {
|
||||
Layout.fillWidth: true
|
||||
|
||||
objectName: "communityDescription"
|
||||
text: d.communityDescription
|
||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||
color: Theme.palette.directColor1
|
||||
@ -162,7 +162,7 @@ Control {
|
||||
|
||||
StatusBaseText {
|
||||
Layout.fillWidth: true
|
||||
|
||||
objectName: "communityMembers"
|
||||
text: qsTr("%n member(s)", "", d.communityNbMembers)
|
||||
font.pixelSize: 13
|
||||
font.weight: Font.Medium
|
||||
|
Loading…
x
Reference in New Issue
Block a user