|
226 | 226 | <nav class="tabs paymentHistoryTabs">
|
227 | 227 | <c:if test="${fullList}" >
|
228 | 228 | <span class="item active">View all</span>
|
229 |
| - <a href="/PactsMemberServlet?module=PaymentHistory&full_list=false" class="bcLink item">View pending<span class="view-pending-badge">${numPending}</span></a> |
| 229 | + <a href="/PactsMemberServlet?module=PaymentHistory&full_list=false" class="bcLink item">View pending |
| 230 | + <c:if test="${numPending ne 0}"> |
| 231 | + <span class="view-pending-badge">${numPending}</span> |
| 232 | + </c:if> |
| 233 | + </a> |
230 | 234 | <a href="/PactsMemberServlet?module=PaymentStatusSummary" class="bcLink item">Payments Summary</a>
|
231 | 235 | </c:if>
|
232 | 236 | <c:if test="${not fullList}" >
|
233 | 237 | <a href="/PactsMemberServlet?module=PaymentHistory&full_list=true" class="bcLink item">View all</a>
|
234 |
| - <span class="item active">View pending<span class="view-pending-badge">${numPending}</span></span> |
| 238 | + <span class="item active">View pending |
| 239 | + <c:if test="${numPending ne 0}"> |
| 240 | + <span class="view-pending-badge">${numPending}</span> |
| 241 | + </c:if> |
| 242 | + </span> |
235 | 243 | <a href="/PactsMemberServlet?module=PaymentStatusSummary" class="bcLink item">Payments Summary</a>
|
236 | 244 | </c:if>
|
237 | 245 | </nav>
|
|
242 | 250 | <button class="dropdown-toggle" type="button" onclick="onDropdownToggleClick()" id="paymentHistory-dropdown-toggle">
|
243 | 251 | <span class="toggle-value">
|
244 | 252 | ${fullList ? 'View all' : 'View pending'}
|
| 253 | + <c:if test="${not fullList}"> |
| 254 | + <c:if test="${numPending ne 0}"> |
| 255 | + <span class="view-pending-badge">${numPending}</span> |
| 256 | + </c:if> |
| 257 | + </c:if> |
245 | 258 | </span>
|
246 | 259 | <i class="icon icon-arrow-down"></i>
|
247 | 260 | </button>
|
|
251 | 264 | </a>
|
252 | 265 | <a href="/PactsMemberServlet?module=PaymentHistory&full_list=false" class="bcLink item ${fullList ? '' : 'active'}">
|
253 | 266 | View pending
|
| 267 | + <c:if test="${numPending ne 0}"> |
| 268 | + <span class="view-pending-badge">${numPending}</span> |
| 269 | + </c:if> |
254 | 270 | </a>
|
255 | 271 | <a href="/PactsMemberServlet?module=PaymentStatusSummary" class="bcLink item">
|
256 | 272 | Payments Summary
|
|
0 commit comments