summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/DBInfoscreen')
-rw-r--r--lib/DBInfoscreen/Controller/Static.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Static.pm b/lib/DBInfoscreen/Controller/Static.pm
index ba2cd89..3985f28 100644
--- a/lib/DBInfoscreen/Controller/Static.pm
+++ b/lib/DBInfoscreen/Controller/Static.pm
@@ -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 {