Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Commit

Permalink
Use latest data, rename vehicles to bays
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McLeod committed Dec 27, 2015
1 parent 126e8ca commit eb70eb4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/js/controllers/controller-outfit.js
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ angular.module('app').controller('OutfitController', ['$window', '$rootScope', '
limpets = ship.cargoCapacity;
break;
case 'pv':
srvs += slotGroup[i].c.vehicles;
srvs += slotGroup[i].c.bays;
break;
default:
q = slotGroup[i].c.clip + slotGroup[i].c.ammo;
Expand Down
2 changes: 1 addition & 1 deletion app/views/_slot-internal.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="l" ng-if="c.c.maxmass">{{'max mass' | translate}}: {{c.c.maxmass}} <u translate="T"></u></div>
<div class="l" ng-if="c.c.bins">{{c.c.bins}} <u translate="bins"></u></div>
<div class="l" ng-if="c.c.rate">{{'rate' | translate}}: {{c.c.rate}} <u>kg/s</u>&nbsp;&nbsp;&nbsp;{{'refuel time' | translate}}: {{$r.fTime(fuel * 1000 / c.c.rate)}}</div>
<div class="l" ng-if="c.c.vehicles">{{'vehicles' | translate}}: {{c.c.vehicles}}</div>
<div class="l" ng-if="c.c.bays">{{'bays' | translate}}: {{c.c.bays}}</div>
<div class="l" ng-if="c.c.ammo">{{'ammo' | translate}}: {{$r.fCrd(c.c.ammo)}}</div>
<div class="l" ng-if="c.c.cells">{{'cells' | translate}}: {{c.c.cells}}</div>
<div class="l" ng-if="c.c.recharge">{{'recharge' | translate}}: {{c.c.recharge}} <u>MJ</u>&nbsp;&nbsp;&nbsp;{{'total' | translate}}: {{c.c.cells * c.c.recharge}} <u>MJ</u></div>
Expand Down

0 comments on commit eb70eb4

Please sign in to comment.