mango r270 - in branches/django: . www
- From: ovitters svn gnome org
- To: svn-commits-list gnome org,gnome-sysadmin gnome org
- Subject: mango r270 - in branches/django: . www
- Date: Fri, 27 Jun 2008 22:21:25 +0000 (UTC)
Author: ovitters
Date: Fri Jun 27 22:21:25 2008
New Revision: 270
URL: http://svn.gnome.org/viewvc/mango?rev=270&view=rev
Log:
* www/list_accounts.xsl: Add status column. Also, submit the search
form whenever there status dropdown changes.
Modified:
branches/django/ (props changed)
branches/django/ChangeLog
branches/django/www/list_accounts.xsl
Modified: branches/django/www/list_accounts.xsl
==============================================================================
--- branches/django/www/list_accounts.xsl (original)
+++ branches/django/www/list_accounts.xsl Fri Jun 27 22:21:25 2008
@@ -22,7 +22,7 @@
<noscript>
<input type="submit" value="> >"/>
</noscript>
- <select name="filter_status">
+ <select name="filter_status" onchange="this.form.submit()">
<option value="S"><xsl:if test="filter/status = 'S'"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if>
Awaiting setup</option>
<option value="V"><xsl:if test="filter/status = 'V'"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if>
@@ -55,8 +55,9 @@
<thead>
<th>UID</th>
<th>Name</th>
+ <th>Status</th>
<th>Approved For</th>
- <th>Created On</th>
+ <th>Requested On</th>
<th>Action</th>
</thead>
<tbody>
@@ -72,6 +73,15 @@
<xsl:apply-templates select="@cn"/>
</td>
<td valign="top">
+ <xsl:choose>
+ <xsl:when test="@status = 'S'">Setup</xsl:when>
+ <xsl:when test="@status = 'V'">Vouchers</xsl:when>
+ <xsl:when test="@status = 'M'">Mail verification</xsl:when>
+ <xsl:when test="@status = 'A'">Created</xsl:when>
+ <xsl:when test="@status = 'R'">Rejected</xsl:when>
+ </xsl:choose>
+ </td>
+ <td valign="top">
<xsl:for-each select="groups/group">
<tt><xsl:value-of select='@cn'/></tt>
<xsl:if test="@approvedby != ''"> by <xsl:value-of select="@approvedby"/> for <xsl:value-of select="@module"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]