Revision 5784
Added by ben leinfelder almost 14 years ago
lib/style/skins/semtools/resultset.xsl | ||
---|---|---|
69 | 69 |
<tr> |
70 | 70 |
<td align="left"> |
71 | 71 |
<p class="emphasis"> |
72 |
<xsl:number |
|
73 |
value="count(resultset/document)" /> |
|
72 |
<span class="resultCount"> |
|
73 |
<xsl:number |
|
74 |
value="count(resultset/document)" /> |
|
75 |
</span> |
|
74 | 76 |
total records found |
75 | 77 |
</p> |
76 | 78 |
</td> |
lib/style/skins/semtools/index.jsp | ||
---|---|---|
356 | 356 |
|
357 | 357 |
// stop the busy indicator |
358 | 358 |
$("#cartResults").busy("hide"); |
359 |
|
|
360 |
//set the count for the tab label |
|
361 |
var title = "Cart (" + $("#cartResults").find(".resultCount:first").html() + ")"; |
|
362 |
$("#searchTabs > ul > li").last().children("a").html("<span>" + title + "</span>"); |
|
363 |
|
|
359 | 364 |
}); |
360 | 365 |
return true; |
361 | 366 |
} |
Also available in: Unified diff
show the number of records in the cart on the tab label, ie:
Cart (3)