Layer icons implemented

main
Inga 🏳‍🌈 14 years ago
parent 16e750b946
commit ee6eadcd62
  1. 2
      Builder/IISMainHandler/build.txt
  2. 2
      Builder/IISUploadHandler/build.txt
  3. 1
      Common/dataobjects/Thread.cs
  4. BIN
      static/images/chat-notread.gif
  5. BIN
      static/images/chat-read.gif
  6. 0
      static/images/message-1-notread.gif
  7. 0
      static/images/message-1-read.gif
  8. BIN
      static/images/message-2-notread.gif
  9. BIN
      static/images/message-2-read.gif
  10. BIN
      static/images/message-3-notread.gif
  11. BIN
      static/images/message-3-read.gif
  12. 4
      templates/Full/elems/PostInfo.xslt
  13. 4
      templates/Full/elems/ThreadInfo.xslt
  14. 2
      templates/Full/elems/UploadInfo.xslt

@ -173,6 +173,7 @@ namespace FLocal.Common.dataobjects {
new XElement("totalPosts", this.totalPosts),
new XElement("totalViews", this.totalViews),
new XElement("bodyShort", this.firstPost.bodyShort),
new XElement("layerId", this.firstPost.layerId),
context.formatTotalPosts(this.totalPosts)
);
if(includeFirstPost) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 B

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 153 B

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

@ -21,10 +21,10 @@
<img border="0" alt="" style="vertical-align: text-bottom">
<xsl:choose>
<xsl:when test="isUnread='true'">
<xsl:attribute name="src">/static/images/book-notread.gif</xsl:attribute>
<xsl:attribute name="src">/static/images/message-<xsl:value-of select="layerId"/>-notread.gif</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="src">/static/images/book-read.gif</xsl:attribute>
<xsl:attribute name="src">/static/images/message-<xsl:value-of select="layerId"/>-read.gif</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</img>

@ -16,10 +16,10 @@
<img alt="*" hspace="5" style="vertical-align: text-bottom">
<xsl:choose>
<xsl:when test="afterLastRead&lt;=lastPostId">
<xsl:attribute name="src">/static/images/book-notread.gif</xsl:attribute>
<xsl:attribute name="src">/static/images/message-<xsl:value-of select="layerId"/>-notread.gif</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="src">/static/images/book-read.gif</xsl:attribute>
<xsl:attribute name="src">/static/images/message-<xsl:value-of select="layerId"/>-read.gif</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</img>

@ -13,7 +13,7 @@
<td class="subjecttable">
<a target="_blank" class="separate">
<xsl:attribute name="href">/Upload/Item/<xsl:value-of select="id"/>/</xsl:attribute>
<img border="0" src="/static/images/book-read.gif" alt="" style="vertical-align: text-bottom" />
<img border="0" src="/static/images/message-1-read.gif" alt="" style="vertical-align: text-bottom" />
</a>
<b class="separate"><xsl:value-of select="filename"/></b>
<xsl:if test="parentPost/post">

Loading…
Cancel
Save