From b904f252475104d3ec92c2a47a1a08e3e120f4c8 Mon Sep 17 00:00:00 2001
From: Eelco Dolstra
Date: Wed, 18 Oct 2017 15:57:43 +0200
Subject: [PATCH] Hide contents links
---
src/root/product-list.tt | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/root/product-list.tt b/src/root/product-list.tt
index f9929a6d..7ae3e0dd 100644
--- a/src/root/product-list.tt
+++ b/src/root/product-list.tt
@@ -95,7 +95,9 @@
should make sure that you have sufficient access rights to
the Nix store, e.g., run the command as root.
[% END %]
- Contents
+ [% IF localStore %]
+ Contents
+ [% END %]
[% IF localStore %]
@@ -206,7 +208,9 @@
Full path: | [% product.path %] |
[% END %]
- Contents
+ [% IF localStore %]
+ Contents
+ [% END %]