[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/29: website: packages: Mark GNU packages in the listing.
From: |
Ludovic Courtès |
Subject: |
12/29: website: packages: Mark GNU packages in the listing. |
Date: |
Wed, 6 Dec 2017 09:24:25 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix-artwork.
commit 5e849806edb55fe6eb2068814e183ddc8d13a2db
Author: Ludovic Courtès <address@hidden>
Date: Tue Aug 29 00:09:07 2017 +0200
website: packages: Mark GNU packages in the listing.
* website/apps/packages/templates/components.scm
(detailed-package-preview): Mark
if PACKAGE is a GNU package.
* website/apps/packages/templates/package.scm (package-t): Likewise.
---
website/apps/packages/templates/components.scm | 4 ++++
website/apps/packages/templates/package.scm | 6 +++++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/website/apps/packages/templates/components.scm
b/website/apps/packages/templates/components.scm
index b02bd7e..5224ba2 100644
--- a/website/apps/packages/templates/components.scm
+++ b/website/apps/packages/templates/components.scm
@@ -13,6 +13,7 @@
#:use-module (apps packages utils)
#:use-module (guix licenses)
#:use-module (guix packages)
+ #:use-module (guix gnu-maintenance)
#:export (detailed-package-preview
issue-count->shtml
lint-issue->shtml
@@ -41,6 +42,9 @@
,(package-synopsis-shtml package)))
(p
(@ (class "package-description"))
+ ,(if (gnu-package? package)
+ '(i "This is a GNU package. ")
+ "")
,(package-description-shtml package))
(ul
diff --git a/website/apps/packages/templates/package.scm
b/website/apps/packages/templates/package.scm
index 178a567..20a5937 100644
--- a/website/apps/packages/templates/package.scm
+++ b/website/apps/packages/templates/package.scm
@@ -11,6 +11,7 @@
#:use-module (apps packages templates components)
#:use-module (apps packages types)
#:use-module (apps packages utils)
+ #:use-module (guix gnu-maintenance)
#:export (package-t))
@@ -46,7 +47,10 @@
(@ (class "synopsis"))
,(package-synopsis-shtml package)))
- (p ,(package-description-shtml package))
+ (p ,(if (gnu-package? package)
+ '(it "This is a GNU package. ")
+ "")
+ ,(package-description-shtml package))
(ul
(@ (class "package-info"))
- branch master updated (ae2d020 -> 81db25f), Ludovic Courtès, 2017/12/06
- 02/29: website: packages: Ignore third-party packages., Ludovic Courtès, 2017/12/06
- 04/29: website: utils: 'paginate' correctly handles the case with zero items., Ludovic Courtès, 2017/12/06
- 03/29: website: posts: Add missing tags and harmonize., Ludovic Courtès, 2017/12/06
- 05/29: website: packages: Implement grouping by letter., Ludovic Courtès, 2017/12/06
- 11/29: website: "download", not "test"., Ludovic Courtès, 2017/12/06
- 08/29: website: packages: Fix typo., Ludovic Courtès, 2017/12/06
- 07/29: website: packages: Add the commit in package source URLs., Ludovic Courtès, 2017/12/06
- 12/29: website: packages: Mark GNU packages in the listing.,
Ludovic Courtès <=
- 15/29: website: downloads: Change http to https in alpha.gnu.org URL., Ludovic Courtès, 2017/12/06
- 13/29: website: packages: Correctly compute supported systems., Ludovic Courtès, 2017/12/06
- 10/29: website: Use actual GuixSD screenshots., Ludovic Courtès, 2017/12/06
- 17/29: website: base: Change http to https in 'graphics'., Ludovic Courtès, 2017/12/06
- 19/29: website: base: Change URLs in 'data' from http to https., Ludovic Courtès, 2017/12/06
- 06/29: website: packages: Interpret synopsis/description Texinfo., Ludovic Courtès, 2017/12/06
- 21/29: website: packages: Gracefully deal with empty package descriptions., Ludovic Courtès, 2017/12/06
- 24/29: website: packages: Remove links to package issues., Ludovic Courtès, 2017/12/06
- 18/29: website: base: Change some http to https., Ludovic Courtès, 2017/12/06
- 23/29: website: Hard-code file:// URL root when GUIX_WEB_SITE_LOCAL., Ludovic Courtès, 2017/12/06