[Rt-commit] rt branch, 4.6/cc-helper-text-tooltip, updated. rt-4.4.4-529-gb6bc62f5ab

Blaine Motsinger blaine at bestpractical.com
Wed Nov 13 19:12:28 EST 2019


The branch, 4.6/cc-helper-text-tooltip has been updated
       via  b6bc62f5ab3d24ca65faf24c919aa29b9261bcac (commit)
      from  63aa2a60b949f5e5fa52707c7dfe60818aa5c29c (commit)

Summary of changes:
 share/html/Ticket/Create.html            | 22 ++--------------------
 share/static/css/elevator-light/misc.css |  5 +++++
 2 files changed, 7 insertions(+), 20 deletions(-)

- Log -----------------------------------------------------------------
commit b6bc62f5ab3d24ca65faf24c919aa29b9261bcac
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Wed Nov 13 18:05:38 2019 -0600

    Remove Cc and AdminCc helper text with fontawesome
    
    This commit replaces the Cc and AdminCc helper text with
    fontawesome icons and bootstrap tooltips.

diff --git a/share/html/Ticket/Create.html b/share/html/Ticket/Create.html
index e65ac52c29..a4330418f5 100644
--- a/share/html/Ticket/Create.html
+++ b/share/html/Ticket/Create.html
@@ -159,33 +159,15 @@
 </div>
 
 <div class="form-row">
-<div class="label col-md-2"><&|/l&>Cc</&>:</div>
+<div class="label col-md-2"><&|/l&>Cc</&>:<span class="far fa-question-circle icon-smaller" data-toggle="tooltip" data-placement="top" data-original-title="<&|/l&>Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people will receive future updates.</&>"></span></div>
 <div class="value col-md-9"><& /Elements/EmailInput, Name => 'Cc', Size => undef, Default => $ARGS{Cc}, AutocompleteMultiple => 1 &></div>
 </div>
 
 <div class="form-row">
-  <div class="label col-md-2 empty"> </div>
-  <div class="value col-md-9 comment">
-    <i><font size="-2">
-      <&|/l&>(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <strong>will</strong> receive future updates.)</&>
-    </font></i>
-  </div>
-</div>
-
-<div class="form-row">
-<div class="label col-md-2"><&|/l&>Admin Cc</&>:</div>
+<div class="label col-md-2"><&|/l&>Admin Cc</&>:<span class="far fa-question-circle icon-smaller" data-toggle="tooltip" data-placement="top" data-original-title="<&|/l&>Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people will receive future updates.</&>"></span></div>
 <div class="value col-md-9"><& /Elements/EmailInput, Name => 'AdminCc', Size => undef, Default => $ARGS{AdminCc}, AutocompleteMultiple => 1 &></div>
 </div>
 
-<div class="form-row">
-  <div class="label col-md-2 empty"> </div>
-  <div class="value col-md-9 comment">
-    <i><font size="-2">
-      <&|/l&>(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <strong>will</strong> receive future updates.)</&>
-    </font></i>
-  </div>
-</div>
-
 % my $roles = $QueueObj->CustomRoles;
 % $roles->LimitToMultipleValue;
 % $m->callback( CallbackName => 'ModifyCustomRoles', ARGSRef => \%ARGS, CustomRoles => $roles );
diff --git a/share/static/css/elevator-light/misc.css b/share/static/css/elevator-light/misc.css
index 61e63dfca4..d75a189395 100644
--- a/share/static/css/elevator-light/misc.css
+++ b/share/static/css/elevator-light/misc.css
@@ -129,3 +129,8 @@ svg.icon-bordered {
     border-radius: 0.1em;
     padding: 0.2em 0.25em 0.15em;
 }
+
+/* styling for helper text svg images */
+svg.icon-smaller {
+    padding-left: 0.2em;
+}

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


More information about the rt-commit mailing list