Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thomasbromehead
gchange-client
Commits
56a2d116
Commit
56a2d116
authored
Sep 01, 2017
by
Benoit Lavenier
Browse files
[enh] Ad search result: better color
parent
963394a0
Changes
3
Hide whitespace changes
Inline
Side-by-side
www/plugins/market/templates/record/list_records.html
View file @
56a2d116
...
...
@@ -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>
{{::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>
...
...
www/plugins/market/templates/record/list_records_lg.html
View file @
56a2d116
...
...
@@ -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>
{{::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}}
<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>
...
...
www/plugins/market/templates/view_record.html
View file @
56a2d116
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment