[Bps-public-commit] RT-Extension-MenubarSearches branch, master, updated. 0.06-9-g5e87f49

Dustin Graves dustin at bestpractical.com
Fri Jul 1 13:29:43 EDT 2016


The branch, master has been updated
       via  5e87f49e57cfee07082e29dca2e11404dbb5ea81 (commit)
       via  2ac6588fe277dbcf1a4fd3e5a7a9320a522c83f6 (commit)
       via  fbcea8a2a35457c2f1026bef4c357cbeb4cb63cb (commit)
      from  912f339c8e8012f3c80ecd85a3947fd393e7918c (commit)

Summary of changes:
 META.yml                                                         | 3 ++-
 .../RT-Extension-MenubarSearches/NoAuth/css/web2/main.css/End    | 9 ---------
 html/RT-Extension-MenubarSearches/List                           | 2 +-
 lib/RT/Extension/MenubarSearches.pm                              | 4 +++-
 static/css/menubar-searches.css                                  | 3 +++
 5 files changed, 9 insertions(+), 12 deletions(-)
 delete mode 100644 html/Callbacks/RT-Extension-MenubarSearches/NoAuth/css/web2/main.css/End
 create mode 100644 static/css/menubar-searches.css

- Log -----------------------------------------------------------------
commit fbcea8a2a35457c2f1026bef4c357cbeb4cb63cb
Author: Dustin Graves <dustin at bestpractical.com>
Date:   Fri Jul 1 17:26:35 2016 +0000

    remove obsolete CSS callback

diff --git a/html/Callbacks/RT-Extension-MenubarSearches/NoAuth/css/web2/main.css/End b/html/Callbacks/RT-Extension-MenubarSearches/NoAuth/css/web2/main.css/End
deleted file mode 100644
index 0e16cf6..0000000
--- a/html/Callbacks/RT-Extension-MenubarSearches/NoAuth/css/web2/main.css/End
+++ /dev/null
@@ -1,9 +0,0 @@
-% if ( $m->comp_exists( '/Ticket/Elements/Tabs' ) ) {
-#topactions {
- min-width: 51em;
-}
-
-#topactions #goto_queue {
- float: left;
-}
-% }

commit 2ac6588fe277dbcf1a4fd3e5a7a9320a522c83f6
Author: Dustin Graves <dustin at bestpractical.com>
Date:   Fri Jul 1 17:27:31 2016 +0000

    add CSS to ensure "Show queue" text has room to display in dropdown

diff --git a/META.yml b/META.yml
index 15f8016..11fc9c8 100644
--- a/META.yml
+++ b/META.yml
@@ -16,6 +16,7 @@ no_index:
   directory:
     - html
     - inc
+    - static
 requires:
   perl: 5.8.3
 resources:
diff --git a/html/RT-Extension-MenubarSearches/List b/html/RT-Extension-MenubarSearches/List
index c39485d..046fc36 100644
--- a/html/RT-Extension-MenubarSearches/List
+++ b/html/RT-Extension-MenubarSearches/List
@@ -23,7 +23,7 @@ while ( my $queue = $queues->Next ) {
 style="position: absolute; right: 35em;"
 % }
 >
-<select onchange="document.goto_queue.submit()" name="Query" class="select-queue">
+<select onchange="document.goto_queue.submit()" name="Query" class="select-queue menubar-searches">
 <option value=""><&|/l&>Show queue</&></option>
 % foreach (@queues) {
 <option value="Queue = '<%$_%>' AND (Status = 'new' OR Status = 'open' OR Status = 'stalled')"><%$_%></option>
diff --git a/lib/RT/Extension/MenubarSearches.pm b/lib/RT/Extension/MenubarSearches.pm
index d28a3c2..b7aa8c8 100644
--- a/lib/RT/Extension/MenubarSearches.pm
+++ b/lib/RT/Extension/MenubarSearches.pm
@@ -52,6 +52,8 @@ our $VERSION = '0.07';
 use warnings;
 use strict;
 
+RT->AddStyleSheets( 'menubar-searches.css' );
+
 =head1 NAME
 
 RT::Extension::MenubarSearches - Adds quick queue search to menu
diff --git a/static/css/menubar-searches.css b/static/css/menubar-searches.css
new file mode 100644
index 0000000..df01e75
--- /dev/null
+++ b/static/css/menubar-searches.css
@@ -0,0 +1,3 @@
+#topactions select.menubar-searches {
+    min-width: 9em;
+}

commit 5e87f49e57cfee07082e29dca2e11404dbb5ea81
Author: Dustin Graves <dustin at bestpractical.com>
Date:   Fri Jul 1 17:29:00 2016 +0000

    incremented version to 0.08

diff --git a/META.yml b/META.yml
index 11fc9c8..e02c0af 100644
--- a/META.yml
+++ b/META.yml
@@ -21,6 +21,6 @@ requires:
   perl: 5.8.3
 resources:
   license: http://dev.perl.org/licenses/
-version: '0.07'
+version: '0.08'
 x_module_install_rtx_version: '0.37'
 x_requires_rt: 4.0.0
diff --git a/lib/RT/Extension/MenubarSearches.pm b/lib/RT/Extension/MenubarSearches.pm
index b7aa8c8..3e8570c 100644
--- a/lib/RT/Extension/MenubarSearches.pm
+++ b/lib/RT/Extension/MenubarSearches.pm
@@ -47,7 +47,7 @@
 # END BPS TAGGED BLOCK }}}
 package RT::Extension::MenuBarSearches;
 
-our $VERSION = '0.07';
+our $VERSION = '0.08';
 
 use warnings;
 use strict;

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


More information about the Bps-public-commit mailing list