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

Commit 3ee22df

Browse files
committed
Merge pull request #331 from appirio-tech/feature/tom-hide-design-stats
removed stats tab from design subtrack
2 parents b53163c + d159056 commit 3ee22df

File tree

2 files changed

+3
-19
lines changed

2 files changed

+3
-19
lines changed

app/profile/subtrack/design/design.jade

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,12 @@
1414
.name CHALLENGES
1515

1616
.tabs
17-
a.left(id="stats", ng-click="vm.viewing = 'stats'",
18-
ng-class="vm.viewing == 'stats' ? 'selected' : ''"
19-
) Statistics
20-
21-
a.right(id="challenges", ng-click="vm.viewing = 'challenges'",
22-
ng-class="vm.viewing == 'challenges' ? 'selected' : ''"
17+
a.right.selected(
2318
) Challenges
2419

2520
hr
2621

2722
tc-section(
28-
ng-show="vm.viewing == 'challenges'",
2923
state="vm.status.challenges"
3024
)
3125
tc-paginator(data="vm.challenges", page-params="vm.pageParams")
@@ -35,15 +29,3 @@
3529

3630
.no-challenges(ng-show="!vm.challenges || vm.challenges.length == 0")
3731
| Sorry, no successful challenges found.
38-
39-
.bottom(ng-show="vm.viewing == 'stats'")
40-
h2.detailed Detailed Stats
41-
42-
ul.vertical-stats
43-
li.first
44-
.left Challenges
45-
.right {{vm.typeStats.challenges | empty}}
46-
47-
li
48-
.left Wins
49-
.right {{vm.typeStats.wins | empty}}

assets/css/profile/subtrack.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@
276276
width: 90%;
277277
border: 0;
278278
border-top: 1px solid #d1d3d4;
279+
margin-left: auto;
280+
margin-right: auto;
279281
}
280282

281283
tc-section,.tc-section {

0 commit comments

Comments
 (0)