Commit Graph

56 Commits

Author SHA1 Message Date
Miles Gould
e6eb30fbbf Fetch updates in reverse chronological order by default. 2012-11-09 10:13:16 +00:00
Miles Gould
ed896dd7a5 Add "Post an update" link to the header 2012-11-08 14:01:33 +00:00
Miles Gould
27458d982a Show list of updates on a user's profile page.
Listed in reverse chronological order.
2012-11-08 14:01:11 +00:00
Miles Gould
babc345b8d Link update/show to profile of author. 2012-11-08 13:30:52 +00:00
Miles Gould
a8cd45f97c Defuglify the "show updates" page. 2012-11-08 13:13:24 +00:00
Miles Gould
e12bea06c3 Defuglify the "Edit update" page. 2012-11-08 12:53:53 +00:00
Miles Gould
287a964e87 Post new updates
- always use the ID of the logged-in user
2012-11-08 12:32:07 +00:00
Miles Gould
f3a590fb96 Create Update table and associated gubbins 2012-11-08 11:04:42 +00:00
Skud
6d7b04e734 Only logged in users can add/edit scientific names
Some small tweaks to crops tests along the way
2012-11-07 13:46:01 +11:00
Skud
4e3c47a82f Showing scientific names on the crop page 2012-11-07 13:19:59 +11:00
Skud
a122613ba3 added scientific names table/model/etc 2012-11-07 12:45:35 +11:00
Skud
42c7f86d6d Added friendly URLs (/members/skud) for each member 2012-11-06 21:31:16 +11:00
Maia Sauren
af47daa1a4 changed profile URL to members (#38934935) 2012-11-06 20:59:14 +11:00
Miles Gould
1216862753 Rewrote profile page to use string interpolation.
Thanks to Matt Fitzgerald for pointing this out:
32fa860dbd (commitcomment-2072792)
2012-10-30 12:57:01 +00:00
Miles Gould
8432ec57e7 Show creation date in profile.
US date format used for account creation date to match US English usage.
2012-10-30 09:25:15 +00:00
tehjaymo
32fa860dbd Created profile controller, route and view.
It's under the /profile route rather than /user to avoid clashes with
autogenerated Devise pages.
2012-10-29 22:24:26 +00:00
Skud
3b72a9ed17 Set up friendly IDs for crops aka slugs (eww!) 2012-10-27 15:08:30 +11:00
Maia Sauren
2273e28992 added 'development site' to header 2012-10-25 22:23:22 +11:00
Skud
140852afed You can now reconfirm using email or username.
Also, cleaned up the standard devise links that show up everywhere, removing signup/signin as they duplicate what's in our header.
2012-10-06 14:53:50 +01:00
Skud
617feb457e Make email work in production 2012-10-06 13:42:16 +01:00
Skud
66339f9d5e Merge pull request #23 from federicomenaquintero/dev
In the page footer, add a link to the wiki
2012-10-05 11:57:41 -07: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
Federico Mena Quintero
b2c9429ba9 Make the About link in the footer point to the new wiki
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
2012-10-02 09:46:32 -05:00
Federico Mena Quintero
b84f4eaed8 In the page footer, add a link to the wiki
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
2012-10-02 09:42:40 -05: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
Skud
76d1eef20c Merge branch 'dev' of https://github.com/Growstuff/growstuff into homepagecleanup 2012-09-24 21:30:24 +01:00
Skud
7ef4a6784f fixed paragraph break, removed user signin stuff which is now in header 2012-09-24 20:44:35 +01:00
Miles Gould
ea3067ff36 Replace most of the HTML-in-HAML
- We do this by moving code between files such that every tag starts
   and ends within a single file. This seems like a good invariant to
   maintain from a robustness point-of-view.
 - One consequence is that I had to split _header into _meta (metadata -
   the HTML head tag) and _header (the visible page header). These
   probably aren't the best names.
 - I've left some HTML in _meta, on the grounds that it maintains the
   file-contains-whole-tag invariant and the HTML code is fractionally
   shorter than the HAML required to generate it.
2012-09-18 19:25:18 +01:00
Skud
a959d491e8 added comments to explain mix of HTML and HAML in header/footer fragments 2012-09-17 18:24:49 +01:00
Skud
e2f035265a oops, don't need that HTML comment there 2012-09-17 18:13:44 +01:00
Skud
7edd3c5fe9 cleaned up interaction of HAML and foundation, broke out a new header fragment 2012-09-17 18:13:16 +01:00
Skud
3f38460273 Merge branch 'haml' of https://github.com/cesy/growstuff into dev 2012-09-16 23:22:10 +01:00
Skud
4f40588435 fixed broken tests (mea culpa) 2012-09-15 11:41:32 +01:00
Skud
ae6ac886a3 Prettified index.html using zurb foundation 2012-09-15 11:17:14 +01:00
Skud
aeb9b5619b ran compass install to get foundation JS 2012-09-15 11:12:05 +01:00
Skud
927dc45147 i think i've got foundation working. maybe. 2012-09-15 11:12:04 +01:00
Skud
ef9bf992d8 still trying to get zurb foundation working 2012-09-15 11:11:11 +01:00
Skud
6e0c7cf02c installed zurb, ran various rails g scripts from http://foundation.zurb.com/docs/gem-install.php#simple2 2012-09-15 11:11:11 +01:00
Miles Gould
25a0c0caeb Finish Hamlifying Devise-generated views. 2012-09-14 23:47:49 +01:00
Miles Gould
318a0afb35 HAMLify some pages. 2012-09-13 17:02:36 +01:00
Cesy Avon
0c3bcbdb1e HAML-ify new session 2012-09-12 11:52:38 -07:00
Miles Gould
7111c9e2bc Fix extra paragraph break in index page. 2012-09-10 22:51:13 +01:00
Miles Gould
5d50bb9823 HAMLify the links in the footer. 2012-09-10 22:49:29 +01:00
Miles Gould
583d075ce5 Port passwords forms to HAML. 2012-09-09 21:26:05 +01:00
Miles Gould
3956d118fa Port index and application to HAML 2012-09-09 21:26:05 +01:00
Skud
aa2769cd9d Merge pull request #8 from pozorvlak/story14footer
Story 14: include links in footer
2012-09-09 13:18:55 -07:00
Miles Gould
b109bdd0fa Story 14: links in footer. 2012-09-09 20:32:09 +01:00