Commit 12d6639c authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Made shared groups links (to group editor) in main roster viewer.

Changed icon for forbidden delete to lock icon.
Hid delete button in roster item view when item has shared groups.
Updated description on top of roster viewer page.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9128 b35dd754-fafc-0310-a699-88a17e54d16e
parent bcd82dc3
......@@ -167,11 +167,13 @@
<input type="submit" value="<fmt:message key="user.roster.edit" />">
</form>
<% if (sharedGroups.isEmpty()) { %>
<form style="display: inline" action="user-roster-delete.jsp">
<input type="hidden" name="jid" value="<%= jid %>">
<input type="hidden" name="username" value="<%= username %>">
<input type="submit" value="<fmt:message key="global.delete" />">
</form>
<% } %>
</body>
</html>
\ No newline at end of file
......@@ -268,7 +268,9 @@
if (count != 0) {
out.print(", ");
}
out.print("<u>"+group.getName()+"</u>");
out.print("<a style='text-decoration: underline' href='group-edit.jsp?group="+URLEncoder.encode(group.getName(), "UTF-8")+"'>");
out.print(group.getName());
out.print("</a>");
count++;
}
}
......@@ -293,7 +295,7 @@
title="<fmt:message key="global.click_delete" />"
><img src="images/delete-16x16.gif" width="16" height="16" border="0" alt="<fmt:message key="global.click_delete" />"></a>
<% } else { %>
<img onclick='alert("<fmt:message key="user.roster.cant_delete" />")' src="images/forbidden-16x16.gif" width="16" height="16" border="0" alt="">
<img onclick='alert("<fmt:message key="user.roster.cant_delete" />")' src="images/lock.gif" width="16" height="16" border="0" alt="">
<% } %>
</td>
</tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment