File tree Expand file tree Collapse file tree
frontend/src/components/Blocks/InfoBox Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11## 1.0.21 (unreleased)
22
33
4+ - Fix event info block: Move Website URL to separate section with its own heading. [ #175 ]
45- Update to Relstorage 4.2.1
56- Simplify and make mxdev config explicit
67- Add collective.casestudy to mxdev, pin 1.0.0b1 for testing/production.
Original file line number Diff line number Diff line change @@ -68,10 +68,8 @@ const Body = (props) => {
6868 </ >
6969 ) }
7070
71- { /* Contatcss */ }
72- { ( properties . contact_name ||
73- properties . event_url ||
74- properties . contact_phone ) && (
71+ { /* Contacts */ }
72+ { ( properties . contact_name || properties . contact_phone ) && (
7573 < div className = "info-box-contacts" >
7674 < h4 > { intl . formatMessage ( messages . contact ) } </ h4 >
7775
@@ -97,20 +95,25 @@ const Body = (props) => {
9795 { }
9896 </ p >
9997 ) }
100- { properties . event_url && (
101- < p >
102- < a
103- href = { properties . event_url }
104- target = "_blank"
105- rel = "noopener noreferrer"
106- >
107- { intl . formatMessage ( messages . website ) }
108- </ a >
109- </ p >
110- ) }
11198 </ div >
11299 ) }
113100
101+ { /* Website */ }
102+ { properties . event_url && (
103+ < >
104+ < h4 > { intl . formatMessage ( messages . website ) } </ h4 >
105+ < p >
106+ < a
107+ href = { properties . event_url }
108+ target = "_blank"
109+ rel = "noopener noreferrer"
110+ >
111+ { properties . event_url }
112+ </ a >
113+ </ p >
114+ </ >
115+ ) }
116+
114117 { /* Attendees */ }
115118 { properties . attendees . length > 0 && (
116119 < >
You can’t perform that action at this time.
0 commit comments