diff --git a/NEWS b/NEWS index 699ba8a..5c5aba5 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +1.2.24: April ?, 2008 + * Added rss icon to blog subscribe link. + 1.2.23: April 2, 2008 * Now displaying a thumbnail in the file info box for uploaded image files. * When you click on a link for an image file, a new window opens where you diff --git a/static/css/style.css b/static/css/style.css index 3469b6a..6c5a497 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -650,3 +650,8 @@ img { float: left; cursor: pointer; } + +.rss_image { + vertical-align: middle; + border: 0; +} diff --git a/static/images/rss.png b/static/images/rss.png new file mode 100755 index 0000000..d64c669 Binary files /dev/null and b/static/images/rss.png differ diff --git a/view/Link_area.py b/view/Link_area.py index 0080687..9da623a 100644 --- a/view/Link_area.py +++ b/view/Link_area.py @@ -38,13 +38,18 @@ class Link_area( Div ): class_ = u"link_area_item", ) or None, - ( notebook.name == u"Luminotes blog" ) and Div ( + ( notebook.name == u"Luminotes blog" ) and Div( A( u"subscribe to rss", href = u"%s?rss" % notebook_path, id = u"rss link", title = u"Subscribe to the RSS feed for the Luminotes blog.", ), + A( + Img( src = u"/static/images/rss.png", width = u"28", height = u"28", class_ = u"rss_image" ), + href = u"%s?rss" % notebook_path, + title = u"Subscribe to the RSS feed for the Luminotes blog.", + ), class_ = u"link_area_item", ) or None,