mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-17 13:15:46 +02:00
swarmdetailspanel: minor improvements
+ do not show "Add a description" if not admin + Rename "About" in "Settings" Change-Id: Ib83143c2cb97d035c4834042173b06f242a63730
This commit is contained in:
parent
933cce8cef
commit
68c3e3ea18
3 changed files with 6 additions and 5 deletions
|
@ -526,7 +526,7 @@ Item {
|
||||||
property string generalKeyboardShortcuts: qsTr("General")
|
property string generalKeyboardShortcuts: qsTr("General")
|
||||||
property string conversationKeyboardShortcuts: qsTr("Conversation")
|
property string conversationKeyboardShortcuts: qsTr("Conversation")
|
||||||
property string callKeyboardShortcuts: qsTr("Call")
|
property string callKeyboardShortcuts: qsTr("Call")
|
||||||
property string settingsKeyboardShortcuts: qsTr("Settings")
|
property string settings: qsTr("Settings")
|
||||||
property string openAccountList: qsTr("Open account list")
|
property string openAccountList: qsTr("Open account list")
|
||||||
property string focusConversationsList: qsTr("Focus conversations list")
|
property string focusConversationsList: qsTr("Focus conversations list")
|
||||||
property string requestsList: qsTr("Requests list")
|
property string requestsList: qsTr("Requests list")
|
||||||
|
|
|
@ -196,7 +196,7 @@ Window {
|
||||||
case 2:
|
case 2:
|
||||||
return JamiStrings.callKeyboardShortcuts
|
return JamiStrings.callKeyboardShortcuts
|
||||||
case 3:
|
case 3:
|
||||||
return JamiStrings.settingsKeyboardShortcuts
|
return JamiStrings.settings
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -133,6 +133,7 @@ Rectangle {
|
||||||
|
|
||||||
text: CurrentConversation.description
|
text: CurrentConversation.description
|
||||||
readOnly: !root.isAdmin
|
readOnly: !root.isAdmin
|
||||||
|
visible: root.isAdmin || text.length > 0
|
||||||
placeholderText: JamiStrings.addADescription
|
placeholderText: JamiStrings.addADescription
|
||||||
placeholderTextColor: {
|
placeholderTextColor: {
|
||||||
if (editable) {
|
if (editable) {
|
||||||
|
@ -173,10 +174,10 @@ Rectangle {
|
||||||
}
|
}
|
||||||
|
|
||||||
Layout.preferredWidth: root.width
|
Layout.preferredWidth: root.width
|
||||||
Layout.preferredHeight: aboutTabButton.height
|
Layout.preferredHeight: settingsTabButton.height
|
||||||
|
|
||||||
FilterTabButton {
|
FilterTabButton {
|
||||||
id: aboutTabButton
|
id: settingsTabButton
|
||||||
backgroundColor: CurrentConversation.color
|
backgroundColor: CurrentConversation.color
|
||||||
hoverColor: CurrentConversation.color
|
hoverColor: CurrentConversation.color
|
||||||
borderWidth: 4
|
borderWidth: 4
|
||||||
|
@ -190,7 +191,7 @@ Rectangle {
|
||||||
JamiTheme.chatviewTextColorDark
|
JamiTheme.chatviewTextColorDark
|
||||||
|
|
||||||
down: tabBar.currentIndex === 0
|
down: tabBar.currentIndex === 0
|
||||||
labelText: JamiStrings.about
|
labelText: JamiStrings.settings
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue