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

removed stats tab from design subtrack #331

Merged
merged 1 commit into from
Oct 8, 2015
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
20 changes: 1 addition & 19 deletions app/profile/subtrack/design/design.jade
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,12 @@
.name CHALLENGES

.tabs
a.left(id="stats", ng-click="vm.viewing = 'stats'",
ng-class="vm.viewing == 'stats' ? 'selected' : ''"
) Statistics

a.right(id="challenges", ng-click="vm.viewing = 'challenges'",
ng-class="vm.viewing == 'challenges' ? 'selected' : ''"
a.right.selected(
) Challenges

hr

tc-section(
ng-show="vm.viewing == 'challenges'",
state="vm.status.challenges"
)
tc-paginator(data="vm.challenges", page-params="vm.pageParams")
Expand All @@ -35,15 +29,3 @@

.no-challenges(ng-show="!vm.challenges || vm.challenges.length == 0")
| Sorry, no successful challenges found.

.bottom(ng-show="vm.viewing == 'stats'")
h2.detailed Detailed Stats

ul.vertical-stats
li.first
.left Challenges
.right {{vm.typeStats.challenges | empty}}

li
.left Wins
.right {{vm.typeStats.wins | empty}}
2 changes: 2 additions & 0 deletions assets/css/profile/subtrack.scss
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@
width: 90%;
border: 0;
border-top: 1px solid #d1d3d4;
margin-left: auto;
margin-right: auto;
}

tc-section,.tc-section {
Expand Down