Revision: 7594
http://languagetool.svn.sourceforge.net/languagetool/?rev=7594&view=rev
Author: dnaber
Date: 2012-06-30 18:10:42 +0000 (Sat, 30 Jun 2012)
Log Message:
-----------
rule detail page: display rule URL, if any
Modified Paths:
--------------
trunk/ltcommunity/grails-app/i18n/messages.properties
trunk/ltcommunity/grails-app/views/rule/show.gsp
Modified: trunk/ltcommunity/grails-app/i18n/messages.properties
===================================================================
--- trunk/ltcommunity/grails-app/i18n/messages.properties 2012-06-30
17:57:18 UTC (rev 7593)
+++ trunk/ltcommunity/grails-app/i18n/messages.properties 2012-06-30
18:10:42 UTC (rev 7594)
@@ -71,6 +71,7 @@
ltc.rule.show.description=Description:
ltc.rule.show.message=Message:
ltc.rule.show.category=Category:
+ltc.rule.show.link=Link:
ltc.rule.show.active=Active?
ltc.rule.show.incorrect.sentences=Incorrect sentences<br/>that this rule can
detect:
ltc.rule.show.corrections=Correction suggestion:
Modified: trunk/ltcommunity/grails-app/views/rule/show.gsp
===================================================================
--- trunk/ltcommunity/grails-app/views/rule/show.gsp 2012-06-30 17:57:18 UTC
(rev 7593)
+++ trunk/ltcommunity/grails-app/views/rule/show.gsp 2012-06-30 18:10:42 UTC
(rev 7594)
@@ -51,6 +51,12 @@
<td><g:message code="ltc.rule.show.category" /></td>
<td>${rule.category.name.encodeAsHTML()}</td>
</tr>
+ <g:if test="${rule.url}">
+ <tr>
+ <td><g:message code="ltc.rule.show.link" /></td>
+ <td><a
href="${rule.url}">${rule.url.encodeAsHTML()}</a></td>
+ </tr>
+ </g:if>
<tr>
<td><g:message code="ltc.rule.show.active" /></td>
<td>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs