From 99cbe06b0d24941fce37a3c3a1f36a1bcd7ea662 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 27 Apr 2015 18:20:21 +0200 Subject: [PATCH] channel-contents: Fix display of last paragraph. The last paragraph states about package installation of the "following" jobs, but it only applies to generic channels, so let's only display it there. Signed-off-by: aszlig --- src/root/channel-contents.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/root/channel-contents.tt b/src/root/channel-contents.tt index 04619903..4335b328 100644 --- a/src/root/channel-contents.tt +++ b/src/root/channel-contents.tt @@ -22,13 +22,13 @@ $ nix-env -i foo $ nix-channel --update $ nix-env -u '*' +[% IF genericChannel %] +

Alternatively, if you have associated the application/nix-package MIME type with the nix-install-package program in your web browser, you can install the package simply by clicking on the packages below.

-[% IF genericChannel %] -

Packages

This channel contains the following packages.