Fix research icons.;

This commit is contained in:
Kevin Dungs
2014-08-03 11:55:31 +02:00
parent 7becc22a15
commit 9037c7cdeb
2 changed files with 5 additions and 2 deletions
+1 -2
View File
@@ -15,8 +15,7 @@
<hr>
<ul class="media-list">
<li class="media" ng-repeat="r in rc.research" ng-show="r.is_visible()">
<img ng-show="r.level > 0" class="pull-left" class="media-object" src="{{ r.image }}" alt="">
<img ng-hide="r.level > 0" class="pull-left" class="media-object" src="assets/unknown.png" alt="">
<img class="pull-left" class="media-object" src="{{ r.level > 0 ? r.image : 'assets/unknown.png' }}" alt="">
<div class="media-body">
<h4 class="media-heading">{{ r.level > 0 ? r.name : '?????' }} <span ng-show="r.level > 0" class="badge">Level {{ r.level }}</span></h4>
<p ng-show="r.level > 0">{{ r.description }} Researching it will give you {{ r.reputation }} reputation.</p>
+4
View File
@@ -5,6 +5,7 @@
"reputation": 1,
"cost": 10,
"cost_increase": 1.4,
"image": "assets/W.png",
"info": "html/W.html"
},
{
@@ -13,6 +14,7 @@
"reputation": 5,
"cost": 100,
"cost_increase": 1.45,
"image": "assets/Z.png",
"info": "html/Z.html"
},
{
@@ -21,6 +23,7 @@
"reputation": 50,
"cost": 2000,
"cost_increase": 1.5,
"image": "assets/t.png",
"info": "html/t.html"
},
{
@@ -29,6 +32,7 @@
"reputation": 100,
"cost": 25000,
"cost_increase": 1.55,
"image": "assets/nu.png",
"info": "html/nu.html"
},
{