Skip to content

Commit 8a14dd6

Browse files
committed
Removed old Events tab and updated text for upcoming hackathon
1 parent 66ef371 commit 8a14dd6

1 file changed

Lines changed: 8 additions & 33 deletions

File tree

events/templates/Layout/HackathonsPage.ss

Lines changed: 8 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
</div>
1111
</div>
1212

13-
<div class="days-pretext">$EventsYearlyCountText() - <a href="#" class="deep-link" data-tab="events_tab">find an upcoming OpenStack Hackathon in your region!</a></div>
14-
1513
<div class="container slider-container">
1614
<section class="regular slider">
1715
<% loop $HeaderPics.Sort(SortOrder) %>
@@ -29,9 +27,6 @@
2927
<li class="tab-host_tab nav-item">
3028
<a href="#host_tab" class="nav-link" role="tab" data-toggle="tab">Host An OpenStack Hackathon</a>
3129
</li>
32-
<li class="tab-events_tab nav-item">
33-
<a href="#events_tab" class="nav-link" role="tab" data-toggle="tab">Upcoming Events</a>
34-
</li>
3530
</ul>
3631
</div>
3732
</div>
@@ -43,8 +38,14 @@
4338
<div role="tabpanel" class="tab-pane fade in active" id="about_tab">
4439
<div class="row">
4540
<div class="col-sm-12"> $AboutDescription </div>
41+
</div>
42+
<h2 class="tab-title">Coming Up</h2>
43+
<div class="row">
4644
<div class="col-sm-12">
47-
<p class="mr5-30">$EventsYearlyCountText() - <a href="{$Top.Link()}#tab=events_tab" target="_blank">find an upcoming OpenStack Hackathon in your region!</a> </p>
45+
<p>Our next OpenStack Hackathon is:</p>
46+
<p><a href="http://hackathon.openstack.org.au/" target="_blank">Sydney, Australia</a><br/>
47+
November 3-5, 2017
48+
</p>
4849
</div>
4950
</div>
5051
<h2 class="tab-title">Previous Hackathon Events</h2>
@@ -228,33 +229,7 @@
228229
<% end_if %>
229230
</div>
230231

231-
<div role="tabpanel" class="tab-pane fade in" id="events_tab">
232-
<div class="inner-osdays">
233-
<h2 class="tab-title">Upcoming OpenStack Hackathons</h2>
234-
<div class="osdays-events">
235-
<% if $FutureHackathonsEvents(22) %>
236-
<% loop $FutureHackathonsEvents(22) %>
237-
<div class="row osdays-event">
238-
<div class="col-sm-2 col-xs-3"><div class="osd-date">$formatDateRange</div></div>
239-
<div class="col-sm-4 col-xs-4">$Title</div>
240-
<div class="col-sm-3 col-xs-3">$Location</div>
241-
<div class="col-sm-3 col-xs-2 text-right to-top">
242-
<a href="$EventLink">More Details</a>
243-
<a class="more-img" href="$EventLink"></a>
244-
</div>
245-
</div>
246-
<% end_loop %>
247-
<% else %>
248-
<h3>Sorry, there are no upcoming events listed at the moment.</h3>
249-
<p class="details">
250-
Wow! It really rare that we don't have any upcoming events on display.
251-
Somewhere in the world there's sure to be an OpenStack event in the near future&mdash;
252-
We probably just need to update this list. Please check back soon for more details.
253-
</p>
254-
<% end_if %>
255-
</div>
256-
</div>
257-
</div>
232+
258233
</div>
259234
</div>
260235
</div>

0 commit comments

Comments
 (0)