diff options
author | Simo Sorce <ssorce@redhat.com> | 2007-09-20 17:11:01 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2007-09-20 17:11:01 -0400 |
commit | e16e215cddffc28c69a1c55bea408f108027eeac (patch) | |
tree | 301425db2aa0c4bcd409eec38c9b434f46c7d2d8 /ipa-server/ipa-gui/ipagui/templates/groupshow.kid | |
parent | 3fd4b9ba2ce40ff068bdfb8cd5ff3d04d26119aa (diff) | |
parent | fbfefe6b0e5723b79b0f9a3a96f93e9336017fd8 (diff) | |
download | freeipa-e16e215cddffc28c69a1c55bea408f108027eeac.tar.gz freeipa-e16e215cddffc28c69a1c55bea408f108027eeac.tar.xz freeipa-e16e215cddffc28c69a1c55bea408f108027eeac.zip |
Merge with upstream
Diffstat (limited to 'ipa-server/ipa-gui/ipagui/templates/groupshow.kid')
-rw-r--r-- | ipa-server/ipa-gui/ipagui/templates/groupshow.kid | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/ipa-server/ipa-gui/ipagui/templates/groupshow.kid b/ipa-server/ipa-gui/ipagui/templates/groupshow.kid new file mode 100644 index 000000000..48fd36637 --- /dev/null +++ b/ipa-server/ipa-gui/ipagui/templates/groupshow.kid @@ -0,0 +1,50 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" + py:extends="'grouplayout.kid'"> +<head> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/> + <title>View Group</title> +</head> +<body> + <h2>View Group</h2> + + <div class="formsection">Group Details</div> + <table class="formtable" cellpadding="2" cellspacing="0" border="0"> + <tr> + <th> + <label class="fieldlabel" py:content="fields.cn.label" />: + </th> + <td>${group.get("cn")}</td> + </tr> + + <tr> + <th> + <label class="fieldlabel" py:content="fields.description.label" />: + </th> + <td>${group.get("description")}</td> + </tr> + + <tr> + <th> + <label class="fieldlabel" py:content="fields.gidnumber.label" />: + </th> + <td>${group.get("gidnumber")}</td> + </tr> + </table> + + <div class="formsection">Group Members</div> + <div py:for="member in members"> + <?python + member_name = "%s %s" % (member.get('givenname', ''), + member.get('sn', '')) + ?> + ${member_name} (${member.get('uid')}) + </div> + + <br/> + <br/> + + <a href="${tg.url('/groupedit', cn=group.get('cn'))}">edit</a> + +</body> +</html> |