[DS-546] Change Administrative sitemap to only add Notices generated in the Administrative aspect.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5346 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Robin Taylor
2010-09-14 10:47:58 +00:00
parent 51ca43e15b
commit 55bb789f40

View File

@@ -318,6 +318,7 @@ to administer DSpace.
describe the notice, if they are present then we add them to the DRI document describe the notice, if they are present then we add them to the DRI document
before all other flow pages. before all other flow pages.
--> -->
<map:match pattern="admin/**">
<map:match type="WildcardParameterMatcher" pattern="true"> <map:match type="WildcardParameterMatcher" pattern="true">
<map:parameter name="parameter-name" value="notice"/> <map:parameter name="parameter-name" value="notice"/>
<map:parameter name="notice" value="{flow-attribute:notice}"/> <map:parameter name="notice" value="{flow-attribute:notice}"/>
@@ -328,7 +329,7 @@ to administer DSpace.
<map:parameter name="characters" value="{flow-attribute:characters}"/> <map:parameter name="characters" value="{flow-attribute:characters}"/>
</map:transform> </map:transform>
</map:match> </map:match>
</map:match>
<map:match pattern="admin/not-authorized"> <map:match pattern="admin/not-authorized">
<map:transform type="NotAuthorized"/> <map:transform type="NotAuthorized"/>