adds element to show address of need if the location is present
@@ -50,6 +50,15 @@ function genComponentConf() {
{{ self.need.get('description') }}
</span>
</div>
+ <div class="pc__text"
+ ng-show="!!self.need.get('location')">
+ <img
+ class="pc__icon"
+ src="generated/icon-sprite.svg#ico16_indicator_location"/>
+ <span>
+ {{ self.need.getIn(['location','address']) }}
+ </span>
+ </div>
<div class="pc__text"
ng-show="!!self.textMessage">
<img
