Subversion Repositories bacoAlunos

Compare Revisions

Ignore whitespace Rev 1757 → Rev 1758

/branches/v3/impl/src/web/user/repositoryDocuments/showInterfaceDocsFragment.jsp
58,7 → 58,7
<div class="repository-title clearfix" style="padding-bottom: 4px;padding-top: 4px">
<span class="glyphicon glyphicon-file btn-xs"></span>
<span class="title">${doc.title}</span>
<baco:hasRole role="admin,all,repositoryDocs">
<baco:hasRole role="admin,all,repositoryDocs,repositoryDeposit">
<html:link styleClass="btn btn-xs btn-default pull-right" action="/user/repositoryEditDocument?repositoryDocumentId=${doc.id}" target="_blank">
<span class="glyphicon glyphicon-pencil"></span>
</html:link>
/branches/v3/impl/src/web/user/repositoryDocuments/showInterface.jsp
256,7 → 256,7
</div>
</logic:equal>
 
<baco:hasRole role="admin,all,repositoryDocs">
<baco:hasRole role="admin,all,repositoryDocs,repositoryDeposit">
<logic:notEmpty name="interfaceBlock" property="collectionIds">
<%
if(collections != null && collections.size() == 1 && !interfaceBlock.isTree())
268,7 → 268,15
</html:link>
<%
}
else if(collections != null && collections.size() == 1 && interfaceBlock.isTree())
{
%>
<html:link styleClass="btn btn-success pull-right" action="/user/repositoryEditDocument?repositoryCollectionId=${colToAdd}" target="_blank">
<span class="glyphicon glyphicon-plus"> na Raiz da Colecção</span>
</html:link>
<%
}
%>
</logic:notEmpty>
</baco:hasRole>
<logic:equal value="true" name="interfaceBlock" property="showDescription">