[Bps-public-commit] rt-extension-inlinehelp branch target-selector updated. c30156a55b4dc20986cb709165a13faa79006a8b
BPS Git Server
git at git.bestpractical.com
Mon Oct 25 20:15:37 UTC 2021
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt-extension-inlinehelp".
The branch, target-selector has been updated
via c30156a55b4dc20986cb709165a13faa79006a8b (commit)
from b689fb018b406c5b88eb4b3e3d8b304016a69944 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c30156a55b4dc20986cb709165a13faa79006a8b
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Oct 26 04:07:39 2021 +0800
Add default Class and apply custom fields accordingly
diff --git a/etc/initialdata b/etc/initialdata
index f109add..c1d1fea 100644
--- a/etc/initialdata
+++ b/etc/initialdata
@@ -33,11 +33,40 @@ our @CustomFields = (
LookupType => 'RT::Class-RT::Article',
Type => 'Freeform',
MaxValues => 1,
+ ApplyTo => 'Inline Help',
},
{ Name => 'Target',
Description => 'jQuery Selector',
LookupType => 'RT::Class-RT::Article',
Type => 'Freeform',
MaxValues => 1,
+ ApplyTo => 'Inline Help',
},
);
+
+our @Classes = (
+ { Name => 'Inline Help',
+ Description => 'Inline help',
+ }
+);
+
+our @OCFVs = (
+ { Object => sub {
+ my $object = RT::Class->new( RT->SystemUser );
+ $object->Load('Inline Help');
+ return $object;
+ },
+ Field => 'Inline Help',
+ Value => 'yes',
+ },
+ { Object => sub {
+ my $object = RT::Class->new( RT->SystemUser );
+ $object->Load('Inline Help');
+ return $object;
+ },
+ Field => 'Locale',
+ Value => 'en',
+ },
+);
+
+1;
-----------------------------------------------------------------------
Summary of changes:
etc/initialdata | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
hooks/post-receive
--
rt-extension-inlinehelp
More information about the Bps-public-commit
mailing list