`allura.tests.functional.test_admin:TestExport.test_access` among others fails
with:
~~~~
vim +20 allura/templates/login.html # top-level template code
{% extends g.theme.master %}
vim +80 allura/templates/jinja_master/master.html # top-level template code
{{theme_macros.site_notification()}}
vim +127 allura/templates/jinja_master/theme_macros.html # template
{% set note = g.theme.get_site_notification() %}
vim +873 allura/lib/plugin.py # get_site_notification
note = SiteNotification.current()
vim +638 allura/model/notification.py # current
if not note.active:
AttributeError: 'NoneType' object has no attribute 'active'
~~~~
---
** [tickets:#6777] Create a site-wide notification mechanism**
**Status:** in-progress
**Created:** Fri Oct 18, 2013 09:37 PM UTC by Cory Johns
**Last Updated:** Mon Oct 21, 2013 10:34 PM UTC
**Owner:** Cory Johns
It's sometimes useful to present some information to all users in a
semi-persistent fashion, related to the site as a whole. Create a mechanism to
store and present these notifications.
The notifications should be semi-persistent, unlike the existing flash
messages. The notifications should be closable; once closed, they should not
show up for that user again until a new message is in effect. The
notifications should also support a (per message?) configurable number of
impressions per user; after the user has seen the message the specified number
of times, it should no longer be shown to that user.
---
Sent from sourceforge.net because [email protected] is subscribed
to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.