unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] list-packages: Add an "alt" attribute for the logos.
@ 2013-08-17 19:56 Cyril Roelandt
  2013-08-17 21:39 ` Ludovic Courtès
  2013-08-17 22:56 ` Alex Sassmannshausen
  0 siblings, 2 replies; 3+ messages in thread
From: Cyril Roelandt @ 2013-08-17 19:56 UTC (permalink / raw)
  To: guix-devel

* build-aux/list-packages.scm (package->sxml): add an alternative text for the
  logos of the packages.
---
 build-aux/list-packages.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build-aux/list-packages.scm b/build-aux/list-packages.scm
index a1bea69..3f17b87 100755
--- a/build-aux/list-packages.scm
+++ b/build-aux/list-packages.scm
@@ -115,7 +115,8 @@ exec guile -l "$0"                              \
                     ((? string? url)
                      `(img (@ (src ,url)
                               (height "35em")
-                              (class "package-logo"))))
+                              (class "package-logo")
+                              (alt ("Logo of " ,(package-name package))))))
                     (_ #f))
                  (p ,(package-description package))
                  ,(license package)
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-17 22:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-17 19:56 [PATCH] list-packages: Add an "alt" attribute for the logos Cyril Roelandt
2013-08-17 21:39 ` Ludovic Courtès
2013-08-17 22:56 ` Alex Sassmannshausen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).