[Rt-commit] rtir branch, 5.0/update-incident-create-input, created. 5.0.0beta1-2-ga03f66e3

Craig Kaiser craig at bestpractical.com
Tue Jul 7 16:13:31 EDT 2020


The branch, 5.0/update-incident-create-input has been created
        at  a03f66e33a5638b1d63dba84104c0f3777a17e60 (commit)

- Log -----------------------------------------------------------------
commit bd1e9a6a803bb1dbfc5f5922ac373335f0009767
Author: craig kaiser <craig at bestpractical.com>
Date:   Thu Jun 18 15:14:33 2020 -0400

    Add autocomplete for select Incident input

diff --git a/html/RTIR/Elements/SelectIncident b/html/RTIR/Elements/SelectIncident
index 10f5a778..30768b37 100644
--- a/html/RTIR/Elements/SelectIncident
+++ b/html/RTIR/Elements/SelectIncident
@@ -68,7 +68,7 @@
     <input type="hidden" name="<% $Name %>" value="<% $potential[0] %>" />
 % }
     <div class="col-auto">
-      <input class="form-control" type="text" name="<% $Name %>" value="" />
+      <input class="form-control" type="text" name="<% $Name %>" value="" data-autocomplete="Tickets" data-autocomplete-limit="Lifecycle = 'incidents'" />
     </div>
 % if ( $config->{'Multiple'} || @potential ) {
     <div class="col-auto">

commit a03f66e33a5638b1d63dba84104c0f3777a17e60
Author: craig kaiser <craig at bestpractical.com>
Date:   Thu Jun 18 15:14:53 2020 -0400

    Rename SelectIncident input from 'More' to 'Add'

diff --git a/html/RTIR/Elements/SelectIncident b/html/RTIR/Elements/SelectIncident
index 30768b37..f8ebccef 100644
--- a/html/RTIR/Elements/SelectIncident
+++ b/html/RTIR/Elements/SelectIncident
@@ -72,7 +72,7 @@
     </div>
 % if ( $config->{'Multiple'} || @potential ) {
     <div class="col-auto">
-      <input type="submit" name="<% "More$Name" %>" value="<% $config->{'Multiple'}? loc('More') : loc('Other') %>" class="form-control btn btn-primary button" />
+      <input type="submit" name="<% "More$Name" %>" value="<% $config->{'Multiple'}? loc('Add') : loc('Other') %>" class="form-control btn btn-primary button" />
     </div>
 % }
 

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


More information about the rt-commit mailing list