This repository was archived by the owner on May 16, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ <h3 class="margin0 marginTop25"><%= polyglot.t('Discover') %></h3>
6969< div class ="js-navProfileMenu popMenu popMenu-navBar ">
7070 < div class ="popMenu-navBarSubMenu popMenu-navBarSubMenu-pageNav ">
7171 < a class ="js-serverSubmenuTrigger ">
72- < div class ="noOverflow inlineBlock " style ="max-width: 171px "> < %= ob.handle || ob.guid %> </ div >
72+ < div class ="noOverflow inlineBlock " style ="max-width: 171px "> < %= ob.connectedServer.name %> </ div >
7373 < span class ="pull-right txt-muted ion-arrow-right-b positionRelative " style ="top: 4px "> </ span >
7474 </ a >
7575 < a href ="#userPage ">
Original file line number Diff line number Diff line change @@ -256,7 +256,11 @@ module.exports = baseVw.extend({
256256 this . model . set ( 'avatar_hash' , this . userProfile . get ( 'profile' ) . avatar_hash ) ;
257257 this . model . set ( 'version' , pjson . version ) ;
258258 loadTemplate ( './js/templates/pageNav.html' , function ( loadedTemplate ) {
259- self . $el . html ( loadedTemplate ( self . model . toJSON ( ) ) ) ;
259+ var connectedServer = app . serverConnectModal . getConnectedServer ( ) ;
260+
261+ self . $el . html ( loadedTemplate (
262+ __ . extend ( self . model . toJSON ( ) , { connectedServer : connectedServer && connectedServer . toJSON ( ) } )
263+ ) ) ;
260264
261265 self . $notifMenu = self . $ ( '.js-navNotificationsMenu' ) ;
262266 self . $navNotif = self . $ ( '.js-navNotifications' ) ;
You can’t perform that action at this time.
0 commit comments