Maikel Linke
5149c5118b
Change text and style for shops requiring login
2016-03-24 21:42:21 +11:00
Maikel Linke
df36386757
Require customer instead of user
...
If a shop requires a login, then a customer needs to be logged in, not
just any user.
2016-03-24 18:24:46 +11:00
Maikel Linke
2a9e35355e
Add auth directive to use AuthenticationService
...
The auth directive binds to all elements with the auth attribute. It
adds a click event that opens the login/register/password modal.
2016-03-18 16:46:29 +11:00
Maikel Linke
a48b992ec0
Shops can require users to login
...
Enterprise users have a new option to restrict their shopfronts to
logged in users only. If a guest visits one of these shopfornts, the
guest is prompted to login and is not shown any products.
Closes #849 .
2016-03-18 16:46:28 +11:00
Maikel Linke
bd19bf5f3c
Refactoring filter selectors
...
The FilterSelectorsService is now able to create multiple independent
lists of selectors. These lists are explicitly given to the
filter-selector directive.
For example a group's page has one set for the group's producers and one
set for the group's shops.
2016-02-04 16:08:19 +11:00
Maikel Linke
8bfe459241
i18n fixes of html display
2015-11-13 14:22:17 +11:00
Maikel Linke
85c99102dd
i18n: Replacing all language strings in app/view/
...
Languages strings were moved to config/locale/en.yml. All views contain
according calls to t() now.
2015-08-28 16:59:23 +10:00
Rohan Mitchell
610a4c03fe
Merge branch 'master' into redesign
...
Conflicts:
app/controllers/home_controller.rb
app/views/producers/index.html.haml
app/views/shared/menu/_mobile_menu.html.haml
app/views/shop/products/_form.html.haml
config/routes.rb
spec/controllers/shops_controller_spec.rb
2015-06-10 18:27:50 +10:00
Rohan Mitchell
5c3a59acab
ng-cloak order cycles selector, tabs and shopfront
2015-05-29 16:39:41 +10:00
Rohan Mitchell
eac22df200
Merge branch 'master' into redesign
...
Conflicts:
app/assets/javascripts/templates/product_modal.html.haml
2015-05-13 09:53:20 +10:00
Rick Giner
16e9f0545b
bind-once in products
2015-05-03 14:02:33 +10:00
summerscope
9a0e9145ef
Adding more logic to force padding for shopfront page whether populated with products or not.
2015-05-02 20:25:23 +10:00
summerscope
1090328a3c
Adding padding class and apply to templates to have required padding for new footer.
2015-05-02 20:12:33 +10:00
summerscope
7090bb518b
Tweaking logic for alert bar to make messages more human readable for all use cases.
2015-03-20 14:24:59 +11:00
summerscope
b99e94cecf
WIP on producer and product modals
2015-03-19 16:02:52 +11:00
summerscope
cdd41ad651
change animation class
2015-03-19 14:52:00 +11:00
Rob Harrington
bfe7f49033
Show and hide search box
2015-03-18 12:01:53 +11:00
Rob Harrington
2b32252aff
Filtering between selector lists
2015-03-15 13:25:04 +11:00
summerscope
dc1dd2e243
Changing the class .filter-box for shopfront to .filter-shopfront
...
This prevents the issue with inheritance / styling crossover
2015-03-13 16:06:46 +11:00
Rob Harrington
274a7a3c73
Fixing up the one liner filter styling a bit
2015-03-12 09:56:06 +11:00
Rob Harrington
578475a403
Filter products list on shop by active properties
2015-03-06 16:14:11 +11:00
Rob Harrington
06f10398da
Adding product property filter to shop page
2015-03-06 11:22:52 +11:00
Rob Harrington
cb623b75c1
Generalising taxons-selector -> filter-selector
2015-03-05 18:15:14 +11:00
Rob Harrington
e7854bcd8e
Moving single line selectors to template, making sure other users of taxons-selector still work
2015-03-05 16:38:21 +11:00
Rob Harrington
0142f9467a
Improve display of overflow selectors
2015-03-05 16:00:53 +11:00
Rob Harrington
24b40182b5
clearAll for product page also clears any text search filter
2015-03-05 15:34:27 +11:00
Rob Harrington
ed94cf57d3
Adding the 'more' box for single-line-selectors
2015-03-05 15:10:42 +11:00
Rob Harrington
4afef8215a
Basic implementation of single line selectors
2015-03-05 12:12:36 +11:00
summerscope
469b383781
Properties and shopfront filters with taxons WIP.
2015-02-25 16:04:32 +11:00
summerscope
304bde3b9e
Working on the filters for shopfront properties and updates.
2015-02-25 10:46:51 +11:00
summerscope
e9fca885db
WIP layout changes for shopfront top
2015-02-25 10:46:43 +11:00
Rob Harrington
fd9f65f1b6
Merge branch 'shopfront-filters' into shop-url
2015-01-28 10:57:11 +11:00
Rob Harrington
39889390ef
Altering shop page routing so that shop url is copy-and-pastable
2015-01-22 10:19:42 +11:00
summerscope
1753432f36
Adding new loading animation to replace ugly and large gif
2015-01-16 17:06:40 +11:00
summerscope
3bd77c74a5
Improve logic on shopping cart button to add meaningful labels for various states
2015-01-16 14:57:09 +11:00
summerscope
51687b5c2c
Tweak language and styling for the CTA buttons taking users to shopping cart and checkout pages
2015-01-16 13:27:16 +11:00
Rob Harrington
b3e67fa164
Take two on disabled logic
2015-01-15 17:34:04 +11:00
summerscope
d2277999cc
Undo change of logic on disabled state on Shopping cart button
2015-01-15 17:13:10 +11:00
summerscope
676e7cb4d6
Make taxon flag 2 cols for small devices
2015-01-15 16:45:09 +11:00
summerscope
1dfbc88813
Change logic on disabled class on Your shopping cart button as this was swapped the wrong way around
2015-01-15 16:16:01 +11:00
summerscope
891a9b06a8
Add expand icon on top of image thumbnail
2015-01-15 15:23:10 +11:00
summerscope
b5879d51ac
Merging master into shopfront-filters branch
2015-01-15 14:15:25 +11:00
Rohan Mitchell
0431e0048c
Merge branch 'master' into variant-overrides-frontend
...
Conflicts:
app/controllers/shop_controller.rb
app/views/shop/products/_form.html.haml
spec/controllers/shop_controller_spec.rb
2015-01-12 16:48:51 +11:00
Rob Harrington
6f95fa8546
Merge remote-tracking branch 'origin/shopfront-filters'
2014-12-19 15:40:01 +11:00
summerscope
813ef463a2
Tweak markup shopfront page to add icon
2014-12-19 14:53:25 +11:00
Rob Harrington
21e4f40616
Implementing primary taxon ordering on the shopfront
2014-12-19 14:05:23 +11:00
Rob Harrington
0fa289a443
Changing shopfront message into an alert box
2014-12-19 14:04:02 +11:00
Rob Harrington
3fa1832e7b
Adding shop closed message preference
2014-12-19 14:04:01 +11:00
Rob Harrington
d5df73c6a2
Duplicate create basic version of enterprise serializer for lists, make shopfront_message input use textangular
2014-12-19 14:04:01 +11:00
Rob Harrington
5a24f2c0e2
WIP: adding shopfront message to shop
2014-12-19 14:04:00 +11:00