[Rt-commit] rt branch, 4.6/improve-link-creation-display, created. rt-4.4.4-682-g6efc407f3a
Michel Rodriguez
michel at bestpractical.com
Wed Jan 22 10:54:59 EST 2020
The branch, 4.6/improve-link-creation-display has been created
at 6efc407f3aa0ee68cf1bafe80a21936aa8e59dac (commit)
- Log -----------------------------------------------------------------
commit 6efc407f3aa0ee68cf1bafe80a21936aa8e59dac
Author: michel <michel at bestpractical.com>
Date: Wed Jan 15 23:18:15 2020 +0100
Improve formatting of create linked ticket menu.
diff --git a/share/html/Elements/ShowLinks b/share/html/Elements/ShowLinks
index 6c429f9a4d..b3cbd1a24f 100644
--- a/share/html/Elements/ShowLinks
+++ b/share/html/Elements/ShowLinks
@@ -67,12 +67,19 @@
</div>
% if ($Object->isa('RT::Ticket')) {
- <div class="form-row">
- <div class="col-md-12">
- <form action="<% RT->Config->Get('WebPath') ."/Helpers/SpawnLinkedTicket" %>" name="SpawnLinkedTicket">
- <input type="hidden" name="CloneTicket" value="<% $Object->id %>">
- <input type="submit" value="<&|/l&>Create</&>" name="SpawnLinkedTicket" class="btn btn-primary">
- <select name="LinkType" class="selectpicker">
+ <form action="<% RT->Config->Get('WebPath') ."/Helpers/SpawnLinkedTicket" %>" name="SpawnLinkedTicket">
+ <input type="hidden" name="CloneTicket" value="<% $Object->id %>">
+ <div class="form-row">
+ <div class="col-12">
+ <&|/l&>Create linked ticket:</&>
+ </div>
+ </div>
+ <div class="form-row">
+ <div class="col-lg-2 label text-between-dropdowns">
+ <&|/l&>New</&>
+ </div>
+ <div class="col-lg-4">
+ <select name="LinkType" class="selectpicker form-control">
<option value="DependsOn-new"><% loc('Depends on') %></option>
<option value="new-DependsOn"><% loc('Depended on by') %></option>
<option value="MemberOf-new"><% loc('Parents') %></option>
@@ -80,11 +87,15 @@
<option value="RefersTo-new"><% loc('Refers to') %></option>
<option value="new-RefersTo"><% loc('Referred to by') %></option>
</select>
- <&|/l&>Ticket in</&>
+ </div>
+ <div class="col-lg-4">
<& /Elements/SelectNewTicketQueue, Name => 'CloneQueue' &>
- </form>
+ </div>
+ <div class="col-lg-2">
+ <input type="submit" value="<&|/l&>Create</&>" name="SpawnLinkedTicket" class="btn btn-primary">
+ </div>
</div>
- </div>
+ </form>
% }
<%INIT>
my @display = qw(DependsOn DependedOnBy MemberOf Members RefersTo ReferredToBy);
-----------------------------------------------------------------------
More information about the rt-commit
mailing list