make list name on stats page header a link to the list

This commit is contained in:
Gered 2016-08-01 16:43:24 -04:00
parent aeb5021212
commit bac68b2b76
2 changed files with 8 additions and 1 deletions

View file

@ -161,6 +161,10 @@ div.card-title > h1 > small {
position: relative;
}
.statistics-container .header .page-header small a {
color: #777;
}
.statistics-container .settings {
position: absolute;
top: 0;

View file

@ -252,7 +252,10 @@
(not (vc/loading? pricing-sources)))
[:div.statistics-container
[: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
[bs/Form {:inline true}
[bs/FormGroup {:bsSize "large"}