Revision: 14786
http://gate.svn.sourceforge.net/gate/?rev=14786&view=rev
Author: valyt
Date: 2011-12-16 12:10:14 +0000 (Fri, 16 Dec 2011)
Log Message:
-----------
Show "No Scoring" when scorer is null (instead of "").
Modified Paths:
--------------
mimir/trunk/mimir-web/grails-app/views/indexAdmin/admin.gsp
Modified: mimir/trunk/mimir-web/grails-app/views/indexAdmin/admin.gsp
===================================================================
--- mimir/trunk/mimir-web/grails-app/views/indexAdmin/admin.gsp 2011-12-16
12:07:32 UTC (rev 14785)
+++ mimir/trunk/mimir-web/grails-app/views/indexAdmin/admin.gsp 2011-12-16
12:10:14 UTC (rev 14786)
@@ -73,13 +73,12 @@
</td>
</tr>
<g:if test="${indexInstance instanceof LocalIndex}" >
- <tr class="prop">
- <td valign="top" class="name">Scorer:</td>
- <td valign="top" class="value">
- ${indexInstance.scorer}
- </td>
- </tr>
- </g:if>
+ <tr class="prop">
+ <td valign="top" class="name">Scorer:</td>
+ <td valign="top" class="value">
+ ${indexInstance.scorer?:'No Scoring'}</td>
+ </tr>
+ </g:if>
<g:if test="${indexInstance.state == Index.SEARCHING}">
<tr class="prop">
<td colspan="2">
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs