PageOuter UX improved

main
Inga 🏳‍🌈 15 years ago
parent 7e2a2439c3
commit e16f4b2ac7
  1. 2
      Builder/IISMainHandler/build.txt
  2. 2
      Builder/IISUploadHandler/build.txt
  3. 3
      IISMainHandler/PageOuter.cs
  4. 12
      templates/Full/elems/ThreadInfo.xslt

@ -63,7 +63,8 @@ namespace FLocal.IISHandler {
new XElement("start", this.start),
new XElement("count", this.count),
new XElement("total", this.total),
new XElement("perPage", this.perPage)
new XElement("perPage", this.perPage),
new XElement("isEmpty", (this.perPage >= this.total).ToPlainString())
);
if(this.count > 0) {
if(this.start + this.count < this.total) {

@ -44,11 +44,13 @@
</xsl:attribute>
<xsl:value-of select="title"/>
</a>
<span class="small" style="margin-left:1.5em">
<xsl:apply-templates select="pageOuter" mode="withoutCurrent">
<xsl:with-param name="baseLink">/Thread/<xsl:value-of select="id"/>/</xsl:with-param>
</xsl:apply-templates>
</span>
<xsl:if test="pageOuter/isEmpty='false'">
<span class="small" style="margin-left:1.5em">
<xsl:apply-templates select="pageOuter" mode="withoutCurrent">
<xsl:with-param name="baseLink">/Thread/<xsl:value-of select="id"/>/</xsl:with-param>
</xsl:apply-templates>
</span>
</xsl:if>
</td>
<td align="left" nowrap="nowrap">
<a>

Loading…
Cancel
Save