[dw-free] English-strip /manage/tags
[commit: http://hg.dwscoalition.org/dw-free/rev/7c955007ef2d]
http://bugs.dwscoalition.org/show_bug.cgi?id=381
Don't English-strip internal values
Patch by
wyntarvox.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=381
Don't English-strip internal values
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/js/tags.js
-------------------------------------------------------------------------------- diff -r 39a4a2044669 -r 7c955007ef2d htdocs/js/tags.js --- a/htdocs/js/tags.js Tue May 19 07:56:00 2009 +0000 +++ b/htdocs/js/tags.js Tue May 19 08:03:15 2009 +0000 @@ -120,13 +120,13 @@ function show_props(div, id) if (! tag) tag = [ ml.na_label, ml.na_label, '-', '-', '-', '-', '-' ]; var secimg = ' <img align="middle" src="/img/'; - if (tag[1] == ml.public_label) { + if (tag[1] == "public") { secimg = secimg + "silk/identity/user.png"; } - else if (tag[1] == ml.private_label) { + else if (tag[1] == "private") { secimg = secimg + "silk/entry/private.png"; } - else if (tag[1] == ml.trusted_label) { + else if (tag[1] == "friends") { secimg = secimg + "silk/entry/locked.png"; } else { --------------------------------------------------------------------------------