Maikel Linke
80da0d5330
Set enterprise form dirty on any change
...
Commit 4953c69123 introduced a bug that
the save button is not activated when changing enterprise fields.
https://github.com/openfoodfoundation/openfoodnetwork/issues/2195
This is reverting the change and fixes #2195 .
Sadly, it re-opens
https://github.com/openfoodfoundation/openfoodnetwork/issues/1216 .
But that one is not as severe as the current bug.
2018-04-04 13:36:03 +10:00
Matt-Yorkley
4953c69123
Fix enterprise user unsaved changes
2018-03-14 23:04:54 +00:00
Rob Harrington
2f6493bb86
Use ng-cloak for admin/enterprises/edit form
2017-09-23 14:58:33 +10:00
Matt-Yorkley
27903ab744
Merge branch 'master' into uk/switcher
2017-01-22 18:57:25 +00:00
François Turbelin
88dea0f2b8
Adding i18n keys on Admin side (Rails views)
2017-01-11 10:00:06 +11:00
Matt-Yorkley
287e0b5b55
Enterprise switcher and navigation check
2016-12-09 15:15:42 +00:00
Bing Xie
c003dcded9
Update editing enterprise page save-bar
2016-06-15 10:51:34 +10:00
Bing Xie
41837eb31d
Tweak create order cycle spec
2016-06-15 10:51:34 +10:00
Bing Xie
860a537f30
Add save bar to bulk editing product page
2016-06-15 10:51:34 +10:00
Bing Xie
d8bf66a6c9
Use save bar on enterprise editing page
2016-06-15 10:51:34 +10:00
Bing Xie
2065d81bb4
Use save bar directive in enterprise editing page
2016-06-15 10:51:34 +10:00
Maikel Linke
903bd21577
Merge remote-tracking branch 'origin/master' into group-pages-merge
...
Conflicts:
README.markdown
db/schema.rb
2015-02-13 15:42:36 +11:00
Rob Harrington
a0990c107f
Moving navigation check to controller
2015-01-22 10:19:44 +11:00
Maikel Linke
4dc0701213
Side menu for enterprise group page
2015-01-15 15:04:21 +11:00
Rob Harrington
b10d623f26
Rearrange columns for action buttons on enterprise form
2014-12-19 14:03:58 +11:00
Rob Harrington
39ca0ce3dc
WIP: Adding a side_menu to the enterprise form
2014-12-19 13:52:01 +11:00
Maikel Linke
440044372b
Leave-page-warning only after changing inputs
...
The enterprise form is now set 'dirty' whenever an input changes. The
navigation callback confirms to leave the page only if the form is
dirty.
2014-12-11 14:27:08 +11:00
Maikel Linke
76739a4746
Unify nav-check and nav-callback attributes in nav-check-callback
...
The value of nav-check was not used and nav-callback was only important
if nav-check was given. So we need only one attribute, now named
nav-check-callback.
2014-12-11 12:14:51 +11:00
Maikel Linke
27896534f0
Navigation Callbacks (confirmation to leave) refs
...
A navigation callback could give only a fixed value at load time. Now it
can act depending on the site's state just before the page is unloaded.
2014-12-11 12:05:59 +11:00
Rohan Mitchell
e30021537a
Merge branch 'master' into enterprise-form-required-fields
...
Conflicts:
app/views/admin/enterprises/_form.html.haml
app/views/admin/enterprises/_ng_form.html.haml
2014-12-03 12:20:52 +11:00
Rob Harrington
7a719952fc
Adding informative messages about email confirmations to enterprise form
2014-11-12 15:20:52 +11:00
Rafael Schouten
577cb06371
make navCallback actually versatile
2014-10-18 01:42:29 +11:00
Rafael Schouten
245c1eb305
use a directive for navigation check to attach it to the page instead of the controller
2014-10-17 07:40:08 +11:00
Rafael Schouten
3a14a26bc6
refactor wysiwyg
2014-10-01 16:07:10 +10:00
Maikel Linke
ef639b9535
Adjusting columns for 16 column layout.
...
Removed the 1col spacer column and extended the fieldsets to 12col.
2014-08-28 17:06:26 +10:00
Rohan Mitchell
e3b4f6efc1
When profile admin only, do not show payment methods, shipping methods or enterprise fees when editing profile
2014-08-19 16:43:18 +10:00
Rob H
508149fbca
Adding shipping methods angularisation to enterprise edit view
2014-07-24 10:16:55 +10:00
Rob H
6dbe2a3098
WIP: Angularise payment methods on enterprise edit page
2014-07-24 10:16:54 +10:00
Rob H
2200392031
Angularising Admin enterprises form
2014-07-24 10:16:54 +10:00