Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
001cb0ba
Commit
001cb0ba
authored
Nov 16, 2018
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding font base path to be used in stripe component fonts
parent
1b83df40
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
StripeUtils.java
cmsWebApp/src/performa/utils/StripeUtils.java
+2
-1
GeneralConfig_adminPortal.xml
...root/extensions/adminportal/GeneralConfig_adminPortal.xml
+2
-1
htmlheader.jsp
cmsWebApp/webroot/extensions/adminportal/inc/htmlheader.jsp
+7
-0
No files found.
cmsWebApp/src/performa/utils/StripeUtils.java
View file @
001cb0ba
...
...
@@ -45,7 +45,8 @@ public class StripeUtils
public
static
final
String
STRIPE_PUB_KEY
=
ConfigMgr
.
getKeyfileString
(
"stripe.pubkey"
,
""
);
public
static
final
String
STRIPE_PLAN_ID
=
ConfigMgr
.
getKeyfileString
(
"stripe.plan.id"
,
"0001"
);
public
static
final
String
STRIPE_COUPON_ID
=
ConfigMgr
.
getKeyfileString
(
"stripe.coupon.id"
,
"EAP"
);
public
static
final
String
FONT_BASE_PATH
=
ConfigMgr
.
getConfigString
(
"CONFIG.GLOBAL"
,
"FontBaseLocation"
);
static
{
Stripe
.
apiKey
=
STRIPE_KEY
;
...
...
cmsWebApp/webroot/extensions/adminportal/GeneralConfig_adminPortal.xml
View file @
001cb0ba
...
...
@@ -3,7 +3,8 @@
<OBJECTS
name=
""
>
<NODE
name=
"CONFIG.GLOBAL::PERFORMA_ADMIN_PORTAL"
>
<PARAM
name=
"PDFBaseLocation"
factory=
"String"
value=
"@cmsWebApp.deploy.dir@"
/>
<PARAM
name=
"PDFBaseLocation"
factory=
"String"
value=
"@cmsWebApp.deploy.dir@"
/>
<PARAM
name=
"FontBaseLocation"
factory=
"String"
value=
"@cmsWebApp.deploy.dir@/WEB-INF/fonts/"
/>
</NODE>
<NODE
name=
"StandardCMSTemplates::PERFORMA_ADMIN_PORTAL"
>
...
...
cmsWebApp/webroot/extensions/adminportal/inc/htmlheader.jsp
View file @
001cb0ba
...
...
@@ -42,6 +42,13 @@
};
$
(
document
).
ready
(
function
(){
var
fontPath
=
'<%= StripeUtils.FONT_BASE_PATH %>'
;
console
.
log
(
fontPath
);
$
(
".oneit-radio input"
).
each
(
function
(){
if
(
$
(
this
).
is
(
':checked'
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment