NIHVIVO-144 Style tweaks to front end object property deletion confirmation page.

This commit is contained in:
rjy7 2010-03-26 19:00:41 +00:00
parent f96eb9722d
commit 5b6ee59e77
2 changed files with 3 additions and 3 deletions

View file

@ -70,7 +70,7 @@ public class FrontEndEditingUtils {
if (StringUtils.equalsOneOf(predicateUri, VitroVocabulary.PRIMARY_LINK, VitroVocabulary.ADDITIONAL_LINK)) { if (StringUtils.equalsOneOf(predicateUri, VitroVocabulary.PRIMARY_LINK, VitroVocabulary.ADDITIONAL_LINK)) {
String linkAnchor = getLiteralValue(model, object, VitroVocabulary.LINK_ANCHOR); String linkAnchor = getLiteralValue(model, object, VitroVocabulary.LINK_ANCHOR);
String linkUrl = getLiteralValue(model, object, VitroVocabulary.LINK_URL); String linkUrl = getLiteralValue(model, object, VitroVocabulary.LINK_URL);
displayName = "<a href='" + linkUrl + "'>" + linkAnchor + "</a>"; displayName = "<a class='externalLink' href='" + linkUrl + "'>" + linkAnchor + "</a>";
} }
return displayName; return displayName;

View file

@ -68,7 +68,7 @@ public WebappDaoFactory getUnfilteredDaoFactory() {
if( prop == null ) { if( prop == null ) {
throw new Error("In propDelete.jsp, could not find property " + predicateUri); throw new Error("In propDelete.jsp, could not find property " + predicateUri);
} }
request.setAttribute("propertyName",prop.getDomainPublic()); request.setAttribute("propertyName",prop.getDomainPublic().toLowerCase());
//do the delete //do the delete
if( request.getParameter("y") != null ) { if( request.getParameter("y") != null ) {
@ -158,7 +158,7 @@ public WebappDaoFactory getUnfilteredDaoFactory() {
<input type="hidden" name="objectUri" value="${param.objectUri}"/> <input type="hidden" name="objectUri" value="${param.objectUri}"/>
<input type="hidden" name="y" value="1"/> <input type="hidden" name="y" value="1"/>
<input type="hidden" name="cmd" value="delete"/> <input type="hidden" name="cmd" value="delete"/>
<v:input type="submit" id="submit" value="Delete" cancel="${param.subjectUri}" /> <p class="submit"><v:input type="submit" id="submit" value="Delete" cancel="${param.subjectUri}" /></p>
</form> </form>