[ckan-changes] [okfn/ckan] 81db6b: [2366] Removed Auth groups link from footer and ad...
GitHub
noreply at github.com
Tue May 1 17:37:49 UTC 2012
Branch: refs/heads/release-v1.7
Home: https://github.com/okfn/ckan
Commit: 81db6bb54a9e67e9d515074ecc0c29d019faa93b
https://github.com/okfn/ckan/commit/81db6bb54a9e67e9d515074ecc0c29d019faa93b
Author: amercader <amercadero at gmail.com>
Date: 2012-05-01 (Tue, 01 May 2012)
Changed paths:
M ckan/templates/authorization_group/authz.html
M ckan/templates/authorization_group/edit.html
M ckan/templates/authorization_group/index.html
M ckan/templates/authorization_group/new.html
M ckan/templates/authorization_group/read.html
M ckan/templates/layout_base.html
Log Message:
-----------
[2366] Removed Auth groups link from footer and added deprecation notice
diff --git a/ckan/templates/authorization_group/authz.html b/ckan/templates/authorization_group/authz.html
index 12643d2..1c5378c 100644
--- a/ckan/templates/authorization_group/authz.html
+++ b/ckan/templates/authorization_group/authz.html
@@ -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">
diff --git a/ckan/templates/authorization_group/edit.html b/ckan/templates/authorization_group/edit.html
index ade0f54..a404ce2 100644
--- a/ckan/templates/authorization_group/edit.html
+++ b/ckan/templates/authorization_group/edit.html
@@ -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>
diff --git a/ckan/templates/authorization_group/index.html b/ckan/templates/authorization_group/index.html
index a135ac9..281f3d1 100644
--- a/ckan/templates/authorization_group/index.html
+++ b/ckan/templates/authorization_group/index.html
@@ -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()}
diff --git a/ckan/templates/authorization_group/new.html b/ckan/templates/authorization_group/new.html
index 0dbcc2a..1eb973b 100644
--- a/ckan/templates/authorization_group/new.html
+++ b/ckan/templates/authorization_group/new.html
@@ -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>
diff --git a/ckan/templates/authorization_group/read.html b/ckan/templates/authorization_group/read.html
index 01ecec0..3c2c7ba 100644
--- a/ckan/templates/authorization_group/read.html
+++ b/ckan/templates/authorization_group/read.html
@@ -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()}
diff --git a/ckan/templates/layout_base.html b/ckan/templates/layout_base.html
index ca36c86..dedd7b7 100644
--- a/ckan/templates/layout_base.html
+++ b/ckan/templates/layout_base.html
@@ -177,11 +177,6 @@ <h3 class="widget-title">Sections</h3>
</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
</a>
================================================================
More information about the ckan-changes
mailing list