mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-13 03:55:23 +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 conversationKeyboardShortcuts: qsTr("Conversation")
|
||||
property string callKeyboardShortcuts: qsTr("Call")
|
||||
property string settingsKeyboardShortcuts: qsTr("Settings")
|
||||
property string settings: qsTr("Settings")
|
||||
property string openAccountList: qsTr("Open account list")
|
||||
property string focusConversationsList: qsTr("Focus conversations list")
|
||||
property string requestsList: qsTr("Requests list")
|
||||
|
|
|
@ -196,7 +196,7 @@ Window {
|
|||
case 2:
|
||||
return JamiStrings.callKeyboardShortcuts
|
||||
case 3:
|
||||
return JamiStrings.settingsKeyboardShortcuts
|
||||
return JamiStrings.settings
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -133,6 +133,7 @@ Rectangle {
|
|||
|
||||
text: CurrentConversation.description
|
||||
readOnly: !root.isAdmin
|
||||
visible: root.isAdmin || text.length > 0
|
||||
placeholderText: JamiStrings.addADescription
|
||||
placeholderTextColor: {
|
||||
if (editable) {
|
||||
|
@ -173,10 +174,10 @@ Rectangle {
|
|||
}
|
||||
|
||||
Layout.preferredWidth: root.width
|
||||
Layout.preferredHeight: aboutTabButton.height
|
||||
Layout.preferredHeight: settingsTabButton.height
|
||||
|
||||
FilterTabButton {
|
||||
id: aboutTabButton
|
||||
id: settingsTabButton
|
||||
backgroundColor: CurrentConversation.color
|
||||
hoverColor: CurrentConversation.color
|
||||
borderWidth: 4
|
||||
|
@ -190,7 +191,7 @@ Rectangle {
|
|||
JamiTheme.chatviewTextColorDark
|
||||
|
||||
down: tabBar.currentIndex === 0
|
||||
labelText: JamiStrings.about
|
||||
labelText: JamiStrings.settings
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue