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