[Rt-commit] rt branch, 4.0/remove-extraneous-parens, created. rt-4.0.0rc7-149-gadeef86
Kevin Falcone
falcone at bestpractical.com
Mon Apr 11 17:58:57 EDT 2011
The branch, 4.0/remove-extraneous-parens has been created
at adeef86f25f0d6f6dac4d14954a3859ae1103940 (commit)
- Log -----------------------------------------------------------------
commit adeef86f25f0d6f6dac4d14954a3859ae1103940
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Mon Apr 11 17:42:54 2011 -0400
Showing () when there is no Queue description has bothered me forever
diff --git a/share/html/SelfService/Create.html b/share/html/SelfService/Create.html
index 56ef79f..a7965f9 100755
--- a/share/html/SelfService/Create.html
+++ b/share/html/SelfService/Create.html
@@ -58,7 +58,7 @@
</td>
<td class="value">
<input type="hidden" class="hidden" name="Queue" value="<%$queue_obj->id || ''%>" />
- <strong><%$queue_obj->Name || ''%></strong> (<%$queue_obj->Description || ''%>)
+ <strong><%$queue_obj->Name || ''%></strong> <% $queue_obj->Description ? '('.$queue_obj->Description.')' : '' %>
</td>
</tr>
<% $m->callback( CallbackName => 'AfterQueue', %ARGS, QueueObj => $queue_obj ) %>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list