make list name on stats page header a link to the list
This commit is contained in:
parent
aeb5021212
commit
bac68b2b76
|
@ -161,6 +161,10 @@ div.card-title > h1 > small {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.statistics-container .header .page-header small a {
|
||||||
|
color: #777;
|
||||||
|
}
|
||||||
|
|
||||||
.statistics-container .settings {
|
.statistics-container .settings {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
|
@ -252,7 +252,10 @@
|
||||||
(not (vc/loading? pricing-sources)))
|
(not (vc/loading? pricing-sources)))
|
||||||
[:div.statistics-container
|
[:div.statistics-container
|
||||||
[:div.header
|
[:div.header
|
||||||
[bs/PageHeader "Statistics " [:small (if (= c/owned-list-id list-id) "Owned Cards" (:name @list-info))]]
|
[bs/PageHeader "Statistics "
|
||||||
|
[:small (if (= c/owned-list-id list-id)
|
||||||
|
"Owned Cards"
|
||||||
|
[:a {:href (->url "#/list/" list-id)} (:name @list-info)])]]
|
||||||
[:div.settings
|
[:div.settings
|
||||||
[bs/Form {:inline true}
|
[bs/Form {:inline true}
|
||||||
[bs/FormGroup {:bsSize "large"}
|
[bs/FormGroup {:bsSize "large"}
|
||||||
|
|
Loading…
Reference in a new issue