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

Commit b226de8

Browse files
author
Nick Litwin
committed
Show assembly instead of assembly competition
1 parent f34254c commit b226de8

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

app/directives/page-state-header/page-state-header.directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
angular.module('tcUIComponents').directive('pageStateHeader', function() {
55
return {
66
restrict: 'E',
7-
templateUrl: 'directives/page-state-header/page-state-header.directive.html',
7+
templateUrl: 'directives/page-state-header/page-state-header.html',
88
transclude: true,
99
scope: {
1010
handle: '@',

app/directives/page-state-header/page-state-header.directive.jade renamed to app/directives/page-state-header/page-state-header.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.page-state-header
22
header
33
.page-info
4-
h1 {{pageTitle}}
4+
h1 {{pageTitle | track}}
55

66
div(ng-transclude)
77

app/filters/track.filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
var map = {
1111
'UI_PROTOTYPE_COMPETITION': 'UI Prototype Competition',
12-
'ASSEMBLY_COMPETITION': 'ASSEMBLY',
12+
'ASSEMBLY_COMPETITION': 'Assembly',
1313
'RIA_BUILD_COMPETITION': 'RIA Build Competition',
1414
'RIA_COMPONENT_COMPETITION': 'RIA Component Competition',
1515
'DEVELOP_MARATHON_MATCH': 'Marathon Match',

app/profile/subtrack/subtrack.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
vm.back = back;
2626
vm.subTrackStats = [];
2727

28-
vm.pageName = vm.subTrack.toLowerCase().replace(/_/g, ' ');
28+
vm.pageName = vm.subTrack;
2929

3030
vm.tabs = ['statistics'];
3131

app/profile/subtrack/subtrack.jade

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.profile-subtrack-container(ng-cloak, ng-show="profileVm.status.stats === 'ready'")
2-
.content
2+
.content
33
.page-header
44
page-state-header(handle="{{vm.userHandle}}", page-title="{{vm.pageName}}", hide-money="true", show-back-link="true", default-state="profile")
55
.nav-right
@@ -11,7 +11,7 @@
1111
.carousel-elem
1212
a.flex-wrapper(ng-class="{'link': item.link, 'no-link': !item.link}", ng-href="{{item.link}}")
1313
p.title(ng-hide="true") {{item.subTrack | track}}
14-
14+
1515
p.value(ng-show="item.label === 'rating'", style="color: {{item.val | ratingColor}}") {{item.val | empty}}
1616
span(style="background-color: {{item.val | ratingColor}}")
1717

@@ -22,20 +22,20 @@
2222
include ./develop/develop-statistics.jade
2323
include ./design/design-statistics.jade
2424
include ./data/data-statistics.jade
25-
25+
2626
tc-tab(heading="{{vm.tabs[1]}}")
2727
.subtrack-stats
2828
responsive-carousel(data="vm.subTrackStats", handle="{{vm.handle}}")
2929
.carousel-elem
3030
.flex-wrapper
3131
p.title(ng-hide="true") {{item.subTrack | track}}
32-
32+
3333
p.value(ng-show="item.label === 'rating'", style="color: {{item.val | ratingColor}}") {{item.val | empty}}
3434
span(style="background-color: {{item.val | ratingColor}}")
3535

3636
p.value(ng-hide="item.label === 'rating'") {{item.val | empty}}
3737

3838
p.label {{item.label}}
39-
include ./develop/develop-challenges.jade
40-
include ./design/design-challenges.jade
39+
include ./develop/develop-challenges.jade
40+
include ./design/design-challenges.jade
4141
include ./data/data-challenges.jade

0 commit comments

Comments
 (0)