Skip to content

Commit

Permalink
[2366] Removed Auth groups link from footer and added deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed May 1, 2012
1 parent bdc5ca3 commit 3c252f7
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 5 deletions.
6 changes: 6 additions & 0 deletions ckan/templates/authorization_group/authz.html
Expand Up @@ -6,6 +6,12 @@
<py:def function="page_heading">Authorization: ${c.authorization_group_name}</py:def>

<div py:match="content">

<div class="alert alert-error">
Warning: Authorization groups are deprecated and no longer supported. They will be removed
completely on the next CKAN release.
</div>

<h3>Update Existing Roles</h3>

<form id="theform" method="POST">
Expand Down
6 changes: 6 additions & 0 deletions ckan/templates/authorization_group/edit.html
Expand Up @@ -6,6 +6,12 @@
<py:def function="page_heading">Edit: ${c.authorization_group.name if c.authorization_group else ''}</py:def>

<div py:match="content">

<div class="alert alert-error">
Warning: Authorization groups are deprecated and no longer supported. They will be removed
completely on the next CKAN release.
</div>

${Markup(c.form)}
</div>

Expand Down
6 changes: 6 additions & 0 deletions ckan/templates/authorization_group/index.html
Expand Up @@ -7,6 +7,12 @@
<py:def function="page_heading">Authorization Groups</py:def>

<div py:match="content">

<div class="alert alert-error">
Warning: Authorization groups are deprecated and no longer supported. They will be removed
completely on the next CKAN release.
</div>

<p i18n:msg="item_count">There are <strong>${c.page.item_count}</strong> authorization groups.</p>

${c.page.pager()}
Expand Down
6 changes: 6 additions & 0 deletions ckan/templates/authorization_group/new.html
Expand Up @@ -6,6 +6,12 @@
<py:def function="page_heading">New Authorization Group</py:def>

<div py:match="content">

<div class="alert alert-error">
Warning: Authorization groups are deprecated and no longer supported. They will be removed
completely on the next CKAN release.
</div>

${Markup(c.form)}
</div>

Expand Down
6 changes: 6 additions & 0 deletions ckan/templates/authorization_group/read.html
Expand Up @@ -7,6 +7,12 @@
<py:def function="page_heading">${c.authorization_group.name}</py:def>

<div py:match="content">

<div class="alert alert-error">
Warning: Authorization groups are deprecated and no longer supported. They will be removed
completely on the next CKAN release.
</div>

<h3>Members</h3>
<p i18n:msg="item_count">There are ${c.page.item_count} users in this authorization group.</p>
${c.page.pager()}
Expand Down
5 changes: 0 additions & 5 deletions ckan/templates/layout_base.html
Expand Up @@ -176,11 +176,6 @@ <h3 class="widget-title">Sections</h3>
Revisions
</a>
</li>
<li>
<a href="${h.url(controller='authorization_group', action='index')}">
Authorization Groups
</a>
</li>
<li>
<a href="${h.url_for('ckanadmin_index')}">
Site Admin
Expand Down

0 comments on commit 3c252f7

Please sign in to comment.