diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-templates.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-templates.tmpl
index 868750c638..533214b8dc 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-templates.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-templates.tmpl
@@ -12,9 +12,9 @@
-
-
+
+
Templates
@@ -59,7 +59,11 @@
-
+
+
+
+
+
diff --git a/labels/label-profiles.pl b/labels/label-profiles.pl
index 2cc9893b00..cc4c9036cb 100755
--- a/labels/label-profiles.pl
+++ b/labels/label-profiles.pl
@@ -23,6 +23,15 @@ my $prof_id = $query->param('prof_id');
#my $creep_horz = $query->param('creep_horz');
#my $creep_vert = $query->param('creep_vert');
+# little block for displaying active layout/template/batch in templates
+# ----------
+my $batch_id = $query->param('batch_id');
+my $active_layout = get_active_layout();
+my $active_template = GetActiveLabelTemplate();
+my $active_layout_name = $active_layout->{'layoutname'};
+my $active_template_name = $active_template->{'tmpl_code'};
+# ----------
+
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
{
template_name => "labels/label-profiles.tmpl",
@@ -44,6 +53,10 @@ if ( $op eq 'delete' ) {
@resultsloop = GetAllPrinterProfiles();
$template->param(
+ batch_id => $batch_id,
+ active_layout_name => $active_layout_name,
+ active_template_name => $active_template_name,
+
resultsloop => \@resultsloop,
);