Skip to content

Commit

Permalink
Removed Category column from Category-specific pages
Browse files Browse the repository at this point in the history
  • Loading branch information
cutecryptid committed Nov 9, 2017
1 parent 220850d commit a306277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/app/views/pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h3>Robots {{ main.categoryTitle }}</h3>
<table class='table table-striped'>
<thead>
<th>Name</th>
<th>Category</th>
<th ng-if="main.categoryId == 0">Category</th>
<th colspan="3">Times</th>
<th ng-if="main.categoryId == 2">Recycled Materials</th>
<th ng-if="main.categoryId == 2">Originality</th>
Expand All @@ -54,7 +54,7 @@ <h3>Robots {{ main.categoryTitle }}</h3>
<tbody>
<tr ng-repeat="robot in main.robots">
<td>{{ robot.name }}</td>
<td>{{ main.prettyCategoryId(robot.category) }}</td>
<td ng-if="main.categoryId == 0">{{ main.prettyCategoryId(robot.category) }}</td>
<td ng-repeat="time in robot.times track by $index" ng-class="{'best-time': $index==main.bestTimeIndex(robot)}">
{{ main.prettyTime(time) }}
</td>
Expand Down

0 comments on commit a306277

Please sign in to comment.