mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Improved group-list
This commit is contained in:
@@ -55,13 +55,13 @@
|
||||
<input class="btn btn-success" type="submit" name="submit_add" value="<fmt:message key="jsp.tools.group-list.create.button"/>" />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<br/>
|
||||
|
||||
<table class="table" summary="Group data display table">
|
||||
<tr>
|
||||
<th class="oddRowOddCol"><strong><fmt:message key="jsp.tools.group-list.id" /></strong></th>
|
||||
<th class="oddRowEvenCol"><strong><fmt:message key="jsp.tools.group-list.name"/></strong></th>
|
||||
<th class="oddRowOddCol"> </th>
|
||||
<th class="oddRowEvenCol"> </th>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
@@ -82,21 +82,18 @@
|
||||
%>
|
||||
<form method="post" action="">
|
||||
<input type="hidden" name="group_id" value="<%= groups[i].getID() %>"/>
|
||||
<input class="btn btn-default col-md-4" type="submit" name="submit_edit" value="<fmt:message key="jsp.tools.general.edit"/>" />
|
||||
<input class="btn btn-default col-md-6" type="submit" name="submit_edit" value="<fmt:message key="jsp.tools.general.edit"/>" />
|
||||
</form>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
</td>
|
||||
<td class="<%= row %>RowEvenCol">
|
||||
<%
|
||||
|
||||
// no delete button for group Anonymous 0 and Administrator 1 to avoid accidental deletion
|
||||
if (groups[i].getID() > 1 )
|
||||
{
|
||||
%>
|
||||
<form method="post" action="">
|
||||
<input type="hidden" name="group_id" value="<%= groups[i].getID() %>"/>
|
||||
<input class="btn btn-danger col-md-4" type="submit" name="submit_group_delete" value="<fmt:message key="jsp.tools.general.delete"/>" />
|
||||
<input class="btn btn-danger col-md-6" type="submit" name="submit_group_delete" value="<fmt:message key="jsp.tools.general.delete"/>" />
|
||||
<%
|
||||
}
|
||||
%>
|
||||
|
Reference in New Issue
Block a user