page managemnet changes

This commit is contained in:
tworrall 2012-06-24 21:23:12 +00:00
parent 544839906e
commit 54941a201b
8 changed files with 82 additions and 38 deletions

View file

@ -25,8 +25,14 @@
<#-- Link to add a new menu item -->
<#if editable>
<#if addNewMenuItemUrl?has_content>
<p><a class="add-hasElement green button" href="${addNewMenuItemUrl}" title="Add new menu item">Add menu item</a></p>
<form id="pageListForm" action="${urls.base}/editRequestDispatch" method="get">
<input type="hidden" name="typeOfNew" value="http://vitro.mannlib.cornell.edu/ontologies/display/1.1#Page">
<input type="hidden" name="switchToDisplayModel" value="1">
<input type="hidden" name="editForm" value="edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.ManagePageGenerator" role="input">
<input id="submit" value="Add new menu page" role="button" type="submit" >
</form>
<br />
<p class="note">Refresh page after reordering menu items</p>
</#if>
</#if>

View file

@ -44,7 +44,7 @@
</#if>
</td>
<td>
<a href="${urls.base}/individual?uri=${pagex.listedPageUri?url}&switchToDisplayModel=1"><img src="${urls.images!}/profile-page-icon.png" title="view the profile properties for this page" alt="profile page"></a>
<a href="${urls.base}/individual?uri=${pagex.listedPageUri?url}&switchToDisplayModel=1"><img src="${urls.images!}/profile-page-icon.png" title="view the individual profile for this page" alt="profile page"></a>
&nbsp;&nbsp;
<#if !pagex.listedPageCannotDeletePage?has_content >
<a cmd="deletePage" pageTitle=" ${pagex.listedPageTitle!}" href="${urls.base}/deletePageController?pageURI=${pagex.listedPageUri?url}"><img src="${urls.images!}/individual/deleteIcon.gif" title="delete this page" alt="delete"></a>