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("start", this.start),
new XElement("count", this.count), new XElement("count", this.count),
new XElement("total", this.total), 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.count > 0) {
if(this.start + this.count < this.total) { if(this.start + this.count < this.total) {

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

Loading…
Cancel
Save