View | Details | Raw Unified | Return to bug 21626
Collapse All | Expand All

(-)a/about.pl (-1 / +4 lines)
Lines 531-537 if ( defined C4::Context->config('docdir') ) { Link Here
531
}
531
}
532
532
533
## Release teams
533
## Release teams
534
my $teams = LoadFile("$docdir"."/teams.yaml");
534
my $teams =
535
  -e "$docdir" . "/teams.yaml"
536
  ? LoadFile( "$docdir" . "/teams.yaml" )
537
  : {};
535
my $dev_team = (sort {$b <=> $a} (keys %{$teams->{team}}))[0];
538
my $dev_team = (sort {$b <=> $a} (keys %{$teams->{team}}))[0];
536
my $short_version = substr($versions{'kohaVersion'},0,5);
539
my $short_version = substr($versions{'kohaVersion'},0,5);
537
my $minor = substr($versions{'kohaVersion'},3,2);
540
my $minor = substr($versions{'kohaVersion'},3,2);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-14 / +19 lines)
Lines 405-425 Link Here
405
            </ul>
405
            </ul>
406
406
407
            <h2>Koha release teams</h2>
407
            <h2>Koha release teams</h2>
408
            <div class="row">
408
            [% IF maintenance_team %]
409
                <div class="col-md-6">
409
                <div class="row">
410
                    <h3>Koha [% short_version | html %] release team</h3>
410
                    <div class="col-md-6">
411
                    [% IF development_version %]
411
                        <h3>Koha [% short_version | html %] release team</h3>
412
                        <p>You are running a development version of Koha</p>
412
                        [% IF development_version %]
413
                    [% ELSE %]
413
                            <p>You are running a development version of Koha</p>
414
                        [% INCLUDE team t=release_team v='release' %]
414
                        [% ELSE %]
415
                    [% END %]
415
                            [% INCLUDE team t=release_team v='release' %]
416
                </div>
416
                        [% END %]
417
                    </div>
417
418
418
                <div class="col-md-6">
419
                    <div class="col-md-6">
419
                    <h3>Current maintenance team</h3>
420
                        <h3>Current maintenance team</h3>
420
                    [% INCLUDE team t=maintenance_team v=short_version %]
421
                        [% INCLUDE team t=maintenance_team v=short_version %]
422
                    </div>
421
                </div>
423
                </div>
422
            </div>
424
            [% ELSE %]
425
                <div class="dialog alert">
426
                    Could not read the teams.yaml file. Please make sure &lt;docdir&gt; is correctly defined in koha-conf.xml.
427
                </div>
428
            [% END %]
423
429
424
            <h2>Koha development team</h2>
430
            <h2>Koha development team</h2>
425
            [% IF contributors.size %]
431
            [% IF contributors.size %]
426
- 

Return to bug 21626