David Cook
5a1190cdda
Remove superfluous %div from haml elements with class
...
Div is the default element in HAML, so we don't need to specify it. https://haml.info/docs/yardoc/file.REFERENCE.html#implicit-div-elements
2025-03-03 14:46:24 +01:00
Maikel Linke
ba51641271
Symbolise hash keys in HAML files
...
This was done by the haml-up script.
2024-02-22 15:01:14 +11:00
Maikel Linke
c097f2b622
Upgrade HAML syntax with script
2024-02-22 15:01:13 +11:00
Matt-Yorkley
1c277e5547
Cache some html fragments
2023-05-08 14:07:50 +01:00
Jean-Baptiste Bellet
30ba29382a
Avoid name collision by renaming some classes with a prefix flex-
...
This classes should only be used with `.flex`
2023-04-26 09:52:24 +02:00
Jean-Baptiste Bellet
18d90114fe
Be more responsive: use flex, ellipsis, less columns
2023-04-21 10:36:21 +02:00
Jean-Baptiste Bellet
2296a51dd2
Remove useless CSS class .filte-row
2022-12-19 10:50:00 +01:00
Matt-Yorkley
31b4c06ea3
Update rendering and shipping_type_selector directive
2022-01-16 11:30:58 +00:00
Matt-Yorkley
a6ef7ca17f
Move shipping_type_selector template to views
2022-01-16 11:05:17 +00:00
Matt-Yorkley
744bd9d1be
Only load Google Maps JS where it's actually needed
2021-08-16 15:31:00 +01:00
Matt-Yorkley
a98e4417c0
Only inject taxons and properties AMS data in pages where it's actually needed
2021-08-16 13:22:06 +01:00
Jean-Baptiste Bellet
8399b82bfd
rename component to spinner
...
A name for a "thing" rather a state
2021-01-11 16:49:56 +01:00
Jean-Baptiste Bellet
e34050f7cb
add wrapper to show/hide loading spinner
2021-01-11 16:23:22 +01:00
Jean-Baptiste Bellet
6f24ecd973
replace code by reusable component
...
There is no need to add .text-center as it's already on the parent component
2021-01-11 11:20:00 +01:00
Matt-Yorkley
469e4a4c87
Make shops index page usable on mobile
2020-10-06 14:18:39 +01:00
Matt-Yorkley
26c511d47e
Remove taxon icons
...
These icons are inconsistently used across instances and have already been removed in a few places in the app in the mobile UX redesign.
2020-07-02 11:25:17 +02:00
Matt-Yorkley
add38bf550
Use #image_path helper correctly
...
Paths should be relative. For example an image under `/app/assets/images/home/banner.jpg` should be: `image_path("home/banner.jpg")`
2020-06-16 18:25:13 +02:00
Matt-Yorkley
2292cbaae4
Extract timed enterprise AMS fragment caching options to service
2020-05-07 13:20:28 +02:00
Matt-Yorkley
2876b98155
Use time-based caching on rendered AMS data for shops
2020-05-07 13:11:53 +02:00
Matt-Yorkley
003341ef7a
Add loading indicator when showing closed shops
2020-04-07 10:40:49 +02:00
Matt-Yorkley
94f8ea2f93
Fix flicker effect showing 3 buttons when clicking "Show Closed Shops" button
2020-04-07 10:31:56 +02:00
Matt-Yorkley
6219b3f0c3
Revert "Revert "Fix JS render-blocking in Darkswarm""
...
This reverts commit ffeca41e
2019-07-10 17:14:08 +01:00
Maikel
ffeca41ef4
Revert "Fix JS render-blocking in Darkswarm"
2019-07-10 10:24:25 +10:00
Matt-Yorkley
fbb97c3db8
Fix JS render-blocking in Darkswarm
2019-07-02 13:43:20 +01:00
Matt-Yorkley
a91ae8947b
Only query visible enterprises
2019-06-12 09:47:01 +01:00
Matt-Yorkley
ae8f1a92e8
Remove "profiles" from /shops
2019-06-12 09:47:01 +01:00
Matt-Yorkley
45d65baf8e
Improve shops performance
2019-06-12 09:47:01 +01:00
luisramos0
0501db1782
Remove changes related to enterprise trials as they dont make sense without business models and account invoices
2019-02-25 14:37:16 +00:00
Pau Perez
41d988176c
Pass enterprises to inject method from controller
2018-11-28 13:54:42 +01:00
Keir Osborn
bd7e072938
embedded groups layout changes
2018-06-22 14:03:00 +10:00
luisramos0
9e0732ceae
removed uppercase from state on shops and producers lists in the frontoffice
2018-06-08 14:11:53 +01:00
luisramos0
d821664ee3
Fixed issue #1913 with expand/collapse of list of producers of a shop
2018-05-23 17:32:38 +01:00
Matt-Yorkley
c860ffc176
Adjust use of non-translatable open/closed icons
2018-01-24 15:33:26 +11:00
Maikel Linke
73041e9263
Show shop profiles without closed shops
...
The filter for closed shops was filtering profiles as well. That made it
impossible to show profiles without showing closed shops as well.
Replacing the filter for closed shops fixes the "show profiles" feature.
Fixes https://github.com/openfoodfoundation/openfoodnetwork/issues/1718
2017-09-22 12:53:21 +10:00
Rohan Mitchell
f4f38b4183
Re-apply shop property filters - including performance regression
...
This reverts commit 7d149ed198 .
2016-11-25 14:14:42 +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
a490d9696b
Content manage hub signup page
2015-07-17 16:06:49 +10:00
Rohan Mitchell
02d68c662b
Add titles to all darkswarm pages
2015-06-16 15:31:35 +10:00
Rohan Mitchell
7f73a4cc9b
Fix column/row mixup
2015-05-29 15:19:35 +10:00
Rohan Mitchell
8a79741c0e
Update pricing tables and detail formatting
2015-05-28 14:58:46 +10:00
Rohan Mitchell
1cf62e01e9
Edit case study text
2015-05-28 14:27:36 +10:00
Rohan Mitchell
acc976f44a
Add hub case studies
2015-05-28 14:00:04 +10:00
Rohan Mitchell
e81a955827
Add detail to hubs and producers signup pages
2015-05-28 12:21:25 +10:00
Rohan Mitchell
fb400df662
Update basic copy and layout on producers signup page
2015-05-13 11:45:25 +10:00
Rohan Mitchell
845509b0c0
Style shops signup page
2015-05-12 13:51:31 +10:00
Rohan Mitchell
4e0478bbe9
Update copy and spacing on hubs page
2015-05-12 11:59:51 +10:00
summerscope
0510fa27e6
More design tweaks for homepage and conversion pages
2015-05-04 18:23:04 +10:00
summerscope
41fb44c19b
More styling on pricing table
...
Remove middle column
2015-05-04 14:33:03 +10:00
summerscope
938358007a
> More styling for landing pages for signup
...
> Add signup page for groups / food systems partners
> Change link in footer
2015-05-04 13:44:35 +10:00
summerscope
503c483acd
Tweak language
2015-05-04 13:16:18 +10:00