Skip to content

Commit a49b7bc

Browse files
committed
new qs
1 parent edf5e57 commit a49b7bc

File tree

7 files changed

+51
-16
lines changed

7 files changed

+51
-16
lines changed

quick-start/quick-start.json

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

quick-start/quick-start/blocks/notifications_roles.ptl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
SetTitle($role_notifics$)
2-
AddToolButton(Title: $send$, Page: notifications_roles_send, Icon: icon-plus)
2+
If(EcosysParam("founder_account")==#key_id#){
3+
AddToolButton(Title: $send$, Page: notifications_roles_send, Icon: icon-plus)
4+
}
35

46
If(GetVar(Search)){
57
SetVar(Where,"notification->type='2' and recipient->role_name='#Search#' and recipient->role_id='#role_id#'")

quick-start/quick-start/blocks/notifications_single.ptl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
SetTitle($single_notifics$)
2-
AddToolButton(Title: $send$, Page: notifications_single_send, Icon: icon-plus)
2+
If(EcosysParam("founder_account")==#key_id#){
3+
AddToolButton(Title: $send$, Page: notifications_single_send, Icon: icon-plus)
4+
}
35

46
If(GetVar(Search)){
57
SetVar(Where,"notification->type='1' and recipient->member_name='#Search#' and recipient->member_id='#key_id#'")

quick-start/quick-start/pages/default_page.ptl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@ If(#ecosystem_id#==1){
1111
Span(Class: h3, Body: "You as Founder hold a complete set of rights for controlling the ecosystem – creating and editing applications, modifying ecosystem parameters, etc. ")
1212
Span(Class: h3, Body: "To get started, you can download the finished applications from the")
1313
Span(Class: h3 text-primary, Body: " https://github.com/GenesisKernel/apps ")
14-
Span(Class: h3, Body: "and install them using the Import service. ")
15-
Span(Class: h3, Body: "The Strong(basic.json) contains applications for managing roles, creating notifications and votings. ")
16-
Span(Class: h3, Body: "Or you can create your own apps using the tools in the Admin tab. ")
17-
Span(Class: h3, Body: "Documentation ")
18-
Span(Class: h3 text-primary, Body: "https://genesiskernel.readthedocs.io")
14+
Span(Class: h3, Body: "and install them using the Import service.")
1915
}
2016
Div(panel-footer text-right clearfix){
2117
Div(pull-left){
Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,28 @@
1-
SetTitle("Marketspace")
1+
If(#ecosystem_id#==1){
2+
SetTitle("")
3+
}.Else{
4+
If(EcosysParam("founder_account")==#key_id#){
5+
Div(content-wrapper){
6+
Div(panel panel-primary){
7+
Div(list-group-item text-center){
8+
P(Class: h3 m0 text-bold, Body: Marketspace)
9+
}
10+
Div(list-group-item){
11+
Span(Class: h3, Body: "The Strong(basic.json) contains applications for managing roles, creating notifications and votings. ")
12+
Span(Class: h3, Body: "Or you can create your own apps using the tools in the Admin tab. ")
13+
Span(Class: h3, Body: "Documentation ")
14+
Span(Class: h3 text-primary, Body: "https://genesiskernel.readthedocs.io")
15+
}
16+
Div(panel-footer text-right clearfix){
17+
Div(pull-left){
18+
Button(Body: Ecosystem parameters, Class: btn btn-default, Page: params_list)
19+
}.Style(margin-right: 20px;)
20+
Div(pull-left){
21+
Button(Body: Dashboard, Class: btn btn-default, Page: admin_dashboard)
22+
}
23+
Button(Body: Import, Class: btn btn-primary, Page: import_upload)
24+
}
25+
}
26+
}
27+
}
28+
}

quick-start/quick-start/pages/profile_edit.ptl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ Div(content-wrapper){
3535
Div(col-md-7 mc-sm text-left){
3636
Div(form-group){
3737
Label(){
38-
Span(Body: LangRes(member_name))
38+
If(Or(#prefix_id#>0,#prefix_id#<0)){
39+
Span(Body: LangRes(member_name))
40+
}.Else{
41+
Span(Body: "Please, assign and save username")
42+
}
3943
Span(Class: text-danger, Body:*)
4044
}
4145
If(Or(#prefix_id#>0,#prefix_id#<0)){
@@ -62,7 +66,7 @@ Div(content-wrapper){
6266
}
6367
}
6468
Div(panel-footer clearfix){
65-
Button(Body: LangRes(save), Class: btn btn-primary pull-right, Page: profile_view, PageParams: "v_member_id=#v_member_id#", Contract: Profile_Edit).Alert(Text: $want_save_changes$, ConfirmButton: $yes$, CancelButton: $no$, Icon: question)
69+
Button(Body: LangRes(save), Class: btn btn-primary pull-right, Page: profile_edit, PageParams: "v_member_id=#v_member_id#", Contract: Profile_Edit).Alert(Text: $want_save_changes$, ConfirmButton: $yes$, CancelButton: $no$, Icon: question)
6670
Button(Body: LangRes(back), Class: btn btn-default pull-right, Page: profile_view, PageParams: "v_member_id=#v_member_id#")
6771
}
6872
}

quick-start/quick-start/struct.dot

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
digraph G {
22
fontsize="24";
3-
label="quick-start\nMonday, 30-Jul-18 13:43:24 +10";
3+
label="quick-start\nSunday, 05-Aug-18 14:44:01 +10";
44
nojustify=true;
55
ordering=out;
66
rankdir=LR;
@@ -27,6 +27,9 @@ size="30";
2727
"ecosystem_new\npage" -> "@1NewEcosystem\ncontract" [ color=red ]
2828
"ecosystem_new\npage" -> "membership_ecosystems\npage" [ color=green ]
2929
"ecosystem_new\npage" [color=green, fontcolor=green, group=pages, shape=record];
30+
"marketspace\npage" -> "params_list\npage" [ color=green ]
31+
"marketspace\npage" -> "admin_dashboard\npage" [ color=green ]
32+
"marketspace\npage" -> "import_upload\npage" [ color=green ]
3033
"marketspace\npage" [color=green, fontcolor=green, group=pages, shape=record];
3134
"keys\ntable" -> "members_list\npage"
3235
"members\ntable" -> "members_list\npage"
@@ -72,6 +75,7 @@ size="30";
7275
"profile_edit\npage" -> "Profile_Edit\ncontract" [ color=red ]
7376
"members\ntable" -> "profile_edit\npage"
7477
"profile_edit\npage" -> "profile_avatar_edit\npage" [ color=green ]
78+
"profile_edit\npage" -> "profile_edit\npage" [ color=green ]
7579
"profile_edit\npage" -> "profile_view\npage" [ color=green ]
7680
"profile_edit\npage" [color=green, fontcolor=green, group=pages, shape=record];
7781
"members\ntable" -> "profile_view\npage"

0 commit comments

Comments
 (0)