[Rt-commit] rt branch, 4.6/fix-people-long-emails, created. rt-4.4.4-568-gff155610c1
Blaine Motsinger
blaine at bestpractical.com
Tue Dec 24 14:22:08 EST 2019
The branch, 4.6/fix-people-long-emails has been created
at ff155610c179dfe45d78d6bb9029bacd080f7ad6 (commit)
- Log -----------------------------------------------------------------
commit ff155610c179dfe45d78d6bb9029bacd080f7ad6
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Mon Dec 23 17:36:25 2019 -0600
Allow longer email addresses for value on People
This commit expands the value col size for the "Add new watchers"
input form-rows to allow for longer email addresses before wrapping.
The auto populated rows are longer (col-md-9) than the text input
rows (col-md-6) to allow for "friendly name" <email at example.com>,
which could likely be longer than col-md-6 would allow.
diff --git a/share/html/Ticket/Elements/AddWatchers b/share/html/Ticket/Elements/AddWatchers
index 2b51b327fc..13a17e510e 100644
--- a/share/html/Ticket/Elements/AddWatchers
+++ b/share/html/Ticket/Elements/AddWatchers
@@ -55,7 +55,7 @@
<div class="col-md-3">
<&|/l&>Type</&>
</div>
- <div class="col-md-3">
+ <div class="col-md-9">
<&|/l&>Username</&>
</div>
</div>
@@ -67,7 +67,7 @@
Queue => $Ticket->QueueObj,
&>
</div>
- <div class="col-md-3">
+ <div class="col-md-9">
<span class="form-control current-value">
<& '/Elements/ShowUser', User => $u, style=>'verbose' &>
</span>
@@ -81,7 +81,7 @@
<div class="col-md-3">
<&|/l&>Type</&>
</div>
- <div>
+ <div class="col-md-9">
<&|/l&>Group</&>
</div>
</div>
@@ -93,7 +93,7 @@
Queue => $Ticket->QueueObj,
&>
</div>
- <div class="col-md-3">
+ <div class="col-md-9">
<span class="form-control current-value">
<%$g->Name%> (<%$g->Description%>)
</span>
@@ -106,7 +106,7 @@
<div class="col-md-3">
<&|/l&>Type</&>
</div>
- <div class="col-md-3">
+ <div class="col-md-9">
<&|/l&>Email</&>
</div>
</div>
@@ -117,7 +117,7 @@
<div class="col-md-3">
<&/Elements/SelectWatcherType, Name => "WatcherTypeEmail".$counter, Queue => $Ticket->QueueObj &>
</div>
- <div class="col-md-3">
+ <div class="col-md-9">
<input type="hidden" name="WatcherAddressEmail<%$counter%>" value="<%$email->format%>">
<span class="form-control current-value">
<%$email->format%>
@@ -130,7 +130,7 @@
<div class="col-md-3">
<&/Elements/SelectWatcherType, Name => "WatcherTypeEmail" . $i, Queue => $Ticket->QueueObj &>
</div>
- <div class="col-md-3">
+ <div class="col-md-6">
<& /Elements/EmailInput, Name => 'WatcherAddressEmail' . $i, Size => '20' &>
</div>
</div>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list