diff --git a/app/views/packages/details.slim b/app/views/packages/details.slim index 632d187..d973f51 100644 --- a/app/views/packages/details.slim +++ b/app/views/packages/details.slim @@ -10,10 +10,11 @@ .grid-x.grid-margin-x .small-7.medium-7.cell / Left column contains images + + = render(partial: 'packages/paginator', locals: {items: @screenshots}) + - if @screenshots.count > 0 .grid-x.grid-margin-y.grid-margin-x.align-middle - / TODO: paginator at the top looks ugly. maybe more space? or put it into the box on the right? - = render(partial: 'packages/paginator', locals: {items: @screenshots}) - @screenshots.each_with_index do |screenshot, idx| / Display the first screenshot as a large image (on the first page only)