Commit Graph
13 Commits
Author SHA1 Message Date
Brenda c25f448d97 Reducing the number of db queries on crops#show 2019-12-04 21:48:00 +13:00
Brenda Wallace d0bee45c0c show all varieties (including grandchildren) 2019-11-01 21:33:43 +13:00
Brenda Wallace 7b5698f977 👩‍🌾 Import openfarm data (#2177)
* Pull in openfarm icons, photos, info
* Truncating member location
* tidying up harvest display, and reducing duplication in css styles
* Tiny crop chip
* only show crop charts if there is data to show
* Make the styles more Growstuff
* Fixed links to openfarm
* Updating specs to cope with new photo sources
fix broken garden timeline on some pages
* Update homepage blurb
* Import crop companions
* More fluid page
* use thumbnail unless the source is flickr
* Messing with homepage
* Added crop growing_degree_days
* expect full size url on photos helper spec
* formatted dates from seeds#show
* tidy up places#show
* Move progress bar
* Quicker buttons for approve/reject crops
* Remove kaminari gem
* use crop cards on hierarchy page
* more crops on crops#index
* Wrap photo creation in transaction
* Wrap crop companions in a transaction
2019-09-28 17:23:25 +12:00
Brenda Wallace 7ac410c499 varieties info on crops#show (#1848)
* Tests for crop.photos
* More info on a crop's varieties, and parent
* Update spec for new crop varieties display
* Add varieties div wrapper, so test can find the area of the page
2019-04-10 20:02:05 +12:00
Brenda Wallace 6478d9cb1b Haml clean up for crops views 2017-02-06 10:31:45 +13:00
Brenda Wallace 8ddf36fed9 Haml clean up for (some of) crops views 2017-02-04 15:04:07 +13:00
Shiho Takagi c253c86787 minor improvements 2015-03-17 11:40:32 +11:00
Shiho Takagi 0c6b6e0e0e added show all/less toggle button 2015-03-12 13:49:37 +11:00
Skud 30c91eb23f Tidy up sidebar on crop detail page 2014-12-01 21:14:44 +11:00
Skud 8eb644fc66 Add map, move info to sidebar 2014-06-30 11:48:13 -07:00
Miles Gould 9c5b6f6192 Rename Crop.system_name to Crop.name 2013-10-18 11:52:05 +01:00
Skud 9e190d7345 Show new hierarchical varieties on crop page 2013-09-02 12:03:28 +10:00
Skud 8bc75a2276 Show photos on crop page
As a side effect of this, we moved a bunch of chunks of the crops page
out into partials.  We also moved photo thumbnails (as formerly seen on
the plantings page) into a partial, and then used it to display photos
on the crops page as well.
2013-07-29 11:25:36 +10:00