Subversion Repositories bacoAlunos

Rev

Rev 1756 | Rev 1759 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1756 Rev 1758
Line 254... Line 254...
254
                                        <span class="btn-xs glyphicon glyphicon-bookmark"></span>
254
                                        <span class="btn-xs glyphicon glyphicon-bookmark"></span>
255
                                        <label <%=styleCol%>>${interfaceBlock.title}</label>
255
                                        <label <%=styleCol%>>${interfaceBlock.title}</label>
256
                                    </div>
256
                                    </div>
257
                                </logic:equal>
257
                                </logic:equal>
258
 
258
 
259
                                <baco:hasRole role="admin,all,repositoryDocs">
259
                                <baco:hasRole role="admin,all,repositoryDocs,repositoryDeposit">
260
                                    <logic:notEmpty name="interfaceBlock" property="collectionIds">
260
                                    <logic:notEmpty name="interfaceBlock" property="collectionIds">
261
                                        <%
261
                                        <%
262
                                            if(collections != null && collections.size() == 1 && !interfaceBlock.isTree())
262
                                            if(collections != null && collections.size() == 1 && !interfaceBlock.isTree())
263
                                            {
263
                                            {
264
                                                request.setAttribute("colToAdd",collections.get(0));
264
                                                request.setAttribute("colToAdd",collections.get(0));
Line 266... Line 266...
266
                                        <html:link styleClass="btn btn-xs btn-success pull-right" action="/user/repositoryEditDocument?repositoryCollectionId=${colToAdd}" target="_blank">
266
                                        <html:link styleClass="btn btn-xs btn-success pull-right" action="/user/repositoryEditDocument?repositoryCollectionId=${colToAdd}" target="_blank">
267
                                            <span class="glyphicon glyphicon-plus"></span>
267
                                            <span class="glyphicon glyphicon-plus"></span>
268
                                        </html:link>
268
                                        </html:link>
269
                                        <%
269
                                        <%
270
                                            }
270
                                            }
-
 
271
                                            else if(collections != null && collections.size() == 1 && interfaceBlock.isTree())
-
 
272
                                            {
-
 
273
                                        %>
-
 
274
                                        <html:link styleClass="btn btn-success pull-right" action="/user/repositoryEditDocument?repositoryCollectionId=${colToAdd}" target="_blank">
-
 
275
                                            <span class="glyphicon glyphicon-plus"> na Raiz da Colecção</span>
-
 
276
                                        </html:link>
-
 
277
                                        <%
-
 
278
                                            }
271
                                        %>
279
                                        %>
272
                                    </logic:notEmpty>
280
                                    </logic:notEmpty>
273
                                </baco:hasRole>
281
                                </baco:hasRole>
274
                                <logic:equal value="true" name="interfaceBlock" property="showDescription">
282
                                <logic:equal value="true" name="interfaceBlock" property="showDescription">
275
                                    <div class="repository-description">
283
                                    <div class="repository-description">