Changeset 12899


Ignore:
Timestamp:
10/27/11 11:38:57 (7 months ago)
Author:
RaulFRodriguez
Message:

Item11155: ActionTrackerPlugin pop-up action editor hardcodes the date format, and does not use the defined formats for the site, or the web

Location:
trunk/ActionTrackerPlugin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ActionTrackerPlugin/data/System/ActionTrackerPlugin.txt

    r12623 r12899  
    450450| =ACTIONTRACKERPLUGIN_CLOSEBUTTONCLOSED= | =Closed= | 
    451451  
     452---+++ Formatting dates produced by the pop-up editor 
     453 
     454ActionTrackerPlugin will use the extension [[Foswiki:Extensions/JSCalendarContrib]] for displaying the calendar popup allowing for date selection when editing actions. It will format the selected date according to the settings specified for JSCalendarContrib. 
     455 
     456Refer to the System.JSCalendarContrib documentation to learn [[System.JSCalendarContrib#CustomizingTheAppearance][how to customize]] these settings system-wide, for a web or topic using the available date [[System.JSCalendarContrib#FormatSpecifiers][format specifiers]] for this extension. 
     457 
    452458---+++ Known Limitations and Debugging 
    453459 
     
    487493|  License: | GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) | 
    488494|  Change History: | | 
     495|  2.4.7 (27 Oct 2011) | Foswiki:Tasks/Item11155: Use Foswiki date format settings for rendering the pop-up calendar dates instead of hardcoding them - Foswiki:Main.RaulFRodriguez | 
    489496|  2.4.6 (24 Sep 2011) | Foswiki:Tasks/Item11141: corrected problem with rendering $link in view | 
    490497|  2.4.5 (26 May 2011) | Foswiki:Tasks/Item2021: added a ink to the text mail notification format | 
  • trunk/ActionTrackerPlugin/lib/Foswiki/Plugins/ActionTrackerPlugin.pm

    r12622 r12899  
    1010 
    1111our $VERSION = '$Rev$'; 
    12 our $RELEASE = '2.4.6'; 
     12our $RELEASE = '2.4.7'; 
    1313our $SHORTDESCRIPTION = 
    1414    'Adds support for action tags in topics, and automatic notification of action statuses'; 
  • trunk/ActionTrackerPlugin/lib/Foswiki/Plugins/ActionTrackerPlugin/Format.pm

    r12622 r12899  
    401401            eval 'use Foswiki::Contrib::JSCalendarContrib'; 
    402402            unless ($@) { 
     403                my $dateformat = Foswiki::Func::getPreferencesValue('JSCALENDARCONTRIB_FORMAT') || 
     404                                 $Foswiki::cfg{JSCalendarContrib}{format} || 
     405                                 '%e %B %Y'; 
    403406                @extras = ( id => "date_$attrname" ); 
    404407                $content = CGI::image_button( 
    405408                    -name => 'calendar', 
    406409                    -onclick => 
    407                       "return showCalendar('date_$attrname','%e %B %Y')", 
     410                      "return showCalendar('date_$attrname','$dateformat')", 
    408411                    -src => Foswiki::Func::getPubUrlPath() . '/' 
    409412                      . $Foswiki::cfg{SystemWebName} 
Note: See TracChangeset for help on using the changeset viewer.