Added callout/hint if a package has pending uploads
This commit is contained in:
parent
cdb4772145
commit
3982cdb741
1 changed files with 8 additions and 0 deletions
|
|
@ -8,6 +8,14 @@ h1 =@package.name
|
||||||
.grid-x.grid-padding-x.packagepage
|
.grid-x.grid-padding-x.packagepage
|
||||||
#details.small-7.medium-7.cell.packagepage
|
#details.small-7.medium-7.cell.packagepage
|
||||||
p.subtitle = @package.description
|
p.subtitle = @package.description
|
||||||
|
|
||||||
|
- if @package.screenshots_pending.length > 0
|
||||||
|
div.callout.warning
|
||||||
|
p
|
||||||
|
' Some screenshots have been uploaded for this package.
|
||||||
|
' They still need to be approved by a moderator.
|
||||||
|
' Please check again later.
|
||||||
|
|
||||||
- if screenshots_visible_to_user(@package).count > 0
|
- if screenshots_visible_to_user(@package).count > 0
|
||||||
- screenshots_visible_to_user(@package).each do |screenshot|
|
- screenshots_visible_to_user(@package).each do |screenshot|
|
||||||
.listview
|
.listview
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue