page management - added edit icon to page list template

This commit is contained in:
tworrall 2012-06-25 20:23:08 +00:00
parent 7ea00cd5a8
commit 4cf370e116
2 changed files with 6 additions and 4 deletions

View file

@ -35,7 +35,7 @@ th#isMenuPage {
width: 86px;
}
th#iconColumns {
width: 56px;
width: 90px;
}
table#pageList td {
vertical-align: top;

View file

@ -16,7 +16,7 @@
<th scope="col">URL</th>
<th scope="col">Custom Template</th>
<th id="isMenuPage" scope="col" >Menu Page</th>
<th id="iconColumns" scope="col">&nbsp;</th>
<th id="iconColumns" scope="col">Controls</th>
</tr>
</thead>
@ -44,10 +44,12 @@
</#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 individual profile for this page" alt="profile page"></a>
<a href="${urls.base}/editRequestDispatch?subjectUri=${pagex.listedPageUri?url}&switchToDisplayModel=1&editForm=edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.ManagePageGenerator"><img src="${urls.images!}/individual/editIcon.gif" title="edit this page" alt="edit"></a>
&nbsp;&nbsp;
<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>
&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>
<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>
</#if>
</td>
</tr>