Skip to content
  • Steven H Johnson's avatar
    64fdb312
    Refactor banner logic and add generic banner usage · 64fdb312
    Steven H Johnson authored
    Banner html is now in banner_tag.html
    The html has the first banner set, so that if javascript is disabled a banner
    is still visible and clickable.
    
    The title/description for a generic banner is set as the document name, but
    the coded views are hardcoded with 'title': 'Title of Page'. So these will
    not easily be changeable by site admins. I could also just not show generic
    views for them. (If a title is not given, or 'show_generic' is not given as
    True, then no generic banner is shown.)
    64fdb312
    Refactor banner logic and add generic banner usage
    Steven H Johnson authored
    Banner html is now in banner_tag.html
    The html has the first banner set, so that if javascript is disabled a banner
    is still visible and clickable.
    
    The title/description for a generic banner is set as the document name, but
    the coded views are hardcoded with 'title': 'Title of Page'. So these will
    not easily be changeable by site admins. I could also just not show generic
    views for them. (If a title is not given, or 'show_generic' is not given as
    True, then no generic banner is shown.)
Loading