[Rt-commit] rtir branch, 5.0-rtir-create-tooltips, created. 4.0.1rc1-114-g873ad036

Michel Rodriguez michel at bestpractical.com
Tue Apr 14 13:42:20 EDT 2020


The branch, 5.0-rtir-create-tooltips has been created
        at  873ad036ac27913593dab12815f726f14bc691d8 (commit)

- Log -----------------------------------------------------------------
commit 4c20c42649d60f5a361e3f1210efa6534ff7dc26
Author: michel <michel at bestpractical.com>
Date:   Tue Apr 14 18:58:26 2020 +0200

    On RTIR create page move Cc and AdminCc notes to tool tip like RT.

diff --git a/html/RTIR/Create.html b/html/RTIR/Create.html
index 78a7f648..9402083f 100644
--- a/html/RTIR/Create.html
+++ b/html/RTIR/Create.html
@@ -255,6 +255,7 @@
   <div class="form-row">
     <div class="label col-md-2">
       <&|/l&>Cc</&>:
+      <span class="far fa-question-circle icon-helper" 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,
@@ -263,16 +264,10 @@
     </div>
   </div>
 
-  <div class="form-row">
-    <div class="label col-md-2"></div>
-    <div class="value col-md-9">
-      <i><&|/l&>(Sends a carbon-copy of this update to a comma-delimited list of email addresses. These people <b>will</b> receive future updates.)</&></i>
-    </div>
-  </div>
-
   <div class="form-row">
     <div class="label col-md-2">
       <&|/l&>Admin Cc</&>:
+      <span class="far fa-question-circle icon-helper" 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,
@@ -280,12 +275,6 @@
       &>
     </div>
   </div>
-  <div class="form-row">
-    <div class="label col-md-2"></div>
-    <div class="value col-md-9">
-      <i><&|/l&>(Sends a carbon-copy of this update to a comma-delimited list of administrative email addresses. These people <b>will</b> receive future updates.)</&></i>
-    </div>
-  </div>
 
 % my $roles = $QueueObj->CustomRoles;
 % $roles->LimitToMultipleValue;

commit 873ad036ac27913593dab12815f726f14bc691d8
Author: michel <michel at bestpractical.com>
Date:   Tue Apr 14 19:04:20 2020 +0200

    Move Incident help text to tooltip.
    
    It may be best to keep the text always visible, especially if the
    incident id is mandatory.

diff --git a/html/RTIR/Elements/SelectIncident b/html/RTIR/Elements/SelectIncident
index 7dac40ec..a72b21ba 100644
--- a/html/RTIR/Elements/SelectIncident
+++ b/html/RTIR/Elements/SelectIncident
@@ -48,6 +48,8 @@
   <div class="form-row">
     <div class="label col-md-3">
       <&|/l&>Incident</&>:
+      <span class="far fa-question-circle icon-helper" data-toggle="tooltip" data-placement="top" data-original-title="<&|/l&>Id of an Incident to link a new ticket to</&>.
+      <% $config->{'Required'}? '<strong>'.loc('Required').'</strong>': loc('Optional') |n %>."></span>
     </div>
     <div class="value col-md-9">
       <div class="form-row">
@@ -85,13 +87,6 @@ jQuery(function(){ jQuery('input[type="radio"][name="<% $Name %>"]').uncheckable
     </div>
   </div>
 
-  <div class="form-row">
-    <div class="label col-md-3"></div>
-    <div class="value col-md-9">
-      (<&|/l&>Id of an Incident to link a new ticket to</&>.
-      <% $config->{'Required'}? '<strong>'.loc('Required').'</strong>': loc('Optional') |n %>.)
-    </div>
-  </div>
 <%ARGS>
 $Type
 $Name     => 'Incident'

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


More information about the rt-commit mailing list