# name of your site or organization to appear in page titles
# replace this with something more descriptive for clearer bookmarks
-our $site_name = "git.onelab"
+our $site_name = "@SITENAME@"
|| ($ENV{'SERVER_NAME'} || "Untitled") . " Git";
# filename of html text to include at top of each page
# URI of a single stylesheet, which can be overridden in GITWEB_CONFIG.
our $stylesheet = undef;
# URI of GIT logo (72x27 size)
-our $logo = "img/onelab-logo.png";
+our $logo = "img/@LOGO@.png";
# URI of GIT favicon, assumed to be image/png type
-our $favicon = "img/onelab-favicon.png";
+our $favicon = "img/@FAVICON@.png";
# URI and label (title) of GIT logo link
#our $logo_url = "http://www.kernel.org/pub/software/scm/git/docs/";
#our $logo_label = "git documentation";
-our $logo_url = "http://www.onelab.eu";
-our $logo_label = "Onelab";
+our $logo_url = "@LOGOURL@";
+our $logo_label = "@LOGOLABEL@";
# source of projects list
our $projects_list = "";
our @git_base_url_list = grep { $_ ne '' } ("");
@git_base_url_list = (
- "git://git.onelab.eu",
- "ssh://git.onelab.eu/git"
+ "@GITURL@"
);
print "</table>\n";
}
+
sub git_shortlog_body {
# uses global variable $project
my ($commitlist, $from, $to, $refs, $extra) = @_;
href(action=>"commit", hash=>$commit), $ref);
print "</td>\n" .
"<td class=\"link\">" .
- $cgi->a({-href => href(action=>"commit", hash=>$commit)}, "commit") . " | " .
+ $cgi->a({-href => href(action=>"commit", hash=>$commit)}, substr($commit,0,8)) . " | " .
$cgi->a({-href => href(action=>"commitdiff", hash=>$commit)}, "commitdiff") . " | " .
$cgi->a({-href => href(action=>"tree", hash=>$commit, hash_base=>$commit)}, "tree");
my $snapshot_links = format_snapshot_links($commit);
--- /dev/null
+s,@SITENAME@,git.onelab,
+s,@LOGO@,onelab-logo,
+s,@FAVICON@,onelab-favicon,
+s,@LOGOURL@,http://www.onelab.eu,
+s,@LOGOLABEL@,OneLab,
+s,@GITURL@,git://git.onelab.eu,
--- /dev/null
+s,@SITENAME@,git.planet-lab,
+s,@LOGO@,planet-lab-logo,
+s,@FAVICON@,planet-lab-favicon,
+s,@LOGOURL@,http://www.planet-lab.org,
+s,@LOGOLABEL@,PlanetLab,
+s,@GITURL@,git://git.planet-lab.org,