The image should be a link on search list

This commit is contained in:
Las Zenow 2012-08-15 15:46:43 +02:00
parent d3fed00227
commit c670645300
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
<ul>
{{with .Books}}
{{range .}}
<li><img src="{{.CoverSmall}}" alt="{{.Title}}" /><a href="/book/{{.Title}}">{{.Title}}</a> - {{range .Author}}{{.}}, {{end}}</li>
<li><a href="/book/{{.Title}}"><img src="{{.CoverSmall}}" alt="{{.Title}}" /><strong>{{.Title}}</strong></a> - {{range .Author}}{{.}}, {{end}}</li>
{{end}}
{{end}}
</ul>

View file

@ -11,7 +11,7 @@
<ul>
{{with .Books}}
{{range .}}
<li><img src="{{.CoverSmall}}" alt="{{.Title}}" /><a href="/book/{{.Title}}">{{.Title}}</a> - {{range .Author}}{{.}}, {{end}}</li>
<li><a href="/book/{{.Title}}"><img src="{{.CoverSmall}}" alt="{{.Title}}" /><strong>{{.Title}}</strong></a> - {{range .Author}}{{.}}, {{end}}</li>
{{end}}
{{end}}
</ul>