[Bps-public-commit] RT-Extension-PreviewInSearch branch, master, updated. e8f8cbeeef53b1fabf84bc1db9f86842e6f567a9

Wallace Reis wreis at bestpractical.com
Thu Jan 8 16:19:23 EST 2015


The branch, master has been updated
       via  e8f8cbeeef53b1fabf84bc1db9f86842e6f567a9 (commit)
       via  23484956a8d3cff374d1a201e3d476bd629aef0d (commit)
       via  1ea08fe677f1a31796db07543a76ad9c9d116ee1 (commit)
      from  fb924bcf13c9cea1b7e7476b34e1fb0ae76c22b0 (commit)

Summary of changes:
 MANIFEST                                                          | 1 +
 .../Search/Results.html/BeforeResults                             | 8 ++++++++
 lib/RT/Extension/PreviewInSearch.pm                               | 2 +-
 3 files changed, 10 insertions(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 1ea08fe677f1a31796db07543a76ad9c9d116ee1
Author: Wallace Reis <wreis at bestpractical.com>
Date:   Thu Jan 8 19:05:48 2015 -0200

    Update MANIFEST

diff --git a/MANIFEST b/MANIFEST
index 40e3b92..ae4fb90 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,5 +1,6 @@
 doc/images/preview-screenshot.png
 html/Callbacks/RT-Extension-PreviewInSearch/Search/Results.html/AfterResults
+html/Callbacks/RT-Extension-PreviewInSearch/Search/Results.html/BeforeResults
 html/Helpers/TicketPreview
 inc/Module/Install.pm
 inc/Module/Install/Base.pm

commit 23484956a8d3cff374d1a201e3d476bd629aef0d
Author: Wallace Reis <wreis at bestpractical.com>
Date:   Thu Jan 8 19:18:05 2015 -0200

    Add support for web2 and ballard themes

diff --git a/html/Callbacks/RT-Extension-PreviewInSearch/Search/Results.html/BeforeResults b/html/Callbacks/RT-Extension-PreviewInSearch/Search/Results.html/BeforeResults
index 03d1167..fb55ec9 100644
--- a/html/Callbacks/RT-Extension-PreviewInSearch/Search/Results.html/BeforeResults
+++ b/html/Callbacks/RT-Extension-PreviewInSearch/Search/Results.html/BeforeResults
@@ -21,7 +21,12 @@ table.ticket-list, .ticket-list-with-previewinsearch {
 #ticket-preview-container {
     position: fixed;
     top: 10em;
+% if ( $web_style =~ /web2|ballard/ ) {
+    left: 55%;
+% }
+% else {
     left: 47%;
+% }
     right: 0;
     bottom: 0;
     overflow-y: auto;
@@ -83,4 +88,7 @@ jQuery(function(){
 <%ARGS>
 </%ARGS>
 <%INIT>
+my $web_style = $session{'CurrentUser'}
+    ? $session{'CurrentUser'}->Stylesheet
+    : RT->Config->Get('WebDefaultStylesheet');
 </%INIT>

commit e8f8cbeeef53b1fabf84bc1db9f86842e6f567a9
Author: Wallace Reis <wreis at bestpractical.com>
Date:   Thu Jan 8 19:18:26 2015 -0200

    Bump version

diff --git a/lib/RT/Extension/PreviewInSearch.pm b/lib/RT/Extension/PreviewInSearch.pm
index b38091c..6b91116 100644
--- a/lib/RT/Extension/PreviewInSearch.pm
+++ b/lib/RT/Extension/PreviewInSearch.pm
@@ -4,7 +4,7 @@ use warnings;
 
 package RT::Extension::PreviewInSearch;
 
-our $VERSION = '0.02';
+our $VERSION = '0.03';
 
 =head1 NAME
 

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


More information about the Bps-public-commit mailing list