<%@ taglib uri="webwork" prefix="ui" %>
<%@ taglib uri="webwork" prefix="webwork" %>
<webwork:if test="/versionArchived(.) == true">
    <a href="EditVersionArchives!unarchive.jspa?versionId=<webwork:url value="id" />&pid=<webwork:property value="project/long('id')"/>">
    <font color="999999"><webwork:text name="'admin.manageversions.unarchive'"/></font></a>
</webwork:if>
<webwork:else>
    <a id="edit_<webwork:property value="name" />" href="EditVersionDetails!default.jspa?versionId=<webwork:url value="id" />&pid=<webwork:property value="project/long('id')"/>">
    <webwork:text name="'admin.manageversions.edit.details'"/></a> &nbsp;|&nbsp
    <a id="merge_<webwork:property value="name" />" href="MergeVersions!default.jspa?versionId=<webwork:property value="id" />&pid=<webwork:property value="project/long('id')"/>">
    <webwork:text name="'admin.manageversions.merge'"/></a> &nbsp;|&nbsp
    <webwork:if test="/versionReleased(.) == false">
        <a id="release_<webwork:property value="name" />" href="EditVersionReleases.jspa?versionId=<webwork:url value="id" />&pid=<webwork:property value="project/long('id')"/>">
        <webwork:text name="'admin.manageversions.release'"/></a> &nbsp;|&nbsp
    </webwork:if>
    <webwork:else>
        <a id="unrelease_<webwork:property value="name" />" href="EditVersionReleases!checkUnrelease.jspa?versionId=<webwork:url value="id" />&pid=<webwork:property value="project/long('id')"/>">
        <webwork:text name="'admin.manageversions.unrelease'"/></a> &nbsp;|&nbsp
    </webwork:else>
    <a id="archive_<webwork:property value="name" />" href="EditVersionArchives!archive.jspa?versionId=<webwork:url value="id" />&pid=<webwork:property value="project/long('id')"/>">
    <webwork:text name="'admin.manageversions.archive'"/></a> &nbsp;|&nbsp
    <a id="del_<webwork:property value="name"/>" href="DeleteVersion!default.jspa?versionId=<webwork:url value="id" />">
    <webwork:text name="'common.words.delete'"/></a>
</webwork:else>