Project

General

Profile

« Previous | Next » 

Revision 0e37c81a

Added by Frédéric Péters almost 14 years ago

Limit agenda to a link on homepage, remove tags & filter

View differences:

extra/modules/root.ptl
999 999
                tags = get_default_event_tags()
1000 1000
            root_url = get_publisher().get_root_url()
1001 1001
            '<h3 id="agenda-link"><a href="%sagenda/">%s</a></h3>' % (root_url, _('Agenda'))
1002
            '<p class="tags">'
1003
            for tag in tags:
1004
                '<a href="%sagenda/tag/%s">%s</a> ' % (root_url, tag, tag)
1005
            '</p>'
1002

  
1006 1003
            if path and path[0] == 'agenda':
1004
                '<p class="tags">'
1005
                for tag in tags:
1006
                    '<a href="%sagenda/tag/%s">%s</a> ' % (root_url, tag, tag)
1007
                '</p>'
1007 1008
                self.agenda.display_remote_calendars()
1008 1009

  
1009
            '<p>'
1010
            '<a href="%sagenda/filter">%s</a>' % (root_url, _('Advanced Filter'))
1011
            '</p>'
1010
                '<p>'
1011
                '  <a href="%sagenda/filter">%s</a>' % (root_url, _('Advanced Filter'))
1012
                '</p>'
1012 1013

  
1013 1014
        '</div>'
1014 1015

  

Also available in: Unified diff