add current claims header

This commit is contained in:
Martin Klepsch 2018-04-23 17:02:03 +02:00 committed by Tetiana Churikova
parent 3c639b112d
commit a24b3856d9
2 changed files with 10 additions and 1 deletions

View File

@ -182,7 +182,10 @@
[bounty-card bounty]
[:div.mt3.f6 [bounty-balance bounty]]]
[:div.pa3.bg-sob-tint.br3.br--bottom
(for [claim (:claims bounty)]
[:span.f6.gray (if (second claims)
(str "Current Claims (" (count claims) ")")
"Current Claim")]
(for [claim claims]
^{:key (:pr_id claim)}
[claim-card bounty claim {:render-view-claim-button? true}])]]))))

View File

@ -34,6 +34,12 @@
.hover-sob-tint:hover, .hover-sob-tint:focus { color: #f7f9fa; }
.hover-bg-sob-tint:hover, .hover-bg-sob-tint:focus { background-color: #f7f9fa; }
.gray { color: #8d99a4; }
.bg-gray { background-color: #8d99a4; }
.b--gray { border-color: #8d99a4; }
.hover-gray:hover, .hover-gray:focus { color: #8d99a4; }
.hover-bg-gray:hover, .hover-bg-gray:focus { background-color: #8d99a4; }
/* Tachyons overrides */
.tracked { letter-spacing: .0625em } /* tachyons default: .1em */