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

Commit 99afd11

Browse files
committed
reskin-payment: back button to challenges
1 parent c8e92de commit 99afd11

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/main/com/topcoder/web/tc/view/pacts/client/PaymentHistory.jsp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<%@ page import="com.topcoder.web.ejb.pacts.payments.EnteredIntoPaymentSystemPaymentStatus" %>
2222
<%@ page import="com.topcoder.web.ejb.pacts.payments.AccruingPaymentStatus" %>
2323
<%@ page import="com.topcoder.web.ejb.pacts.payments.OwedPaymentStatus" %>
24+
<%@ page import="com.topcoder.shared.util.ApplicationServer" %>
2425
<%@ page import="java.util.Arrays" %>
2526

2627
<%@ page language="java" %>
@@ -196,7 +197,7 @@
196197
<% } %>
197198

198199
<c:if test="${isReskin}">
199-
<a href="javascript:history.back()" class="back-btn">
200+
<a href="https://<%=ApplicationServer.SERVER_NAME%>/challenges" class="back-btn">
200201
<i class="arrow-prev-icon"></i>
201202
</a>
202203
</c:if>

src/main/com/topcoder/web/tc/view/pacts/client/PaymentStatusSummary.jsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<%@ page language="java"
33
import="com.topcoder.shared.dataAccess.resultSet.ResultSetContainer,
44
com.topcoder.shared.dataAccess.DataAccessConstants,
5+
com.topcoder.shared.util.ApplicationServer,
56
com.topcoder.web.tc.Constants" %>
6-
77
<%@ page language="java" %>
88
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
99
<%@ taglib uri="rsc-taglib.tld" prefix="rsc" %>
@@ -74,7 +74,7 @@
7474
</div>
7575

7676
<c:if test="${isReskin}">
77-
<a href="javascript:history.back()" class="back-btn">
77+
<a href="https://<%=ApplicationServer.SERVER_NAME%>/challenges" class="back-btn">
7878
<i class="arrow-prev-icon"></i>
7979
</a>
8080
</c:if>

0 commit comments

Comments
 (0)