Commit 4e4ba70
committed
Don't show non-working download button for templates
It's a little followup to recent commit 6c00320. It seems unlikely
that someone would want to disable the download url a public
searchable template, but let's behave sanely if they do.
Also download_url site method instead of preparing the url manually.1 parent aed6cee commit 4e4ba70
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
0 commit comments