Scarab commit: svn commit: r11112 - branches/release/1.0.22/src/webapp/WEB-INF/templates/email/notification
[email protected] Fri, 13 Apr 2012 00:36:58 -0700 (PDT)
| Newsgroups | gmane.comp.java.scarab.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mcoss
Date: 2012-04-13 00:36:58-0700
New Revision: 11112
Modified:
branches/release/1.0.22/src/webapp/WEB-INF/templates/email/notification/IssueActivityHtml.vm
branches/release/1.0.22/src/webapp/WEB-INF/templates/email/notification/IssueActivityHtmlStyles.vm
Log:
FIX - Wrap text fields in notification emails correctly for long text content, if content is too big.
Modified: branches/release/1.0.22/src/webapp/WEB-INF/templates/email/notification/IssueActivityHtml.vm
Url: http://scarab.tigris.org/source/browse/scarab/branches/release/1.0.22/src/webapp/WEB-INF/templates/email/notification/IssueActivityHtml.vm?view=diff&pathrev=11112&r1=11111&r2=11112
==============================================================================
--- branches/release/1.0.22/src/webapp/WEB-INF/templates/email/notification/IssueActivityHtml.vm (original)
+++ branches/release/1.0.22/src/webapp/WEB-INF/templates/email/notification/IssueActivityHtml.vm 2012-04-13 00:36:58-0700
@@ -85,7 +85,7 @@
<div id="breadcrumbs" >
- <table border="0" cellspacing="0" cellpadding="8" width="100%">
+ <table style="table-layout: fixed" border="0" cellspacing="0" cellpadding="8" width="100%">
<tr>
<td>
$l10n.Modules >
Modified: branches/release/1.0.22/src/webapp/WEB-INF/templates/email/notification/IssueActivityHtmlStyles.vm
Url: http://scarab.tigris.org/source/browse/scarab/branches/release/1.0.22/src/webapp/WEB-INF/templates/email/notification/IssueActivityHtmlStyles.vm?view=diff&pathrev=11112&r1=11111&r2=11112
==============================================================================
--- branches/release/1.0.22/src/webapp/WEB-INF/templates/email/notification/IssueActivityHtmlStyles.vm (original)
+++ branches/release/1.0.22/src/webapp/WEB-INF/templates/email/notification/IssueActivityHtmlStyles.vm 2012-04-13 00:36:58-0700
@@ -48,6 +48,8 @@
table, th, td {
border: none;
+ word-break:break-all;
+ word-wrap:break-word;
}
#breadcrumbs {
@@ -83,6 +85,12 @@
pre {
font-family: 'Andale Mono', Courier, monospace;
font-size: small;
+
+ /* do line wrap for pre tag */
+ white-space: pre-wrap; /* css-3*/
+ white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
+ width: 99%;
}
body, .app h3 {
@@ -171,8 +179,11 @@
.functnbar {
background-color: #668DB2;
color:#fff;
- white-space:nowrap;
- margin-bottom:0px;
+
+ word-break:break-all;
+ word-wrap:break-word;
+
+ margin-bottom:0px;
margin-left:-1px;
margin-right:-1px;
}
@@ -210,4 +221,4 @@
.axial th {
background-color: #E9F1F9;
color: black;
- }
+ }
\ No newline at end of file
------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3577&dsMessageId=2947956