Showing package long description properly

This commit is contained in:
Christoph Haas 2015-05-08 17:31:55 +02:00
parent 239a4758c0
commit bee641baf1
3 changed files with 6 additions and 29 deletions

View file

@ -26,8 +26,10 @@
.bigpanel
p.subtitle Details
// TODO: split long_description by <p> tags
// TODO: What to do if long description is missing?
p =@package.long_description
- if @package.long_description
p =@package.long_description
- else
p Sorry - no more information available.
a.button.round.expand data-reveal-id="upload-modal" Upload more screenshots for #{@package.name}