[Rt-commit] rt branch, 4.2-trunk, updated. rt-4.2.8-5-g760ae51

Alex Vandiver alexmv at bestpractical.com
Sat Oct 4 03:46:01 EDT 2014


The branch, 4.2-trunk has been updated
       via  760ae5178672408ad05b2c5212f1a27dbac5792c (commit)
      from  2e58cae0c16cb03ad2a47ac929cf32e25e37d184 (commit)

Summary of changes:
 share/html/Admin/Elements/SelectNewGroupMembers | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit 760ae5178672408ad05b2c5212f1a27dbac5792c
Author: Matt Zagrabelny <mzagrabe at d.umn.edu>
Date:   Sat Oct 4 03:45:20 2014 -0400

    Adjust the alignment to line up the two labels

diff --git a/share/html/Admin/Elements/SelectNewGroupMembers b/share/html/Admin/Elements/SelectNewGroupMembers
index 521f103..bf1e719 100644
--- a/share/html/Admin/Elements/SelectNewGroupMembers
+++ b/share/html/Admin/Elements/SelectNewGroupMembers
@@ -45,9 +45,12 @@
 %# those contributions and any derivatives thereof.
 %#
 %# END BPS TAGGED BLOCK }}}
+<table>
 % if ( $Show ne 'Groups' ) {
-<label for="<% $Name %>Users"><&|/l&>Add user</&>:</label>
-<input type="text" value="" name="<% $Name %>Users" id="<% $Name %>Users" data-autocomplete="Users" data-autocomplete-return="Name" data-autocomplete-privileged="1" data-autocomplete-exclude="<% $user_ids |n %>" /><br />
+<tr>
+<td class="label"><&|/l&>Add user</&>:</td>
+<td>
+<input type="text" value="" name="<% $Name %>Users" id="<% $Name %>Users" data-autocomplete="Users" data-autocomplete-return="Name" data-autocomplete-privileged="1" data-autocomplete-exclude="<% $user_ids |n %>" />
 <script type="text/javascript">
 jQuery(function(){
     // Auto-submit once a user is chosen
@@ -57,11 +60,15 @@ jQuery(function(){
     });
 });
 </script>
+</td>
+</tr>
 % }
 
 % if ( $Show ne 'Users' ) {
-<label for="<% $Name %>Groups"><&|/l&>Add group</&>:</label>
-<input type="text" value="" name="<% $Name %>Groups" id="<% $Name %>Groups" data-autocomplete="Groups" data-autocomplete-exclude="<% $group_ids |n %>" /><br />
+<tr>
+<td class="label"><&|/l&>Add group</&>:</td>
+<td>
+<input type="text" value="" name="<% $Name %>Groups" id="<% $Name %>Groups" data-autocomplete="Groups" data-autocomplete-exclude="<% $group_ids |n %>" />
 <script type="text/javascript">
 jQuery(function(){
     // Auto-submit once a group is chosen
@@ -71,7 +78,10 @@ jQuery(function(){
     });
 });
 </script>
+</td>
+</tr>
 % }
+</table>
 <%INIT>
 my $user_ids  = join(',', grep { $SkipUsers->{$_} } keys %$SkipUsers);
 my $group_ids = join(',', grep { $SkipGroups->{$_} } keys %$SkipGroups);

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


More information about the rt-commit mailing list