+% if 'rocketlauncher' in recent_weapons or 'grenadelauncher' in recent_weapons or 'electro' in recent_weapons or 'crylink' in recent_weapons or 'laser' in recent_weapons:
+<div class="row">
+ <div class="span10">
+ <h3>Damage Efficiency</h3>
+ <div id="dmg-graph" class="flot" style="width:800px; height:200px;">
+ </div>
+
+ <div class="weapon-nav damage-nav">
+ <ul>
+ % if 'rocketlauncher' in recent_weapons:
+ <li>
+ <div class="dmg-weap weapon-active">
+ <img src="${request.static_url("xonstat:static/images/rocketlauncher.png")}" />
+ <p><small>Rocket</small></p>
+ <a href="${request.route_url('player_damage', id=player.player_id, _query={'weapon':'rocketlauncher'})}" title="Show rocket launcher efficiency"></a>
+ </div>
+ </li>
+ % endif
+
+ % if 'grenadelauncher' in recent_weapons:
+ <li>
+ <div class="dmg-weap">
+ <img src="${request.static_url("xonstat:static/images/grenadelauncher.png")}" />
+ <p><small>Mortar</small></p>
+ <a href="${request.route_url('player_damage', id=player.player_id, _query={'weapon':'grenadelauncher'})}" title="Show mortar damage efficiency"></a>
+ </div>
+ </li>
+ % endif
+
+ % if 'electro' in recent_weapons:
+ <li>
+ <div class="dmg-weap">
+ <img src="${request.static_url("xonstat:static/images/electro.png")}" />
+ <p><small>Electro</small></p>
+ <a href="${request.route_url('player_damage', id=player.player_id, _query={'weapon':'electro'})}" title="Show electro damage efficiency"></a>
+ </div>
+ </li>
+ % endif
+
+ % if 'crylink' in recent_weapons:
+ <li>
+ <div class="dmg-weap">
+ <img src="${request.static_url("xonstat:static/images/crylink.png")}" />
+ <p><small>Crylink</small></p>
+ <a href="${request.route_url('player_damage', id=player.player_id, _query={'weapon':'crylink'})}" title="Show crylink damage efficiency"></a>
+ </div>
+ </li>
+ % endif
+
+ % if 'hagar' in recent_weapons:
+ <li>
+ <div class="dmg-weap">
+ <img src="${request.static_url("xonstat:static/images/hagar.png")}" />
+ <p><small>Hagar</small></p>
+ <a href="${request.route_url('player_damage', id=player.player_id, _query={'weapon':'hagar'})}" title="Show hagar damage efficiency"></a>
+ </div>
+ </li>
+ % endif
+
+ % if 'laser' in recent_weapons:
+ <li>
+ <div class="dmg-weap">
+ <img src="${request.static_url("xonstat:static/images/laser.png")}" />
+ <p><small>Laser</small></p>
+ <a href="${request.route_url('player_damage', id=player.player_id, _query={'weapon':'laser'})}" title="Show laser damage efficiency"></a>
+ </div>
+ </li>
+ % endif
+
+ </ul>
+ </div>
+
+ </div>
+</div>
+% endif
+
+