You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2017/10/20 13:42:39 UTC
[kibble] 03/03: regen JS
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git
commit a96d563d55f00caba313ed7e1a18b4800c53f8b3
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Fri Oct 20 15:42:24 2017 +0200
regen JS
---
ui/js/kibble.v1.js | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/ui/js/kibble.v1.js b/ui/js/kibble.v1.js
index 4be93d7..69603c3 100644
--- a/ui/js/kibble.v1.js
+++ b/ui/js/kibble.v1.js
@@ -2568,7 +2568,7 @@ memberInvited = function(json, state) {
membershipList = function(json, state) {
var admin, admopt, alink, btn, delopt, dlink, eml, h, inp, isAdmin, len, list, member, q, ref, tr;
- h = new HTML('h3', {}, "Invite a member to this organisation");
+ h = new HTML('h3', {}, "Invite a member to " + userAccount.defaultOrganisation);
state.widget.inject(h, true);
inp = new HTML('input', {
id: "email",
@@ -2584,11 +2584,22 @@ membershipList = function(json, state) {
state.widget.inject(inp);
state.widget.inject(btn);
state.widget.inject(new HTML('hr'));
- list = new HTML('table');
+ h = new HTML('h3', {}, "Current membership of " + userAccount.defaultOrganisation + ":");
+ state.widget.inject(h);
+ list = new HTML('table', {
+ style: {
+ margin: "20px",
+ border: "1px solid #666"
+ }
+ });
ref = json.members;
for (q = 0, len = ref.length; q < len; q++) {
member = ref[q];
- tr = new HTML('tr');
+ tr = new HTML('tr', {
+ style: {
+ borderBottom: "1px solid #666"
+ }
+ });
eml = new HTML('td', {
style: {
padding: "5px"
--
To stop receiving notification emails like this one, please contact
"commits@kibble.apache.org" <co...@kibble.apache.org>.