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
Matt-Yorkley
1c277e5547
Cache some html fragments
2023-05-08 14:07:50 +01:00
Arthur Vieira
066879fe62
Add icons to whatsapp links
...
Uses the font awesome 4 WhatsApp icon in .svg format (which is under the
Open Font License) in the pages where an enterprise's WhatsApp number
appears as an hyperlink.
2022-06-30 19:19:10 -03:00
Arthur Vieira
0deb3cd782
Replace url generation with 'whatsapp_url' method
...
As suggested by mkllnk's following comment:
1eda7d8a4c (r890656117)
2022-06-30 19:19:10 -03:00
Arthur Vieira
cace62a718
Add producer whatsapp link to producers list
...
Adds WhatsApp number with wa.me link between phone number and e-mail
address in the producers list profile.
2022-06-30 19:19:10 -03:00
Matt-Yorkley
48a7cfa09e
Fix more deprecated keyword arguments
2022-01-24 14:11:08 +00:00
Sebastian Castro
18d966f0de
Closes #8441 Confirmation popup on shop change
2021-12-08 13:34:15 +01:00
Nihal Mohammed
92ecdb4163
Add Angular directive to undo reverse of email
2021-08-20 18:34:42 +05:30
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
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
a04c2ccd6e
Make producers and groups pages usable on mobile
2020-10-06 14:18:41 +01:00
Luis Ramos
d8acf90240
Merge pull request #5770 from openfoodfoundation/revert-5601-enhancement/5454-links-to-shops-in-new-tabs
...
Revert "Enhancement/5454 make links to shops under Groups > Producers open in new tab"
2020-08-05 11:51:48 +01:00
Pau Pérez Fabregat
e9787552c8
Merge pull request #5713 from Matt-Yorkley/taxon-icons
...
Remove taxon icons
2020-07-29 18:43:06 +02:00
Luis Ramos
efacca6292
Revert "Enhancement/5454 make links to shops under Groups > Producers open in new tab"
2020-07-15 15:33:03 +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
Eduardo
573f7b1087
make shop links on the producers page open in new tab
2020-06-18 19:55:06 -03: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
a91ae8947b
Only query visible enterprises
2019-06-12 09:47:01 +01:00
Matt-Yorkley
ed97400a23
Improve producers performance
2019-06-12 09:47:01 +01:00
Keir Osborn
bd7e072938
embedded groups layout changes
2018-06-22 14:03:00 +10:00
Hugs
7ebf5db1f2
Added img tag when producer.description.length==0 to display logo even when no About Us
2018-03-14 11:44:04 +11:00
Matt-Yorkley
c860ffc176
Adjust use of non-translatable open/closed icons
2018-01-24 15:33:26 +11:00
Rohan Mitchell
7b5e8fa603
Rename API field properties to supplied_properties
2016-08-26 12:13:47 +10:00
Rohan Mitchell
9cc0bb831a
Show properties alongside taxons on producer fat view
2016-06-24 07:57:06 +10:00
Rohan Mitchell
aae1689a27
Show product properties on producers page
2016-06-24 07:57:06 +10:00
Rob Harrington
e5ca494db8
Replacing bindonce with native Angularjs syntax in Darkswarm
...
Involved changing bo-text -> ng-bind, bo-href-i -> ng-href, bo-src-i -> ng-src and ng-html -> ng-bind-html
2016-05-25 08:10:20 +10:00
Maikel Linke
4feb7c893b
Introduce contact email address for enterprises
...
Add a new column email_address to enterprises.
Use this new field for public display of contact details.
The old field enterprise.email is still used internally.
It is still displayed on orders and emails sent to customers.
A new enterprise has the owner's email address by default now.
Fix GH #757
2016-02-24 15:14:07 +11:00
Maikel Linke
4eed222f18
Fixed several i18n issues reported by Myriam
2015-10-29 14:55:38 +11:00
Maikel Linke
0b4a43d77a
Merge remote-tracking branch 'origin/master' into i18n-replace-strings-in-views
...
Conflicts:
app/views/shared/menu/_cart.html.haml
app/views/spree/order_mailer/confirm_email_for_shop.html.haml
2015-09-16 16:32:16 +10:00
Maikel Linke
e25805aa78
Restoring all changes of the last combined branch
...
This reverts commit 1e55e8a907 .
2015-09-10 15:03:13 +10:00
Maikel Linke
1e55e8a907
Reverting all changes of the last combined branch
...
The production server hangs on certain requests. To rule out a code bug,
we revert to the last deployed version.
2015-09-10 12:50:40 +10: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
Maikel Linke
1a96ef88bc
Hiding invisible hubs in producer modal
2015-08-28 10:49:36 +10:00
Rohan Mitchell
5688cfd1dd
WIP: Rename ofnEmptiesCart to ofnChangeHub
2015-07-31 16:56:08 +10:00
Rick Giner
62ae38372e
#541 add "show more" link to producers lists in hub on home page
2015-05-11 20:31:24 +10:00
Rick Giner
a3664d4448
Added bindonce and ng-if improvements to Producers templates
2015-05-03 12:51:59 +10:00
Maikel Linke
0fdf313424
Fixing img display of producers if no logo present
2015-02-12 10:31:13 +11:00
summerscope
c365047d0c
Short description goes back in producer fat view until we can clean up the HTML formatting
2014-09-12 15:40:12 +10:00
summerscope
a9619a6dca
Changes to markup on producer page to adjust layout
2014-09-05 17:50:50 +10:00
summerscope
60ac3f29a5
Producers page WIP
2014-09-05 16:41:00 +10:00
summerscope
0d0ffa1cd0
Making CTA links consistent with modals, adding in logic to force space holding for producer fat view
2014-09-05 15:47:41 +10:00
Will Marshall
e8045cac42
Renaming to state_name
2014-07-31 11:36:53 +10:00
summerscope
78ac55418c
Tweak producers for responsive views,
2014-07-28 13:51:43 +10:00
Will Marshall
31cf01ba1b
Sorting hubs by active
2014-07-10 12:59:59 +10:00
Will Marshall
1eaf2c3bc5
Fixing missing taxons
2014-06-20 16:50:31 +10:00
summerscope
9a59f6b520
Remove parentheses from address on button
2014-06-20 10:36:09 +10:00
summerscope
f87b2ea1e3
Producer hubs view - fat node - adjust markup to make more dynamic, adjust for new designs
2014-06-20 10:00:36 +10:00
summerscope
d1b6a7b2a2
Adjusting markup for active table producer fat view WIP commit
2014-06-19 17:06:38 +10:00
Will Marshall
36451423ba
Producer fat view
2014-06-19 12:56:55 +10:00
summerscope
42a9f16800
Adding in new icon into producer partial
2014-05-30 13:08:18 +10:00