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

Commit 244da6e

Browse files
deedeeDushyant Bhalgami
authored and
Dushyant Bhalgami
committed
fix challenge detail link
1 parent b30bd68 commit 244da6e

File tree

1 file changed

+1
-15
lines changed
  • src/web/WEB-INF/includes/contest

1 file changed

+1
-15
lines changed

src/web/WEB-INF/includes/contest/link.jsp

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,7 @@
4040
</s:if>
4141

4242

43-
44-
<s:if test="viewData.contestStats.isStudio">
45-
<s:set var="contestLink" value="'http://' + #application['SERVER_CONFIG_NEW_SERVER_NAME'] + '/challenge-details/' + viewData.contestStats.contest.id + '/?type=design&noncache=true'"/>
46-
</s:if>
47-
<s:elseif test="marathon">
48-
<s:if test="viewData.active">
49-
<s:set var="contestLink" value="'http://' + #application['SERVER_CONFIG_SERVER_NAME'] + '/tc?module=MatchDetails&rd=' + viewData.roundId"/>
50-
</s:if>
51-
<s:else>
52-
<s:set var="contestLink" value="'http://' + #application['SERVER_CONFIG_SERVER_NAME'] + '/tc?module=MatchDetails&rd=' + viewData.roundId"/>
53-
</s:else>
54-
</s:elseif>
55-
<s:else>
56-
<s:set var="contestLink" value="'http://' + #application['SERVER_CONFIG_NEW_SERVER_NAME'] + '/challenge-details/' + viewData.contestStats.contest.id + '/?type=develop&noncache=true'"/>
57-
</s:else>
43+
<s:set var="contestLink" value="'http://' + #application['SERVER_CONFIG_NEW_SERVER_NAME'] + '/challenge/' + viewData.contestStats.contest.id"/>
5844

5945
<s:if test="marathon">
6046
<s:if test="viewData.active">

0 commit comments

Comments
 (0)