Skip to content

Commit

Permalink
Fixed indent issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lillem4n committed Mar 14, 2013
1 parent e305dba commit ffc6696
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions xsl/admin/bills.xsl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:include href="tpl.default.xsl" />
<xsl:include href="tpl.default.xsl" />

<xsl:template name="tabs">
<ul class="tabs">
Expand All @@ -25,23 +25,23 @@
</xsl:template>


<xsl:template match="/">
<xsl:if test="/root/content[../meta/controller = 'bills' and ../meta/action = 'index']">
<xsl:call-template name="template">
<xsl:with-param name="title" select="'Admin - Bills'" />
<xsl:with-param name="h1" select="'Bills'" />
</xsl:call-template>
</xsl:if>
<xsl:if test="/root/content[../meta/controller = 'bills' and ../meta/action = 'bill']">
<xsl:call-template name="template">
<xsl:with-param name="title" select="'Admin - Bills'" />
<xsl:with-param name="h1" select="'New bill'" />
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template match="/">
<xsl:if test="/root/content[../meta/controller = 'bills' and ../meta/action = 'index']">
<xsl:call-template name="template">
<xsl:with-param name="title" select="'Admin - Bills'" />
<xsl:with-param name="h1" select="'Bills'" />
</xsl:call-template>
</xsl:if>
<xsl:if test="/root/content[../meta/controller = 'bills' and ../meta/action = 'bill']">
<xsl:call-template name="template">
<xsl:with-param name="title" select="'Admin - Bills'" />
<xsl:with-param name="h1" select="'New bill'" />
</xsl:call-template>
</xsl:if>
</xsl:template>

<!-- List bills -->
<xsl:template match="content[../meta/controller = 'bills' and ../meta/action = 'index']">
<xsl:template match="content[../meta/controller = 'bills' and ../meta/action = 'index']">
<table>
<thead>
<tr>
Expand Down Expand Up @@ -84,10 +84,10 @@
</xsl:for-each>
</tbody>
</table>
</xsl:template>
</xsl:template>

<!-- New bill -->
<xsl:template match="content[../meta/controller = 'bills' and ../meta/action = 'bill']">
<xsl:template match="content[../meta/controller = 'bills' and ../meta/action = 'bill']">
<form method="post" action="bills/bill">

<label for="add_field">
Expand Down Expand Up @@ -163,6 +163,6 @@
</xsl:call-template>

</form>
</xsl:template>
</xsl:template>

</xsl:stylesheet>

0 comments on commit ffc6696

Please sign in to comment.