Merge pull request #305 from Skud/explanatory-text

Added explanatory text to the top of the crops/seeds pages
This commit is contained in:
pozorvlak
2013-09-05 05:42:26 -07:00
2 changed files with 9 additions and 0 deletions

View File

@@ -1,5 +1,10 @@
- content_for :title, "Crops"
%p
#{Growstuff::Application.config.site_name} tracks who's growing what, where.
View any crop page to see which of our members have planted it and find
information on how to grow it yourself.
%div.pagination
= page_entries_info @crops, :model => "crops"
= will_paginate @crops

View File

@@ -1,5 +1,9 @@
- content_for :title, @owner ? "#{@owner}'s seeds" : "Everyone's seeds"
%p
#{Growstuff::Application.config.site_name} helps you track your seed
stash or trade seeds with other members.
%p
- if can? :create, Seed
- if @owner