Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit f5e9ec2

Browse files
committed
updated review opps to remove signup links and cleaned up footer and removed bug race tab.
1 parent dc31665 commit f5e9ec2

File tree

4 files changed

+16
-24
lines changed

4 files changed

+16
-24
lines changed

src/main/com/topcoder/web/studio/view/activeContests.jsp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,6 @@
119119
<span class="tabMask"><span class="text">Past Challenges</span></span>
120120
</a>
121121
</li>
122-
<li>
123-
<a href="${sessionInfo.servletPath}?module=ViewActiveBugRaces">
124-
<span class="tabMask"><span class="text">Active Race Competitions</span></span>
125-
</a>
126-
</li>
127122
<li>
128123
<a href="${sessionInfo.servletPath}?module=ViewReviewOpportunities">
129124
<span class="tabMask"><span class="text">Review Opportunities</span></span>

src/main/com/topcoder/web/studio/view/foot.jsp

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,13 @@
4444
</a>
4545
</div>
4646
<div class="nav">
47-
<span class="copyright">Copyright TopCoder, Inc. 2001-2016</span>
48-
<span class="line"></span><a href="https://www.topcoder.com/contact-us">Contact Us</a>
49-
<span class="line"></span><a href="https://www.topcoder.com/about">About Us</a>
47+
<span class="copyright">Copyright TopCoder, Inc. 2001-<script type="text/javascript">d=new Date();document.write(d.getFullYear());</script></span>
48+
<span class="line"></span><a href="https://www.topcoder.com/contact-us">Contact Us</a>
49+
<span class="line"></span><a href="http://www.topcoder.com/home/studio/what-is-studio/">About TopCoder Studio</a>
50+
<span class="line"></span><a href="http://www.topcoder.com/about/">About TopCoder</a>
5051
<span class="line"></span><a href="http://www.topcoder.com/tc?module=Static&d1=pressroom&d2=index">News</a>
5152
<span class="line"></span><a href="https://www.topcoder.com/community/how-it-works/privacy-policy/">Privacy Policy</a>
52-
<span class="line"></span><a href="https://www.topcoder.com/community/how-it-works/terms/">Terms</a>
53+
<span class="line"></span><a href="https://www.topcoder.com/community/how-it-works/terms/">Terms &amp; Conditions</a>
5354
</div>
5455

5556
</div>
@@ -72,6 +73,3 @@
7273
7374
</script>
7475

75-
<script type="text/javascript">
76-
(function () { var done = false; var script = document.createElement("script"); script.async = true; script.type = "text/javascript"; script.src = "https://purechat.com/VisitorWidget/WidgetScript"; document.getElementsByTagName('HEAD').item(0).appendChild(script); script.onreadystatechange = script.onload = function (e) { if (!done && (!this.readyState || this.readyState == "loaded" || this.readyState == "complete")) { var w = new PCWidget({ c: '32782020-1040-4f6a-a980-bb27ddb5204a', f: true }); done = true; } }; })();
77-
</script>

src/main/com/topcoder/web/studio/view/pastContests.jsp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,6 @@
194194
<span class="tabMask"><span class="text">Past Challenges</span></span>
195195
</a>
196196
</li>
197-
<li>
198-
<a href="${sessionInfo.servletPath}?module=ViewActiveBugRaces">
199-
<span class="tabMask"><span class="text">Active Race Competitions</span></span>
200-
</a>
201-
</li>
202197
<li>
203198
<a href="${sessionInfo.servletPath}?module=ViewReviewOpportunities">
204199
<span class="tabMask"><span class="text">Review Opportunities</span></span>

src/main/com/topcoder/web/studio/view/reviewOpportunities.jsp

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,6 @@
123123
<span class="tabMask"><span class="text">Past Challenges</span></span>
124124
</a>
125125
</li>
126-
<li>
127-
<a href="${sessionInfo.servletPath}?module=ViewActiveBugRaces">
128-
<span class="tabMask"><span class="text">Active Race Competitions</span></span>
129-
</a>
130-
</li>
131126
<li class="active">
132127
<a href="${sessionInfo.servletPath}?module=ViewReviewOpportunities">
133128
<span class="tabMask"><span class="text">Review Opportunities</span></span>
@@ -233,18 +228,27 @@
233228
<td class="purse">
234229
<fmt:formatNumber value="${payments[status.index]}" pattern="$###,###.00"/>
235230
</td>
231+
236232
<td class="last">
237233
<c:choose>
238-
<c:when test="${resultRow.map['reviewer_id'] eq 0}">
239-
<a href="${isSpecReview ? SPEC_REVIEW_REGISTRATION_LINK : SCREENING_REVIEW_REGISTRATION_LINK}=${resultRow.map['contest_id']}">
234+
<c:when test="${isSpecReview && resultRow.map['reviewer_id'] eq 0}">
235+
<%--<a href="${isSpecReview ? SPEC_REVIEW_REGISTRATION_LINK : SCREENING_REVIEW_REGISTRATION_LINK}=${resultRow.map['contest_id']}">--%>
236+
<a href="${isSpecReview ? SPEC_REVIEW_REGISTRATION_LINK : '#'}=${resultRow.map['contest_id']}">
240237
Apply Now
241238
</a>
242239
</c:when>
240+
<c:when test="${!isSpecReview && resultRow.map['reviewer_id'] eq 0}">
241+
Pending
242+
</c:when>
243+
<c:when test="${!isSpecReview && resultRow.map['reviewer_id'] ne 0}">
244+
<studio:handle coderId="${resultRow.map['reviewer_id']}" />
245+
</c:when>
243246
<c:otherwise>
244247
<studio:handle coderId="${resultRow.map['reviewer_id']}" />
245248
</c:otherwise>
246249
</c:choose>
247250
</td>
251+
248252
</tr>
249253
</c:forEach>
250254
</c:otherwise>

0 commit comments

Comments
 (0)