This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree 3 files changed +10
-12
lines changed
3 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ limitations under the License.
108
108
display : flex;
109
109
user-select : none;
110
110
111
- &:not ( .mx_RoomHeader_name--textonly ) : hover {
111
+ &:hover {
112
112
background-color : $quinary-content ;
113
113
}
114
114
Original file line number Diff line number Diff line change @@ -743,6 +743,13 @@ export default class RoomHeader extends React.Component<IProps, IState> {
743
743
744
744
const buttons = this . props . showButtons ? this . renderButtons ( isVideoRoom ) : null ;
745
745
746
+ let oobName = _t ( "Join Room" ) ;
747
+ if ( this . props . oobData && this . props . oobData . name ) {
748
+ oobName = this . props . oobData . name ;
749
+ }
750
+
751
+ const name = this . renderName ( oobName ) ;
752
+
746
753
if ( this . props . viewingCall && ! isVideoRoom ) {
747
754
return (
748
755
< header className = "mx_RoomHeader light-panel" >
@@ -752,9 +759,7 @@ export default class RoomHeader extends React.Component<IProps, IState> {
752
759
>
753
760
< div className = "mx_RoomHeader_avatar" > { roomAvatar } </ div >
754
761
{ icon }
755
- < div className = "mx_RoomHeader_name mx_RoomHeader_name--textonly mx_RoomHeader_name--small" >
756
- { _t ( "Video call" ) }
757
- </ div >
762
+ { name }
758
763
{ this . props . activeCall instanceof ElementCall && (
759
764
< GroupCallDuration groupCall = { this . props . activeCall . groupCall } />
760
765
) }
@@ -779,13 +784,6 @@ export default class RoomHeader extends React.Component<IProps, IState> {
779
784
) ;
780
785
}
781
786
782
- let oobName = _t ( "Join Room" ) ;
783
- if ( this . props . oobData && this . props . oobData . name ) {
784
- oobName = this . props . oobData . name ;
785
- }
786
-
787
- const name = this . renderName ( oobName ) ;
788
-
789
787
const topicElement = < RoomTopic room = { this . props . room } className = "mx_RoomHeader_topic" /> ;
790
788
791
789
const viewLabs = ( ) : void =>
Original file line number Diff line number Diff line change 1997
1997
"Close call" : " Close call" ,
1998
1998
"View chat timeline" : " View chat timeline" ,
1999
1999
"Room options" : " Room options" ,
2000
+ "Join Room" : " Join Room" ,
2000
2001
"(~%(count)s results)|other" : " (~%(count)s results)" ,
2001
2002
"(~%(count)s results)|one" : " (~%(count)s result)" ,
2002
- "Join Room" : " Join Room" ,
2003
2003
"Video rooms are a beta feature" : " Video rooms are a beta feature" ,
2004
2004
"Video room" : " Video room" ,
2005
2005
"Public space" : " Public space" ,
You can’t perform that action at this time.
0 commit comments