Commit Graph

32 Commits

Author SHA1 Message Date
pozorvlak
42b5f387d2 Merge pull request #199 from Skud/cropwrangling
Make life easier for crop wranglers
2013-05-09 07:04:10 -07:00
Skud
536cf21e3e make it easier to wrangle scientific names 2013-05-09 11:39:22 +10:00
Skud
c95e722f99 added planting counts to crop pages 2013-05-03 15:09:29 +10:00
Lilly
4d372ab8f8 Added crop wrangling hints to crops form. 2013-05-02 12:13:28 +10:00
Skud
efb3c1cf50 Added a display of interesting members to the homepage.
Also merged in the latest dev (hence some minor changes to non-homepage,
non-member stuff).  I think I messed up the merge a bit :-/
2013-04-02 13:59:34 +11:00
Cesy Avon
f3cb251180 Merge branch 'standardise_buttons' of https://github.com/phazel/growstuff into dev 2013-03-24 01:56:24 -07:00
gnattery
d81306e7d2 linkify crop image 2013-03-23 18:35:24 +11:00
gnattery
825d679c87 pagination appears at bottom of page 2013-03-23 18:23:53 +11:00
Skud
b4faba7182 various tweaks based on comments on phazel's work 2013-03-21 12:37:57 +11:00
gnattery
d26b3d42ed standardise button styles 2013-03-21 00:37:46 +11:00
gnattery
793b25e3dd Paginate and sort members.
We've decided to remove tests for pagination display because we trust will_paginate
2013-03-20 15:17:10 +11:00
gnattery
be1034a50d paginate crops 2013-03-20 14:50:16 +11:00
Skud
ea96813d7c make the site/app name (growstuff) a config var 2013-03-19 14:41:54 +11:00
Skud
302a32c768 that can? check was superflous; controller does it for us. 2013-02-01 22:03:05 +11:00
Skud
87f14247e0 modified views to use CanCan 2013-02-01 13:24:32 +11:00
Skud
46dd7ed346 Display thumbnail inside a .well, optionally hide description 2013-01-18 14:04:45 +11:00
Skud
1503cbddad Plantings show on members, gardens, and crops pages
Created a thumbnail to standardise the display.  It's not pretty but it
has the basic info.
2013-01-18 13:40:30 +11:00
Skud
1da6c83fa1 Showing plantings on crops page. Ugly for now, but works. 2013-01-17 15:35:30 +11:00
Skud
edb59e07ee s/users/members/g -- all tests pass
There's still probably stuff broken, but this seemed like a good spot to
commit.  Sorry for the enormous chunk of code.  I was attempting to
update the views, but found that I needed to update a few things
elsewhere as well to make them work.
2013-01-13 18:33:43 +11:00
Skud
dc9b8b8aa9 All spec tests now pass with s/update/post
Haven't done a full runthrough of the site yet, so will probably need to
make a few more changes.
2013-01-13 16:33:08 +11:00
Skud
f3e624dd8d crops page links to planting the right crop 2012-12-21 12:45:16 +11:00
cephLpod
8790c0a2b0 Added crop count to Crops page 2012-12-14 16:07:29 -06:00
Skud
cd72350e9e refactor: remove unneeded %div in HAML 2012-12-02 11:59:31 +11:00
Skud
91e24e4ac2 fixed broken tests 2012-11-26 22:36:50 +11:00
Skud
2a64f04c2d Call the thumbnail partial 2012-11-26 21:31:23 +11:00
Skud
1d6fedf712 extracted crop thumbnail into a partial 2012-11-26 20:53:00 +11:00
Skud
760cf03b2c Fixed tests by getting rid of valid_session 2012-11-26 19:04:43 +11:00
Skud
dc00e06bad Added tests for logged-in-ness in a few other places.
Turned actions ("add new", "edit', etc) into buttons using Zurb CSS.
2012-10-02 22:41:36 +01:00
Skud
aa0ff3869e Need to be logged in to edit crops. 2012-10-02 22:15:56 +01:00
Miles Gould
622ddf620a Refactor h2s into content_for :title
Now the alert and notice are shown below the subtitle, and the browser
title bar tells you something useful.
2012-10-02 11:32:56 +01:00
Miles Gould
b85354f099 Prettify views for crops. 2012-10-02 11:32:56 +01:00
Miles Gould
1d9c1b14fc Generate scaffold for Crops; refactor tests
Add link to Crops page from index
Refactored index/application tests to better reflect where things are.
2012-10-02 11:32:56 +01:00