Commit 56a2d116 authored by Benoit Lavenier's avatar Benoit Lavenier

[enh] Ad search result: better color

parent 963394a0
......@@ -20,14 +20,14 @@
<i class="item-image" ng-if="rec.thumbnail" style="background-image: url('{{::rec.thumbnail.src}}')" ></i>
<h2 class="padding-top" ng-bind-html="rec.title | truncText:100"></h2>
<h4 class="gray">
<span ng-if="rec.location">
<span class="positive" ng-if="rec.location">
<i class="icon ion-location"></i> {{options.location.prefix|translate}}<span ng-bind-html="rec.location"></span>
</span>
<span ng-show="rec.time">
<br ng-show="rec.location"/>
<i class="icon ion-clock"></i> {{::rec.time | formatFromNow}}
{{::'MARKET.SEARCH.BY'|translate}}
<span class="positive"><i class="ion-person"></i>&nbsp;{{::rec.name || (rec.pubkey|formatPubkey)}}</span>
<span class="dark">{{::rec.name || (rec.pubkey|formatPubkey)}}</span>
</span>
<span ng-if="rec.stock>1"><i class="icon ion-pie-graph"></i> {{::rec.stock}}</span>
</h4>
......
......@@ -19,7 +19,7 @@
<img ng-src="{{::rec.thumbnail.src}}" ng-if="::rec.thumbnail">
<i class="item-image ion-speakerphone" ng-if="::!rec.thumbnail"></i>
<h2 ng-bind-html="rec.title" ></h2>
<h4 class="gray" ng-if="rec.location">
<h4 class="positive" ng-if="rec.location">
<i class="icon ion-location"></i>
{{::options.location.prefix|translate}}<span ng-bind-html="::rec.location"></span>
</h4>
......@@ -27,7 +27,7 @@
<i class="icon ion-clock" ></i>
{{::rec.time | formatFromNow}}
{{::'MARKET.SEARCH.BY'|translate}}
<span class="positive"><i class="ion-person"></i>&nbsp;{{::rec.name || (rec.pubkey|formatPubkey)}}</span>
<span class="dark">{{::rec.name || (rec.pubkey|formatPubkey)}}</span>
</h4>
<span ng-if="::rec.picturesCount > 1"
class="badge badge-balanced badge-picture-count">{{::rec.picturesCount}}&nbsp;<i class="icon ion-camera"></i></span>
......@@ -50,7 +50,7 @@
</div>
<div class="col hidden-sm hidden-xs">
<h4 class="gray text-wrap text-italic">
<i class="icon ion-quote"></i>
<i class="icon ion-quote"></i>
<span ng-bind-html="::rec.description | truncText:500" ng-if="::rec.description"></span>
</h4>
<div ng-if="::!rec.stock" class="badge badge-assertive" translate>MARKET.COMMON.SOLD</div>
......
......@@ -33,7 +33,7 @@
<!-- location and category-->
<h2 class="gray hidden-xs">
<a ng-if="formData.location" ui-sref="app.market_lookup({location:formData.location})">
<a class="positive" ng-if="formData.location" ui-sref="app.market_lookup({location:formData.location})">
<i class="icon ion-location"></i>
{{options.location.prefix|translate}}<span ng-bind-html="formData.location"></span>
</a>
......@@ -73,7 +73,7 @@
<div class="item visible-xs no-padding-top no-padding-bottom">
<h2 class="gray">
<a ng-if="formData.location" ui-sref="app.market_lookup({location:formData.location})">
<a class="positive" ng-if="formData.location" ui-sref="app.market_lookup({location:formData.location})">
<i class="icon ion-location"></i>
{{options.location.prefix|translate}}<span ng-bind-html="formData.location"></span>
</a>
......@@ -152,7 +152,8 @@
</div>
<ion-item ng-if="options.description.show">
<h2>
<h2 class="dark text-italic">
<i class="icon ion-quote"></i>
<span class="text-keep-lines" ng-bind-html="formData.description"></span>
</h2>
</ion-item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment