<%
  String restoreLink = uicomponent.event(uicomponent.RESTORE_ACTION, uicomponent.versionName);
  String restoreLabel = (uicomponent.isCurrentVersion) ? "" : uicomponent.label;
%>
<a href="javascript:eXo.wiki.UIWikiAjaxRequest.makeHash('#');" rel="tooltip" data-placement="bottom" title="$restoreLabel" class="actionIcon" onclick="$restoreLink">
  <% if (!uicomponent.isCurrentVersion) { %>
    <i class="uiIconRestore uiIconLightGray"></i>
  <% } %>
</a>