Skip to content

Commit

Permalink
Fixed #416 — removed announcements completely from cms_project_*
Browse files Browse the repository at this point in the history
  • Loading branch information
brosner committed Aug 27, 2009
1 parent 89cf40c commit 4505512
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 28 deletions.
1 change: 0 additions & 1 deletion pinax/projects/cms_project_company/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@
"pinax.core.context_processors.pinax_settings",

"notification.context_processors.notification",
"announcements.context_processors.site_wide_announcements",
"account.context_processors.openid",
"account.context_processors.account",
)
Expand Down
13 changes: 0 additions & 13 deletions pinax/projects/cms_project_company/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,6 @@
<body>
<div id="color-wrapper">

{% if site_wide_announcements %}
<div id="site_wide_announcements">
<ul>
{% for announcement in site_wide_announcements %}
<li>
<a href="{{ announcement.get_absolute_url }}">{{ announcement }}</a> -
<a href="{% url announcement_hide announcement.pk %}?next={{ request.path }}">{% trans "Hide announcement" %}</a>
</li>
{% endfor %}
</ul>
</div>
{% endif %}

{% block website_title %}{% endblock %}

<div id="outline">
Expand Down
1 change: 0 additions & 1 deletion pinax/projects/cms_project_holidayhouse/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@
"pinax.core.context_processors.pinax_settings",

"notification.context_processors.notification",
"announcements.context_processors.site_wide_announcements",
"account.context_processors.openid",
"account.context_processors.account",
)
Expand Down
13 changes: 0 additions & 13 deletions pinax/projects/cms_project_holidayhouse/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,6 @@
<body>
<div id="color-wrapper">

{% if site_wide_announcements %}
<div id="site_wide_announcements">
<ul>
{% for announcement in site_wide_announcements %}
<li>
<a href="{{ announcement.get_absolute_url }}">{{ announcement }}</a> -
<a href="{% url announcement_hide announcement.pk %}?next={{ request.path }}">{% trans "Hide announcement" %}</a>
</li>
{% endfor %}
</ul>
</div>
{% endif %}

{% block website_title %}{% endblock %}

<div id="outline">
Expand Down

0 comments on commit 4505512

Please sign in to comment.