fixed tag category coloring, fixed tag category expiration when updating, work on migration

This commit is contained in:
albert
2011-10-10 17:08:29 -04:00
parent 5fb1a17516
commit e011c36ffe
13 changed files with 228 additions and 11 deletions

View File

@@ -33,7 +33,7 @@ private
def build_list_item(tag, template, options)
html = ""
html << %{<li data-tag-type="#{categories[tag]}" data-tag-name="#{u(tag)}">}
html << %{<li class="category-#{categories[tag]}">}
if CurrentUser.user.is_privileged?
html << %{<a href="/wiki_pages?title=#{u(tag)}">?</a> }