Improve display of news tags
authorMagnus Hagander <magnus@hagander.net>
Sat, 26 Sep 2020 13:42:36 +0000 (15:42 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sat, 26 Sep 2020 13:45:14 +0000 (15:45 +0200)
commit2182b62913844aead1dd72992343ad32299ac4d9
treeac50864e964f28c56e0b69873595599fafb92e33
parentf943e1fdaff04b9af1349fa4c9c53290f77a7943
Improve display of news tags

* Add a fa icon for tags to the buttons that are clicked for news tags,
  to make it more clear what they are.
* Show a badge with the tag on each item when browsing the list.
* Change the buttons to be badges when viewing an individual item, and
  move them to the top of the page instead of the bottom for consistency
  with the listing.

In passing, add some spacing between the header and the text when
viewing a news item, because it looks a lot better.
media/css/main.css
pgweb/news/views.py
templates/news/item.html
templates/news/newsarchive.html