[Rt-commit] rt branch, 4.2/ipv6-width, created. rt-4.2.10-238-gede36ee

Yevgeniy Gorodetskiy yevgeniy at bestpractical.com
Fri May 1 13:42:06 EDT 2015


The branch, 4.2/ipv6-width has been created
        at  ede36eec2ce171a0907883c6b6acd0e580bebe48 (commit)

- Log -----------------------------------------------------------------
commit ede36eec2ce171a0907883c6b6acd0e580bebe48
Author: Yevgeniy Gorodetskiy <yevgeniy at bestpractical.com>
Date:   Thu Apr 23 15:49:10 2015 -0400

    Widen IP custom fields to be wide enough for full IPv6 addresses
    
    IP address custom fields get the default width for custom field
    editing.  While this is wide enough for IPv6 addresses, it is not
    sufficiently wide enough for full IPv6 addresses, which are 45
    characters long.
    
    Use CSS to widen the text input for all IP custom field entries. The
    size of 24em was chosen based on testing in Safari, Firefox, Chrome and
    IE.
    
    Fixes: I#24565

diff --git a/.gitignore b/.gitignore
index 855514b..c5a8dcb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -55,3 +55,5 @@
 *~
 *.swp
 *.swo
+
+share/static/css/base/ticket.css
diff --git a/etc/RT_SiteConfig.pm b/etc/RT_SiteConfig.pm
index 390a351..dc0c6ec 100644
--- a/etc/RT_SiteConfig.pm
+++ b/etc/RT_SiteConfig.pm
@@ -18,6 +18,8 @@
 
 Set( $rtname, 'example.com');
 
+Set( $DevelMode, 1);
+
 # You must install Plugins on your own, this is only an example
 # of the correct syntax to use when activating them:
 #     Plugin( "RT::Extension::SLA" );
diff --git a/share/static/css/base/ticket.css b/share/static/css/base/ticket.css
index cfe3768..86c1c29 100644
--- a/share/static/css/base/ticket.css
+++ b/share/static/css/base/ticket.css
@@ -125,3 +125,4 @@ tr.edit-custom-field.cftype-Wikitext textarea
 {
     width: 100%;
 }
+
diff --git a/share/static/css/rudder/ticket.css b/share/static/css/rudder/ticket.css
index c1a8ddc..2b0233b 100644
--- a/share/static/css/rudder/ticket.css
+++ b/share/static/css/rudder/ticket.css
@@ -64,3 +64,13 @@
 .summary>div>.titlebox>.titlebox-content {
     background: none
 }
+
+tr.edit-custom-field.cftype-IPAddress input,
+tr.edit-custom-field.cftype-IPAddressRange input {
+    width: 24em;
+}
+
+tr.edit-custom-field.cftype-IPAddress textarea,
+tr.edit-custom-field.cftype-IPAddressRange textarea {
+    width: 24em;
+}
\ No newline at end of file

-----------------------------------------------------------------------


More information about the rt-commit mailing list