VIVO-973: make Standard Web Link the default selected option when adding a web page.

This commit is contained in:
Tim Worrall 2015-02-16 14:04:45 -05:00
parent aee276cb13
commit cff62dd0cf

View file

@ -54,9 +54,8 @@
<label for="urlType">${i18n().url_type}${requiredHint}</label>
<#assign urlTypeOpts = editConfiguration.pageData.urlType />
<select name="urlType" style="margin-top:-2px" >
<option value="" <#if editMode == "add">selected</#if>>${i18n().select_one}</option>
<#list urlTypeOpts?keys as key>
<option value="${key}" <#if urlTypeValue == key>selected</#if> >
<option value="${key}" <#if editMode == "add" && urlTypeOpts[key] == "Other">selected<#elseif urlTypeValue == key>selected</#if> >
<#if urlTypeOpts[key] == "F1000 Link">
${i18n().faculty_of_1000}
<#elseif urlTypeOpts[key] == "Other">