[Libreoffice-commits] website.git: Branch 'tinderbox' - lib/HTMLPopUp

Christian Lohmaier lohmaier+LibreOffice at googlemail.com
Mon Mar 17 10:03:17 PDT 2014


 lib/HTMLPopUp/OverLib.pm |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 81ddc7862568f904da06196d613eea0c8665c645
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date:   Mon Mar 17 18:01:45 2014 +0100

    link to cgit log instead of eis

diff --git a/lib/HTMLPopUp/OverLib.pm b/lib/HTMLPopUp/OverLib.pm
index 42c7d45..bb9ec1f 100644
--- a/lib/HTMLPopUp/OverLib.pm
+++ b/lib/HTMLPopUp/OverLib.pm
@@ -1573,10 +1573,9 @@ sub page_header {
   my $self = shift @_;
   my (%args) = @_;
   
-  my ($label, $cws) = ($args{'title'} =~ /(.*)\W(\w+)\W*$/);
+  my ($label, $branch) = lc($args{'title'} =~ /^([^:]*: )(.*)$/);
   my $heading = $args{'title'};
-  my $codeline = TreeData::get_tree_codeline($cws); 
-  $heading = "$label <a href=\"http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=$codeline/$cws\">$cws</a>" unless ($cws =~ /^[A-Z]/);
+  $heading = "$label <a href=\"http://cgit.freedesktop.org/libreoffice/core/log/?h=$branch\">$branch</a>" unless ($branch =~ /^[A-Z]/);
 
   my ($html_time) = $main::LOCALTIME;
   $html_time =~ s/:[^:]+$//;


More information about the Libreoffice-commits mailing list