Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Fix for Community App Issue #2771 MSFT-54 Page Title #263

Merged
merged 1 commit into from
Jul 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/app-config.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ config = (

states['MEMBER_LOGIN'] =
url: '/member?retUrl&handle&password&return_to&client_id&response_type&state&redirect_uri&scope'
title: 'Login'
controller : 'TCLoginController as vm'
template: require('./views/tc/login')()
public: true
Expand All @@ -87,6 +88,7 @@ config = (
# message : (optional) A message handed by Identity Service when some error occurs
states['MEMBER_REGISTRATION'] =
url: '/member/registration?retUrl&utm_source&utm_medium&utm_campaign&userJWTToken&auth0Jwt&auth0Refresh&message'
title: 'Register'
params: { 'auth0Data', 'regForm' }
controller : 'TCRegistrationController as vm'
template: require('./views/tc/register.jade')()
Expand Down
2 changes: 2 additions & 0 deletions app/app-run.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ run = ($log, $rootScope, $state, $urlRouter, $location) ->

# hide common footer and banner for connect pages to allow new styled footer for connect
$rootScope.hideCommonFooter = toState.url && toState.url.indexOf('/connect') != -1
# page title
$rootScope.pageTitle = toState.title
path = $location.path()
queryString = ''
referrer = ''
Expand Down
2 changes: 1 addition & 1 deletion app/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ html(ng-app='accounts')
meta(http-equiv='X-UA-Compatible', content='IE=edge, chrome=1')
meta(name='viewport', content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no')
base(href='/')
title Login | Topcoder
title(ng-bind="pageTitle ? pageTitle + ' | Topcoder' : 'Topcoder'")
style.
.ng-hide {
display: none !important;
Expand Down