Commit 15af905a authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

show version on about page

parent b4128aa6
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -10,6 +10,8 @@ my %default = (
	admode  => 'deparr',
);

my $dbf_version = qx{git describe --dirty} || 'experimental';

sub redirect {
	my ($self)  = @_;
	my $station = $self->param('station');
@@ -46,7 +48,11 @@ sub geolocation {
sub about {
	my ($self) = @_;

	$self->render( 'about', hide_opts => 1 );
	$self->render(
		'about',
		hide_opts => 1,
		version   => $dbf_version
	);
}

sub privacy {