Moved "no packages found" message panel to partial view
This commit is contained in:
parent
71538d9e8c
commit
56df10224b
3 changed files with 9 additions and 14 deletions
|
|
@ -18,13 +18,7 @@
|
|||
= render partial: 'packages/grid_thumbnail', locals: { pkg: pkg }
|
||||
|
||||
- else
|
||||
div.panel.callout.radius
|
||||
' Sorry. I couldn't find any software package like that.
|
||||
' Would you like to view
|
||||
'
|
||||
a href=url_for(show: params[:show]) all packages
|
||||
'
|
||||
' instead?
|
||||
= render 'packages/noresults'
|
||||
|
||||
// Paginator
|
||||
= render 'packages/paginator'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue