Opened 13 years ago

Last modified 13 years ago

#8467 closed enhancement

Show tags not only on EDIT page — at Version 1

Reported by: dh1jc Owned by: Alec Thomas
Priority: normal Component: TagsPlugin
Severity: normal Keywords: wiki page
Cc: Ryan J Ollos, Michael Renzmann Trac Release: 0.11

Description (last modified by Ryan J Ollos)

Hi,

I found the tags of a page at the bottom right only on the wiki_edit page. So I changed the code wiki.py to insert the tags not before the "buttons" but behind the wikipage

  • wiki.py

     
    9797            li.append(tag.li(anchor, ' '))
    9898
    9999        insert = tag.ul(class_='tags')(tag.li('Tags', class_='header'), li)
    100         return stream | Transformer('//div[@class="buttons"]').before(insert)
     100        return stream | Transformer('//div[contains(@class,"wikipage")]').after(insert)
    101101
    102102    def _update_tags(self, req, page):
    103103        tag_system = TagSystem(self.env)

Change History (1)

comment:1 Changed 13 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.