public inbox for gnats-prs@sourceware.org
help / color / mirror / Atom feed
* Re: gnatsweb/194: Audit-Trail word-wrap
@ 2001-08-19 14:58 yngves
  0 siblings, 0 replies; 3+ messages in thread
From: yngves @ 2001-08-19 14:58 UTC (permalink / raw)
  To: gnats-prs, jfunk, yngves

Synopsis: Audit-Trail word-wrap

State-Changed-From-To: open->closed
State-Changed-By: yngves
State-Changed-When: Sun Aug 19 14:58:31 2001
State-Changed-Why:
    The Audit Trail mainly consists of relevant mail messages and Reason Changed fields input by users. Mail should be pre-wrapped, so I won't do anything to that. However, I have set a wrap=hard attribute on the Reason Changed text areas. Thus, the contents of these fields are prewrapped. I think this solves the problem fairly satisfactorily. I have only done this to the 4.x branch of Gnatsweb.

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=194&database=gnats


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gnatsweb/194: Audit-Trail word-wrap
@ 2001-08-16  1:00 yngves
  0 siblings, 0 replies; 3+ messages in thread
From: yngves @ 2001-08-16  1:00 UTC (permalink / raw)
  To: gnats-prs, jfunk, nobody, yngves

Synopsis: Audit-Trail word-wrap

Responsible-Changed-From-To: unassigned->yngves
Responsible-Changed-By: yngves
Responsible-Changed-When: Thu Aug 16 01:00:45 2001
Responsible-Changed-Why:
    Will have a look at this, but this is an issue that always seems to crop up in web-based applications, so it might not have a catch-all solution, and I may leave it as it is.

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=194&database=gnats


^ permalink raw reply	[flat|nested] 3+ messages in thread

* gnatsweb/194: Audit-Trail word-wrap
@ 2001-05-17 19:54 jfunk
  0 siblings, 0 replies; 3+ messages in thread
From: jfunk @ 2001-05-17 19:54 UTC (permalink / raw)
  To: gnats-gnats

>Number:         194
>Category:       gnatsweb
>Synopsis:       Audit-Trail word-wrap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 17 19:54:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jason Funk
>Release:        2.7
>Organization:
>Environment:
Linux
>Description:
On my browser the Audit-Trail (enclosed in a PRE block) would not word-wrap.  This is hard to read if you have a long -Why line.  I hacked a solution (see Fix).  Don't know if you have this fixed in 2.8.
>How-To-Repeat:

>Fix:
  # Massive hack on my part to cause Why text to be word-wrapped.
  # Word-wrapping is not required for PRE blocks.
  # Originally was:
  # print "<h3>Audit Trail:</h3>\n",
  #   $q->pre($q->escapeHTML($fields{'Audit-Trail'}));
  print "<h3>Audit Trail:</h3>\n";
  my $lines = $q->escapeHTML($fields{'Audit-Trail'});
  $lines =~ s/    /&nbsp;&nbsp;&nbsp;&nbsp;/gm;
  $lines =~ s/$/<br>/gm;
  $lines =~ s/<br>$//; # previous substitution added one too many <br>'s
  print $q->tt($lines);
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-19 14:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-19 14:58 gnatsweb/194: Audit-Trail word-wrap yngves
  -- strict thread matches above, loose matches on Subject: below --
2001-08-16  1:00 yngves
2001-05-17 19:54 jfunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).