Commit f8e4d713 authored by Stephan Kreutzer's avatar Stephan Kreutzer

Archive/hide completed top-level activities.

parent 4d15f1ed
......@@ -67,6 +67,11 @@ program, it's user data that is only processed. A different license may apply.
text-decoration: line-through;
}
.abandoned
{
text-decoration: line-through;
}
#content-pane
{
float: left;
......@@ -180,9 +185,9 @@ program, it's user data that is only processed. A different license may apply.
<div id="content-pane">
<h2>Activities</h2>
<div id="content-target">
<xsl:if test="./src:activities/src:activity">
<xsl:if test="./src:activities/src:activity[not(@status='complete')]">
<ul>
<xsl:apply-templates select="./src:activities/src:activity"/>
<xsl:apply-templates select="./src:activities/src:activity[not(@status='complete')]"/>
</ul>
</xsl:if>
</div>
......@@ -218,6 +223,9 @@ program, it's user data that is only processed. A different license may apply.
<xsl:when test="@status='active'">
<xsl:attribute name="class"><xsl:text>active</xsl:text></xsl:attribute>
</xsl:when>
<xsl:when test="@status='abandoned'">
<xsl:attribute name="class"><xsl:text>abandoned</xsl:text></xsl:attribute>
</xsl:when>
<xsl:when test="@status='complete'">
<xsl:attribute name="class"><xsl:text>complete</xsl:text></xsl:attribute>
<xsl:if test="@completed">
......
......@@ -37,6 +37,9 @@ along with Activities. If not, see <http://www.gnu.org/licenses/>.
<activity status="filed">
<title>Implement an endpoint that reads/filters the format and allows clients the selection of a particular format/rendering/language via HTTP Header Content-Type/Language negotiation (and alternatively GET-parameters)</title>
</activity>
<activity status="abandoned">
<title>Track activity creation date</title>
</activity>
</sub-activities>
</activity>
</activities>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment