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
7
app/views/packages/_noresults.slim
Normal file
7
app/views/packages/_noresults.slim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
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?
|
||||
Loading…
Add table
Add a link
Reference in a new issue