From: MORIOKA Tomohiko Date: Wed, 4 May 2016 13:12:00 +0000 (+0900) Subject: (www-display-object-desc): Add link for HNG-card for HNG X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=6b42da066d33dc61167e0fbae36bc7248170c5e0;p=chise%2Fest.git (www-display-object-desc): Add link for HNG-card for HNG representative glyph-images. --- diff --git a/cwiki-view.el b/cwiki-view.el index d8b79f3..2164d60 100644 --- a/cwiki-view.el +++ b/cwiki-view.el @@ -66,7 +66,7 @@ size=\"64\" maxlength=\"256\" value=\"%s\"> without-header logical-feature chise-wiki-displayed-features parents - GlyphWiki-id ret object-spec) + GlyphWiki-id HNG-card ret object-spec) (if (eq level 0) (setq level 1 without-header nil) @@ -160,6 +160,11 @@ li { margin: 0 0 0 2em; } (setq GlyphWiki-id (char-GlyphWiki-id object))) (setq ret (www-format-encode-string (est-format-object object 'readable))) + (setq HNG-card + (if (string-match "\"HNG\\([0-9]+\\)-\\([0-9]+\\)\""%s%s\n" level (if uri-feature-name @@ -169,7 +174,11 @@ li { margin: 0 0 0 2em; } ;; "%s") (www-uri-make-object-url object uri-object) ret) - ret) + (if HNG-card + (format + "%s" + HNG-card ret) + ret)) (if GlyphWiki-id (format " \"%s\""