otwcode/otwarchive — pull request #1181 by sarken (2013-03-18 00:26:49+00:00)
Title: 2066 (3380) Hide Share button when Javascript is disabled

We used to `style="display: none;"` part of the contents for the Share modal to keep the Share code and links from annoying users who have JavaScript disabled. This left us with a non-functioning button. When we rewrote the modal boxes, this meant the Share code and links were no longer visible to any users. This was sad. This pull request hides the non-functioning Share button from users who have disabled JavaScript and allows users with JavaScript enabled to once again access the Share code and links.

It renames the bookmark owner navigation partial, since it was named bookmark_owner_navi.html.erb, and we typically write out the full words, like bookmark_owner_navigation.html.erb. It also renames the selectors for the blurb icon styles because the original `.blurb .icon-selector` format (instead of `.required-tags .icon-selector` or `.status .icon-selector`) led to trouble if those class names were used elsewhere in the blurb (e.g. we use `hidden` to apply `display: none` to elements we want to keep hidden from users who have disabled JavaScript, but the fact that we had set up `.blurb .hidden` to apply an icon to bookmarks hidden by an administrator meant we could no longer use this class for its intended and standard purpose... and I couldn't think of a better name for items hidden by administrators).

Issue for non-functioning button: http://code.google.com/p/otwarchive/issues/detail?id=2066
Issue for missing code and links in modal: http://code.google.com/p/otwarchive/issues/detail?id=3380