Move/copy images path to be compatible with RT 4.2.x
authorEmmanuel Lacour <elacour@easter-eggs.com>
Wed, 22 Jan 2014 13:17:22 +0000 (14:17 +0100)
committerEmmanuel Lacour <elacour@easter-eggs.com>
Wed, 22 Jan 2014 13:17:22 +0000 (14:17 +0100)
12 files changed:
Changes
MANIFEST
META.yml
README
html/Elements/ShowUserDetails
html/NoAuth/images/RT-Extension-UserDetails/close.png [new file with mode: 0644]
html/NoAuth/images/RT-Extension-UserDetails/userdetails.png [new file with mode: 0644]
html/NoAuth/images/close.png [deleted file]
html/NoAuth/images/userdetails.png [deleted file]
lib/RT/Extension/UserDetails.pm
static/images/RT-Extension-UserDetails/close.png [new file with mode: 0644]
static/images/RT-Extension-UserDetails/userdetails.png [new file with mode: 0644]

diff --git a/Changes b/Changes
index bba8d1a..eeff958 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for RT-Extension-UserDetails
 
+0.03    Wed, 22 Jan 2014 14:14:17 +0100
+        * Move/copy images path to be compatible with RT 4.2.x
+
 0.02    Wed, 25 May 2011 14:40:57 +0200
         * New icon from famfamfam.com that is "information" icon rather than
           previous "help" icon
index 3c3ce98..1938e34 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -4,8 +4,10 @@ html/Callbacks/UserDetails/Ticket/Elements/ShowGroupMembers/AboutThisUser
 html/Callbacks/UserDetails/Ticket/Elements/ShowPeople/AboutThisUser
 html/Elements/ShowUserDetails
 html/Helpers/Toggle/UserDetails
-html/NoAuth/images/close.png
-html/NoAuth/images/userdetails.png
+html/NoAuth/images/RT-Extension-UserDetails/close.png
+html/NoAuth/images/RT-Extension-UserDetails/userdetails.png
+static/images/RT-Extension-UserDetails/close.png
+static/images/RT-Extension-UserDetails/userdetails.png
 inc/Module/Install.pm
 inc/Module/Install/Base.pm
 inc/Module/Install/Can.pm
index 90a5719..009f97a 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -22,4 +22,4 @@ no_index:
 resources:
   license: http://dev.perl.org/licenses/
   repository: git://git.home-dn.net/manu/RT-Extension-UserDetails.git
-version: 0.02
+version: 0.03
diff --git a/README b/README
index 402a01f..98d5d90 100644 (file)
--- a/README
+++ b/README
@@ -65,7 +65,7 @@ You can also look for information at:
 
 COPYRIGHT AND LICENCE
 
-Copyright (C) 2010 Emmanuel Lacour
+Copyright (C) 2010-2014 Emmanuel Lacour
 
 This program is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.
index 8d7a78c..c8d04c3 100644 (file)
@@ -1,8 +1,8 @@
 <span id="toggleuserdetails-<% $id %>">
 % if ( $Toggle ) {
-<a href="<% $url %>" onclick="ahah('<% $url |n %>&Toggle=0', 'toggleuserdetails-<% $id |n %>'); return false;"><img src="<% RT->Config->Get('WebPath') %>/NoAuth/images/userdetails.png" alt="<% loc('Details') %>" title="<% loc('Details') %>" style="border-style: none" /></a>
+<a href="<% $url %>" onclick="ahah('<% $url |n %>&Toggle=0', 'toggleuserdetails-<% $id |n %>'); return false;"><img src="<% RT->Config->Get('WebImagesURL') %>/RT-Extension-UserDetails/userdetails.png" alt="<% loc('Details') %>" title="<% loc('Details') %>" style="border-style: none" /></a>
 <div id="userdetails">
-<a href="<% $url %>" onclick="ahah('<% $url |n %>&Toggle=0', 'toggleuserdetails-<% $id |n %>'); return false;"><img src="<% RT->Config->Get('WebPath') %>/NoAuth/images/close.png" alt="<% loc('Close') %>" title="<% loc('Close') %>" style="border-style: none" /></a>
+<a href="<% $url %>" onclick="ahah('<% $url |n %>&Toggle=0', 'toggleuserdetails-<% $id |n %>'); return false;"><img src="<% RT->Config->Get('WebImagesURL') %>/RT-Extension-UserDetails/close.png" alt="<% loc('Close') %>" title="<% loc('Close') %>" style="border-style: none" /></a>
 <ul>
 % foreach my $sort (sort { $a <=> $b } keys %attributes) {
 % my $attr_name = $attributes{$sort}{'AttributeName'};
@@ -12,7 +12,7 @@
 </ul>
 </div>
 % } else {
-<a href="<% $url %>" onclick="ahah('<% $url |n %>&Toggle=1', 'toggleuserdetails-<% $id |n %>'); return false;"><img src="<% RT->Config->Get('WebPath') %>/NoAuth/images/userdetails.png" alt="<% loc('Details') %>" title="<% loc('Details') %>" style="border-style: none" /></a>
+<a href="<% $url %>" onclick="ahah('<% $url |n %>&Toggle=1', 'toggleuserdetails-<% $id |n %>'); return false;"><img src="<% RT->Config->Get('WebImagesURL') %>/RT-Extension-UserDetails/userdetails.png" alt="<% loc('Details') %>" title="<% loc('Details') %>" style="border-style: none" /></a>
 % }
 </span>
 
diff --git a/html/NoAuth/images/RT-Extension-UserDetails/close.png b/html/NoAuth/images/RT-Extension-UserDetails/close.png
new file mode 100644 (file)
index 0000000..ea6f4aa
Binary files /dev/null and b/html/NoAuth/images/RT-Extension-UserDetails/close.png differ
diff --git a/html/NoAuth/images/RT-Extension-UserDetails/userdetails.png b/html/NoAuth/images/RT-Extension-UserDetails/userdetails.png
new file mode 100644 (file)
index 0000000..f343903
Binary files /dev/null and b/html/NoAuth/images/RT-Extension-UserDetails/userdetails.png differ
diff --git a/html/NoAuth/images/close.png b/html/NoAuth/images/close.png
deleted file mode 100644 (file)
index ea6f4aa..0000000
Binary files a/html/NoAuth/images/close.png and /dev/null differ
diff --git a/html/NoAuth/images/userdetails.png b/html/NoAuth/images/userdetails.png
deleted file mode 100644 (file)
index f343903..0000000
Binary files a/html/NoAuth/images/userdetails.png and /dev/null differ
index 2dc47d0..339ff28 100644 (file)
@@ -9,11 +9,11 @@ RT::Extension::UserDetails - allows to quickly display watchers personnal detail
 
 =head1 VERSION
 
-Version 0.02
+Version 0.03
 
 =cut
 
-our $VERSION = '0.02';
+our $VERSION = '0.03';
 
 
 =head1 SYNOPSIS
@@ -70,7 +70,7 @@ L<http://search.cpan.org/dist/RT-Extension-UserDetails>
 
 =head1 COPYRIGHT & LICENSE
 
-Copyright 2010 Emmanuel Lacour, all rights reserved.
+Copyright 2010-2014 Emmanuel Lacour, all rights reserved.
 
 This program is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.
diff --git a/static/images/RT-Extension-UserDetails/close.png b/static/images/RT-Extension-UserDetails/close.png
new file mode 100644 (file)
index 0000000..ea6f4aa
Binary files /dev/null and b/static/images/RT-Extension-UserDetails/close.png differ
diff --git a/static/images/RT-Extension-UserDetails/userdetails.png b/static/images/RT-Extension-UserDetails/userdetails.png
new file mode 100644 (file)
index 0000000..f343903
Binary files /dev/null and b/static/images/RT-Extension-UserDetails/userdetails.png differ