[jboss-svn-commits] JBL Code SVN: r25785 - labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/src/main/web/admin.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Mar 23 06:51:35 EDT 2009
Author: lkrzyzanek
Date: 2009-03-23 06:51:35 -0400 (Mon, 23 Mar 2009)
New Revision: 25785
Modified:
labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/src/main/web/admin/human-friendly-urls.ftl
Log:
added enable/disable function to Administration
Modified: labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/src/main/web/admin/human-friendly-urls.ftl
===================================================================
--- labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/src/main/web/admin/human-friendly-urls.ftl 2009-03-23 10:42:02 UTC (rev 25784)
+++ labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/src/main/web/admin/human-friendly-urls.ftl 2009-03-23 10:51:35 UTC (rev 25785)
@@ -17,7 +17,26 @@
<td><@s.text name="plugin.hfurl.admin.hf-urls.reindex.description"/>:</td>
<td><@s.submit value="${action.getText('plugin.hfurl.admin.hf-urls.reindex.submit')}"/></td>
</tr>
- </table
+ </table>
</@s.form>
+ <#if enabled>
+ <@s.form theme="simple" action="human-friendly-urls-disable">
+ <table>
+ <tr>
+ <td><@s.text name="plugin.hfurl.admin.hf-urls.enabled.description"/>:</td>
+ <td><@s.submit value="${action.getText('plugin.hfurl.admin.hf-urls.enabled.status.change2disabled')}" /></td>
+ </tr>
+ </table>
+ </@s.form>
+ <#else>
+ <@s.form theme="simple" action="human-friendly-urls-enable">
+ <table>
+ <tr>
+ <td><@s.text name="plugin.hfurl.admin.hf-urls.enabled.description"/>:</td>
+ <td><@s.submit value="${action.getText('plugin.hfurl.admin.hf-urls.enabled.status.change2enabled')}" /></td>
+ </tr>
+ </table>
+ </@s.form>
+ </#if>
</body>
</html>
\ No newline at end of file
More information about the jboss-svn-commits
mailing list