[Rt-commit] r13722 - in rt/3.8/trunk: . etc share/html/Widgets/Form
kyoki at bestpractical.com
kyoki at bestpractical.com
Tue Jul 1 17:03:25 EDT 2008
Author: kyoki
Date: Tue Jul 1 17:03:24 2008
New Revision: 13722
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/etc/RT_Config.pm.in
rt/3.8/trunk/lib/RT/Config.pm
rt/3.8/trunk/share/html/Widgets/Form/Boolean
Log:
r23506 at nyx: kyoki | 2008-07-01 17:03:19 -0400
RT-Ticket: 8374
RT-Status: Resolved
RT-Update: Correspond
Fixed description and added Hints field to the boolean widget. Jesse, can you look at this and let me know if the description is better?
Modified: rt/3.8/trunk/etc/RT_Config.pm.in
==============================================================================
--- rt/3.8/trunk/etc/RT_Config.pm.in (original)
+++ rt/3.8/trunk/etc/RT_Config.pm.in Tue Jul 1 17:03:24 2008
@@ -1010,7 +1010,7 @@
=item C<$PlainTextPre>
-Normally plain text attachments are displayed as HTML with line
+Normally plaintext attachments are displayed as HTML with line
breaks preserved. This causes space- and tab-based formatting not
to be displayed correctly. By setting $PlainTextPre they'll be
displayed using <pre> instead so such formatting works, but they'll
Modified: rt/3.8/trunk/lib/RT/Config.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Config.pm (original)
+++ rt/3.8/trunk/lib/RT/Config.pm Tue Jul 1 17:03:24 2008
@@ -172,7 +172,8 @@
Overridable => 1,
Widget => '/Widgets/Form/Boolean',
WidgetArguments => {
- Description => 'Use fixed-with font to display messages',
+ Description => 'Use monospace font',
+ Hints => "Use fixed-width font to display plaintext messages"
},
},
DateTimeFormat => {
Modified: rt/3.8/trunk/share/html/Widgets/Form/Boolean
==============================================================================
--- rt/3.8/trunk/share/html/Widgets/Form/Boolean (original)
+++ rt/3.8/trunk/share/html/Widgets/Form/Boolean Tue Jul 1 17:03:24 2008
@@ -51,10 +51,12 @@
<div id="form-box-<% lc $Name %>" class="widget">
<span class="label description"><% $Description %></span>
<span class="value"><& SELF:InputOnly, %ARGS &></span>
+<span class="hints"><% $Hints %></span>
</div>
<%ARGS>
$Name => undef,
$Description => undef,
+$Hints => ''
</%ARGS>
<%METHOD InputOnly>
More information about the Rt-commit
mailing list