File tree 3 files changed +21
-13
lines changed
components/x-gift-article/src
3 files changed +21
-13
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import RadioButtonsSection from './RadioButtonsSection'
4
4
import UrlSection from './UrlSection'
5
5
import MobileShareButtons from './MobileShareButtons'
6
6
import CopyConfirmation from './CopyConfirmation'
7
+ import { ShareType } from './lib/constants'
7
8
8
9
export default ( props ) => (
9
10
< div className = "x-gift-article" >
@@ -36,6 +37,20 @@ export default (props) => (
36
37
/>
37
38
) }
38
39
40
+ { props . shareType === ShareType . enterprise && ! props . enterpriseFirstTimeUser && (
41
+ < div className = "x-gift-article-message--link-wrapper" >
42
+ < a
43
+ className = "x-gift-article-message--link"
44
+ href = "https://enterprise-sharing-dashboard.ft.com"
45
+ target = "_blank"
46
+ rel = "noreferrer"
47
+ data-trackable = "enterprise-sharing-dashboard"
48
+ >
49
+ View all Enterprise Links
50
+ </ a >
51
+ </ div >
52
+ ) }
53
+
39
54
{ props . showMobileShareLinks && < MobileShareButtons mobileShareLinks = { props . mobileShareLinks } /> }
40
55
</ div >
41
56
)
Original file line number Diff line number Diff line change @@ -115,17 +115,6 @@ export default ({
115
115
return (
116
116
< div className = "x-gift-article-message" >
117
117
Your organisation has < strong > Enterprise Sharing credits</ strong > available for you to use
118
- < br />
119
- < br />
120
- < a
121
- className = "x-gift-article-message--link"
122
- href = "https://enterprise-sharing-dashboard.ft.com"
123
- target = "_blank"
124
- rel = "noreferrer"
125
- data-trackable = "enterprise-sharing-dashboard"
126
- >
127
- View all Enterprise Links
128
- </ a >
129
118
</ div >
130
119
)
131
120
} else {
Original file line number Diff line number Diff line change 6
6
margin-top : oSpacingByName (' s3' );
7
7
}
8
8
9
- .x-gift-article-message--link {
10
- color : oColorsByName (' teal' );
9
+ .x-gift-article-message--link-wrapper {
10
+ margin-top : oSpacingByName (' s3' );
11
+
12
+ .x-gift-article-message--link {
13
+ color : oColorsByName (' teal' );
14
+ }
11
15
}
12
16
13
17
.x-gift-article-message--enterprise {
You can’t perform that action at this time.
0 commit comments