Skip to content

Commit

Permalink
Add mission IDs and ship IDs.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcbride committed Jan 23, 2015
1 parent dfe3db4 commit ea5e59f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions buildingMissionCommand.js
Expand Up @@ -94,6 +94,7 @@ if (typeof YAHOO.lacuna.buildings.MissionCommand == "undefined" || !YAHOO.lacuna
nLi.innerHTML = ['<div class="yui-ge">',
' <div class="yui-u first">',
' <div class="missionName">',ms.name,'</div>',
' <span style="float:right">Mission ID: ',ms.id,'</span>',
' <div class="missionPosted">Posted: ',Lib.formatServerDate(ms.date_posted),'</div>',
' <div class="missionUniversity">Max University: ',ms.max_university_level,'</div>',
' </div>',
Expand Down
7 changes: 6 additions & 1 deletion buildingSpacePort.js
Expand Up @@ -402,7 +402,9 @@ if (typeof YAHOO.lacuna.buildings.SpacePort == "undefined" || !YAHOO.lacuna.buil
' <li style="white-space:nowrap;"><label style="font-style:italic">Hold Size: </label>',ship.hold_size,'</li>',
' <li style="white-space:nowrap;"><label style="font-style:italic">Stealth: </label>',ship.stealth,'</li>',
' <li style="white-space:nowrap;"><label style="font-style:italic">Combat: </label>',ship.combat,'</li>',
' <li style="white-space:nowrap;"><label style="font-style:italic">Occupants: </label>',ship.max_occupants,'</li>', ' </ul>',
' <li style="white-space:nowrap;"><label style="font-style:italic">Occupants: </label>',ship.max_occupants,'</li>',
' <li style="white-space:nowrap;"><label style="font-style:italic">Ship ID: </label>',ship.id,'</li>',
' </ul>',
' </div>',
' <div class="yui-u">',
' <div><label style="font-weight:bold;">Payload:</label></div>',
Expand Down Expand Up @@ -568,6 +570,7 @@ if (typeof YAHOO.lacuna.buildings.SpacePort == "undefined" || !YAHOO.lacuna.buil
' <li style="white-space:nowrap;"><label style="font-style:italic">Occupants: </label>',ship.max_occupants,'</li>',
' <li style="white-space:nowrap;"><label style="font-style:italic">Stealth: </label>',ship.stealth,'</li>',
' <li style="white-space:nowrap;"><label style="font-style:italic">Combat: </label>',ship.combat,'</li>',
' <li style="white-space:nowrap;"><label style="font-style:italic">Ship ID: </label>',ship.id,'</li>',
' </ul>',
' <div class="shipPayload" style="display:none;margin-top:5px">',
Lib.formatInlineList(ship.payload, 3),
Expand Down Expand Up @@ -1215,6 +1218,7 @@ if (typeof YAHOO.lacuna.buildings.SpacePort == "undefined" || !YAHOO.lacuna.buil
' <span>Hold Size:<span>',ship.hold_size,'</span></span>,',
' <span>Stealth:<span>',ship.stealth,'</span></span>',
' <span>Combat:<span>',ship.combat,'</span></span>',
' <span>ID:<span>',ship.id,'</span></span>',
' </div>',
' </div>',
' <div class="yui-u" style="width:8%">',
Expand Down Expand Up @@ -1342,6 +1346,7 @@ if (typeof YAHOO.lacuna.buildings.SpacePort == "undefined" || !YAHOO.lacuna.buil
' <span>Hold Size:<span>',ship.hold_size,'</span></span>,',
' <span>Stealth:<span>',ship.stealth,'</span></span>',
' <span>Combat:<span>',ship.combat,'</span></span>',
' <span>ID:<span>',ship.id,'</span></span>',
' </div>',
' </div>',
' <div class="yui-u" style="width:8%">',
Expand Down

0 comments on commit ea5e59f

Please sign in to comment.