diff --git a/about.pl b/about.pl index e95dbc146e..dacd39db2d 100755 --- a/about.pl +++ b/about.pl @@ -531,7 +531,10 @@ if ( defined C4::Context->config('docdir') ) { } ## Release teams -my $teams = LoadFile("$docdir"."/teams.yaml"); +my $teams = + -e "$docdir" . "/teams.yaml" + ? LoadFile( "$docdir" . "/teams.yaml" ) + : {}; my $dev_team = (sort {$b <=> $a} (keys %{$teams->{team}}))[0]; my $short_version = substr($versions{'kohaVersion'},0,5); my $minor = substr($versions{'kohaVersion'},3,2); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt index eae4a805d1..60ce4ac21d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -405,21 +405,27 @@
You are running a development version of Koha
- [% ELSE %] - [% INCLUDE team t=release_team v='release' %] - [% END %] -You are running a development version of Koha
+ [% ELSE %] + [% INCLUDE team t=release_team v='release' %] + [% END %] +